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
A spiritual connection with the one you love is empowering. It feels wonderful to be with someone who shares your beliefs and values. Together, you can create a meaningful life. One of you may decide to break away from a conventional job for the sake of more rewarding work. The other will be in charge of creating financial stability. Be sure to express appreciation for each other's contributions. You make a great team. Best of all, you generate powerful chemistry.More