'The Mindy Project'

Chicagoan Ike Barinholtz and Mindy Kaling on "The Mindy Project." (September 11, 2012)

After years spent making her mark as a writer and performer on "The Office," Mindy Kaling is branching out with her own show. A hospital workplace comedy that knowingly tackles rom-com cliches, "The Mindy Project" debuts at 8:30 p.m. Sept. 25 on Fox and is one of the most talked-about new sitcoms of the fall season. And like so many major comedies currently on television, you'll find a Chicagoan deeply rooted in the mix.

Last seen this past spring playing a Russian baseball pitcher with an attitude problem and a janky haircut on Season 3 of HBO's "Eastbound & Down," Chicago native and former "MADtv" cast member Ike Barinholtz, 35, is both a writer and a co-star. He plays a lunkhead nurse to Kaling as a romantically challenged OB-GYN.

Born in the Rogers Park neighborhood and raised in Lakeview (where his parents still live), Barinholtz found his way into comedy after a less-than-successful one-year stint at Boston University. "I wanted to do something, and I didn't know what," he said by phone from Los Angeles last week. "I moved home, and I remember I went to see the iO 15th anniversary show at The Vic and (remember) being blown away by it and telling my dad, 'I want to take an improv class.'"

Not even 20 years old at the time, Barinholtz spent his days working for the CTA. ("We did everything from put up maps in trains to driving (former CTA head) Valerie Jarrett around.") At night he was performing at iO and the Annoyance and working as an usher at Second City. "Every night I got to see Tina Fey, Rachel Dratch, Scott Adsit — all these amazing performers. I feel like that was my comedy college. I learned how to improvise, I learned how to write sketches, I learned how to perform, I learned how to drink."

Three years later, he landed a spot with the renowned Amsterdam-based sketch comedy company Boom Chicago (where he performed with Seth Meyers, Jason Sudeikis and Jordan Peele — all of whom have ties to the Chicago comedy scene and are Barinholtz's friends) before moving to LA, where he was hired as a cast member on "MADtv." He was with the Fox late-night sketch show for five years.

Though LA has been home since 2000, Barinholtz remains strongly connected to Chicago. "Out of the 72 kids that I went to high school with, I still talk to 25 of them on a fairly regular basis. Seven of my classmates live in LA, and five of them are in the entertainment business, and we constantly talk and play fantasy football together."

After leaving "MADtv," he refocused his energies on writing. "It was a little scary for a while. All of a sudden you're not on a TV show." If "The Mindy Project" is as successful as critics predict, that won't be a problem for many years to come.

Our conversation below was edited for space.

Q: What kind of work have you been doing since leaving "MADtv" in 2007?

A: I've been doing a lot of writing with my writing partner, who is actually another Chicagoan named Dave Stassen (who also writes for "The Mindy Project"). We went to high school together at Latin on North and Clark, and we moved out here to Los Angeles together.

We were developing a couple different TV shows, including one for Sony, but nothing was really happening. We wrote a couple of movies and sold one to Universal that we developed for Ed Helms and Will Ferrell that, at any given point, it was going to happen, and then the next day it's like, 'Oh, it's not going to happen.' So it was kind of roller-coastery.

And then Mindy came along.

Q: Were you friends with Mindy?

A: I wasn't. I actually auditioned for "The Mindy Project" early on as an actor for the Chris Messina part (as one of Kaling's love interests) and didn't get it. (Jokingly) Still a little bitter about it.

When "Eastbound & Down" aired in spring, she started tweeting about the show. And one night she tweeted: "Am I crazy, or is the Russian weirdo on 'Eastbound & Down' kind of cute?" (The actual tweet, posted in March, read: "Okay am I really weird or is Ivan on Eastbound & Down as portrayed by @ikebarinholtz hot?") And I tweeted: "Oh, you're so not crazy. That's a totally normal, legitimate thought."

(Sometime later) my agent showed the pilot of "The Mindy Project" to me and my writing partner, and we really connected to it. You know how sometimes romantic comedies put a premium on the romance but not the comedy? I feel like her whole mentality is: Funny first. She's like this little hurricane of comedy. We met with her and really hit it off, so we were brought on board as writers. Or, the fancy term is "executive story editors."

Q: Did the Twitter exchange basically get you the job?

A: If I hadn't been on "Eastbound & Down" we would have been randoms among the dozens and dozens of people that she met with to start filling out her writing staff. I remind my writing partner of that every day: We are only here because I had a mullet on "Eastbound & Down."

Q: How did that evolve to include a role on the show?