Time and the Rani is the first serial of the 24th season of the British science fiction television series Doctor Who, which was first broadcast in four weekly parts from 7 to 28 September 1987. It was the first to feature Sylvester McCoy as the Seventh Doctor.