Kelsey Grammer will direct the CBS comedy pilot My Ex-Life, which revolves around the lives of two divorced couples.
Tom Cavanagh and Gillian Vigman have already been cast.
Grammer, a four-time Emmy winner for his title role on NBC's Frasier, directed about three dozen episodes of the long-running comedy series and earned a DGA nomination for the segment Merry Christmas, Mrs. Moskowitz. Last year, he directed the pilot for CBS's comedy series Out of Practice.
He will return to the big screen in Fox's X-Men 3: The Last Stand, which opens May 26.