Soon afterward, he became producer and writer for "The Office" on NBC, for which he wrote ten episodes and won the 2006 Emmy Award for Outstanding Comedy Series. Schur appeared on "The Office" as Dwight's cousin Mose in several episodes, including "Initiation", in which Dwight takes Ryan to his beet farm, "Money", in which Jim and Pam spend a night at the farm, "The Deposition", "Koi Pond", "Counseling" and "Finale". He also co-wrote "The Office: The Accountants" webisodes with Paul Lieberstein.