'The Doctors ' episode was Capaldi 's final appearance on Twelfth Doctor .
On 30 January 2017 , Capaldi announced he would be leaving the programme , with the 2017 Christmas episode , `` The Doctors '' , being his last.
Twelfth Doctor