<Tr> <Td_colspan="2"> The Office (U.S. season 7) List of The Office (U.S. TV series) episodes </Td> </Tr> <P> "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 . It originally aired on NBC in the United States on April 28, 2011 . In the episode, Michael prepares to leave for Colorado with Holly and spends his last day in the office saying goodbye to everyone individually, wanting no drama to ensue . Meanwhile, new manager Deangelo and Andy try to keep Michael's biggest clients . </P> <P> The episode was written by series developer and executive producer Greg Daniels and was directed by Paul Feig . It marks the final appearance of Steve Carell as a series regular having announced he was leaving the series near the end of the sixth season . The episode aired in an extended 50 - minute timeslot, having originally been meant to be a two - parter combined with the previous episode, "Michael's Last Dundies". The episode featured guest appearances from Will Ferrell and Amy Ryan, and Andy Buckley appeared in a deleted scene . </P> <P> "Goodbye, Michael" was met with critical acclaim from critics and fans and is considered one of the best episodes of The Office . The later seasons that followed this airing received criticism for a decline in quality, and multiple critics believed that the episode could have served as a potential series finale . In a poll conducted by fansite OfficeTally, the episode was named the best episode of the seventh season . The episode was viewed by 8.416 million viewers and received a 4.2 rating / 11% share in the 18--49 demographic, making it the third - highest - rated episode of the season among adults between ages 18 and 49 . It later received two Primetime Emmy Award nominations for Carell and Daniels' work on the episode . </P>

Steve carell's last episode on the office
find me the text answering this question