Kal Penn Kal Penn

Kal Penn is moving to CBS.

The House alum has joined the cast of Ex-Men, a comedy pilot from How I Met Your Mother's Rob Greenberg, TVGuide.com has learned.

CBS' Ex-Men comedy pilot casts its lead

The single-camera comedy focuses on a young guy (Paranormal Activity 3's Chris Smith) who finds camaraderie living among the more experienced men he meets in a short-term rental complex. Penn, a co-lead on the series, will play Gil, who was caught having the world's worst affair and now lives in the complex until he can convince his wife to take him back.

Penn is well-known for portraying Dr. Lawrence Kutner on Fox's House, along with playing one of the two titular roles in the Harold and Kumar franchise. His other credits include a stint on How I Met Your Mother as Robin's love interest Kevin, 24 and the lead in the comedy pilot Prairie Dogs, which failed to garner a pickup at ABC this season.

CBS orders Ex-Men comedy pilot

Greenberg will write and direct the pilot, with Eric and Kim Tannenbaum (Two and a Half Men) attached as executive producers.