This episode has two directors, Colin Teague and Graeme Harper. Teague was injured after falling down some stairs and some scenes with Martha in the episode were finished off by Harper.
This episode was planned to be broadcast live to the crowds attending Pride London in Trafalgar Square via a giant screen. However, a local curfew after the nearby attempted terrorist bombing the previous day prevented the screening. Freema Agyeman and John Barrowman attended the event.
The final scene with Jack was written to include dialogue between him and the Doctor which playfully poked fun at the opening voice-over of Torchwood (2006). This was removed because it was felt to be too metatextual.
Leo Jones was also intended to appear in Last Of The Time Lords, welcoming Martha back to Britain and introducing her to Milligan. This had to be changed due to Reggie Yates' scheduling conflicts, which meant that he could only spare one recording day. Dialogue now referred to Leo working in the Master's slave force under an assumed name, although it was dropped from the final edit.
The is the only regular season finale of the Russell T. Davies era that doesn't feature the Daleks in any capacity (however, they are mentioned in The Sound of Drums (2007) when The Doctor and The Master discuss the Time War).