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
It feels like friends are few and far between. If you're not getting the help you need, ask why. It may be because you have been so preoccupied with work. Skipping special occasions and failing to return phone calls causes resentment. You have to be more engaged to sustain loving bonds. Call someone you've missed. It may take a few tries, but it's worth the effort. Be forthright about why you have been out of touch. Communication is the cornerstone of every healthy relationship.More