Judy Greer is heading to Showtime.

The Married grad has been tapped to star opposite Jim Carrey in the premium cable network's straight-to-series comedy Kidding.

Carrey stars as Jeff (aka Mr. Pickles), an icon of children's TV, a beacon of kindness and wisdom to America's impressionable young minds and the parents who grew up with him — and who also anchors a multimillion-dollar branding empire. But when his family (his wife, two sons, sister and father) begins to implode, Jeff finds no fairy tale or fable or puppet will guide him through this crisis, which advances faster than his means to cope.

Greer will take on the role of Jill, Jeff's estranged wife who has recently hit a rebellious streak. She joins a Kidding cast that includes Catherine Keener and Frank Langella.

The 10-episode half-hour comedy reunites Carrey with his Oscar-winning Eternal Sunshine of the Spotless Mind writer-director Michel Gondry, who will helm the series, as well as with I'm Dying Up Here co-executive producer Dave Holstein, who created the new series. The show is being produced in-house at Showtime.

Greer's credits include FX comedy Married and animated favorite Archer, Hulu's Casual, features Ant-Man and the Wasp, The 15:17 to Parris, Jurassic World and The Descendants. Greer is repped by CAA, Principato-Young and Felker Toczek.