Question: what episode does michael scott leave?
Answer: Goodbye, Michael. Episode no. "Goodbye, Michael" is the twenty-second episode of the seventh season of the American comedy series The Office and the show's 148th episode overall.