Question: what season of the office did michael leave
Answer: `` Goodbye , Michael '' , also known as `` Goodbye Michael Scott '' , is the twenty - second episode of the seventh season of the American comedy series The Office and the show 's 148th episode overall .