The show’s official site reveals that Walliams will feature in “a spooky episode playing a character called Gibbis”.
Walliams comments: “I am a huge fan of Doctor Who and am so looking forward to working with Matt Smith and running up and down some corridors with him.”
The comedian first revealed his casting in the Series 6 episode on BBC Radio 2 earlier this month.
Toby Whithouse has previously written the Doctor Who episodes ‘The Vampires Of Venice’ and ‘School Reunion’.