The 90-minute BBC One show, which starts filming in London next spring, is based on Dahl's book Esio Trot.
Hoffman plays the retired bachelor Mr Hoppy, who is secretly in love with his neighbour Mrs Silver, played by Dame Judi, who lavishes all her affection on her pet tortoise Alfie.
BBC One controller Charlotte Moore said: "It's an honour to have Dame Judi Dench and Dustin Hoffman starring in this wonderful new adaptation. It's absolutely stellar casting for one of the nation's favourite children's classics."
COMMENT RULES: Comments that are judged to be defamatory, abusive or in bad taste are not acceptable and contributors who consistently fall below certain criteria will be permanently blacklisted. The moderator will not enter into debate with individual contributors and the moderator’s decision is final. It is Belfast Telegraph policy to close comments on court cases, tribunals and active legal investigations. We may also close comments on articles which are being targeted for abuse. Problems with commenting? email@example.com
You have an opportunity to make money from your handiwork. This is a great time to show the fruits of your labour to a publisher, gallery manager or boutique owner. If you enjoy cooking, devise a delicious recipe that is easy to enjoy on the go. So few people have time to treat themselves to a good meal. By providing them with nutritious food that can be taken anywhere, you'll make a big profit.More