The pregnancy was "an unexpected surprise," a source told E! online.
The 38-year-old "The Mindy Project" star and creator has previously been candid about eventual motherhood, writing in her 2015 book 'Why Not Me?' that she worries about things like, "I will never have a husband and all my female acquaintances will," and "What if my kids are really young when I die because I waited too long to have them?"
Kaling told Yahoo! Style that same year, "I think I've decided that unlike everything else in my life, I'm going to be fast and loose about kids. I'm going to not actively plan, but if it happens, it would happen.