The NBC sitcom's co-star, producer and writer will leave the show as Kelly Kapoor for her brand new series The Mindy Project on Fox.
However, she explained while appearing at the Television Critics Association that she will return for at least one more episode before she leaves.
"I'll definitely be in the first episode next season and probably at least one other one too, which I'm really excited about," she said.
She added: "I got attached to that character. It's fun to see what's going to happen to Kelly."
Kaling and James Spader are the only regulars not to return for the upcoming ninth season, though BJ Novak will be reduced to recurring.
The actress also revealed that her Office co-star Ed Helms may appear as a love interest in her new show, and that Greg Daniels will direct one episode.
Watch a trailer for The Mindy Project below: