Jenna Fischer has been cast in Matt LeBlanc’s CBS comedy pilot, Variety has learned. “The Office” alum will play the “Friends” star’s on-screen wife.

Fischer’s character is Andi, the wife of Adam (LeBlanc), who decides she wants to go back to her job as a medical lab technician, so Adam agrees to take over the parenting chores while she’s at work. The untitled multicam comedy revolves around LeBlanc’s character, a contractor who learns that raising his kids is more challenging than expected when his wife goes back to work.

A popular sitcom star, Fischer courted many comedy offers this pilot season before closing on LeBlanc’s pilot. Her decision likely came as the hot project is a frontrunner for a full series order, as it landed a hefty series commitment, meaning LeBlanc will receive a large penalty if it doesn’t go to series.

Matt Cook has also been cast in the pilot as a dad at Adam’s school, and Grace Kaufman has been cast as Adam and Andi’s oldest child.

LeBlanc will also exec produce the project hailing from CBS TV Studios. Michael Rotenberg, plus scribes Jeff and Jackie Filgo, are also EPs. Comedy vet James Burrows, who worked with LeBlanc on “Friends,” will direct the pilot.

Currently starring in NBC’s “You, Me and the Apocalypse,” Fischer starred on “The Office” for eight seasons. Fischer is repped by WME, Odenkirk Provissiero Entertainment and attorney Harris Hartman at Sloane Offer Weber Dern.