<Tr> <Td> </Td> <Td> The Office theme The song was written by Jay Ferguson and performed by The Scrantones . </Td> </Tr> <Tr> <Td_colspan="2"> Problems playing this file? See media help . </Td> </Tr> <P> The theme song for The Office was written by Jay Ferguson and performed by The Scrantones . It is played over the title sequence, which features scenes of Scranton, various tasks around the office and the main cast members . Some episodes of the series use a shortened version of the theme song . Starting with the fourth season, the theme song is played over the closing credits, which previously rolled in silence . The exteriors of buildings in the title sequence are actual buildings in Scranton, Pennsylvania, and were shot by cast member John Krasinski . The mockumentary format of the show contains no laugh track, and most of the music is diegetic, with songs either sung or played by the characters or heard on radios, computers, or other devices . However, songs have been played during montages or the closing credits, such as "Tiny Dancer" by Elton John ("The Dundies") and "Islands in the Stream" by Kenny Rogers and Dolly Parton ("E-mail Surveillance"). Featured music tends to be well known, and often songs reflect the character, such as Michael's attempt to seem hip by using "Mambo No. 5" and later "My Humps" as his cell phone ringtone . Daniels has said that it does not count as film score as long as it already appeared in the episode . </P> <P> The Office employs an ensemble cast . Many characters portrayed by The Office cast are based on the original British series . While these characters normally have the same attitude and perceptions as their British counterparts, the roles have been redesigned to better fit the American show . The show is known for its generally large cast size, with many of its actors and actresses known particularly for their improvisational work . Steve Carell stars as Michael Scott, regional manager of the Dunder Mifflin Scranton Branch . Loosely based on David Brent, Gervais's character in the British series, Scott is a well - intentioned man whose attempts at humor, while seemingly innocent to himself, often offend and annoy his peers and employees, and in some situations lead to reprimanding from his superiors . Rainn Wilson portrays Dwight Schrute, who, based upon Gareth Keenan, is a salesman and the assistant to the regional manager, a fictional title created by Michael . John Krasinski portrays Jim Halpert, a salesman and, in later seasons, co-manager who is often known for his wittiness and his hijinks on Schrute (often accompanied by Pam Beesly). Halpert is based upon Tim Canterbury, and is known to have feelings for Pam, the receptionist . Pam, played by Jenna Fischer, is based on Dawn Tinsley . She is shy, but in many cases a cohort with Jim in his pranks on Dwight . B.J. Novak portrays Ryan Howard, who for the first two seasons is a temporary worker but is promoted to sales representative in the third season . He later ascends to the position of vice president, North East Region and director of new media until his treachery was exposed for corporate fraud and he was fired . After this, he gets a job in a bowling alley and then briefly works for the Michael Scott Paper Company . After all this, and a stint in rehab, he eventually ends up again as the temporary worker at the Scranton branch . </P>

Who wrote the theme song to the office