By James Hibberd
Updated July 08, 2014 at 09:15 PM EDT
Credit: Gregg DeGuire/WireImage

Sean Hayes is returning to Thursday nights.

The actor-producer has joined the cast of CBS’ The Millers where he will be a series regular for the show’s second season. Hayes will play Kip Withers, Carol Miller’s (Margo Martindale) new best friend and a new source of friction for her son Nathan (Will Arnett). “After years of being a fan and hearing from others how wonderful he is to work with, I couldn’t be more excited about Sean Hayes joining The Millers,” series creator Greg Garcia said in a statement. “The thought of he and Margo Martindale as BFF’s makes me smile every time I think about it. We’re only just getting started, and writing this season’s stories has been a blast.”

Hayes was on Thursday nights last season in the short-lived NBC sitcom Sean Saves the World, and is best known for his Emmy-winning role for eight seasons starring in Will & Grace. His other recent credits include NBC’s Smash and Up All Night. The Millers was considered CBS’ most promising new comedy last season, and it was given a lead-in from The Big Bang Theory, the biggest comedy on TV.