In March 2017, Kaling announced that the show's sixth season, due to air starting September 2017, would be the last.In November 2016, ABC Studios announced that Kaling and Ed Weeks, a co-star of The Mindy Project, would be executive producers of an ABC network comedy series written by Weeks and Hannah Mackay.
She is the creator and star of the television sitcom The Mindy Project, which premiered on Fox and later moved to Hulu; Kaling also serves as a writer and executive producer on the series.
Kaling is also known for her work on the popular NBC sitcom The Office, where she portrayed the character Kelly Kapoor.
Initially, Withers and Kaling had, "for their own entertainment, mockingly pretend to be the best friends Matt Damon and Ben Affleck; that pretending spawned Matt & Ben, the goofy play that reimagined how Damon and Affleck came to write the movie Good Will Hunting." In 2004, when The Office producer Greg Daniels was working to adapt The Office from the BBC show of the same name, he hired Kaling as a writer-performer after reading a spec script she wrote. If anything feels phony or lazy or passé, she’ll pounce on it." She wrote "Niagara," for which she was co-nominated for an Emmy with Daniels. Her contract was set to expire at the end of Season 7.
On September 15, 2011, she signed a new contract to stay with the show for Season 8 and was promoted to full executive producer.
She is featured on the CD Comedy Death-Ray and guest-wrote parts of an episode of Saturday Night Live in April 2006.