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? firstname.lastname@example.org
Powerful emotions are causing you to call some friendships into question. You're tired of being treated like a second class citizen. Someone who constantly cancels plans at the last minute does not value your time. It may be time to part ways. Don't worry about being alienated. A social butterfly like you will never be lonely. The important thing is to be discerning about the company you keep. Surround yourself with caring, attentive people who support you in good times and bad.More