Matt Smith, who plays the Doctor, was seen reading a Beano summer special from 1981 in an episode aired on April 6, The Rings Of Akhaten.
Publishers were inundated with messages from fans and decided to reprint the 32-page comic, including it free inside a special edition of The Beano which is now on sale.
The front cover features a caricature of Matt Smith and Dennis the Menace making short work of a Dalek.
Editor-in-chief Mike Stirling said: "Everyone at The Beano was delighted to see one of our summer specials appear on Doctor Who. We're big fans of the show and so are our readers, who haven't stopped talking about it.
"Some of the strips are colour while some are black and white. We've stayed true to the original summer special so that our readers can really find out what The Beano was like more than 30 years ago.
"We hope Matt Smith and the whole Doctor Who team love this issue. We're giving every child the opportunity to travel back in time, just like the Doctor."
The latest edition is part of a series of specials being published this year to mark The Beano's 75th anniversary, which it celebrates in July.