Jenna Fischer has been cast in Matt LeBlanc’s CBS comedy pilotVariety 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 multi-cam 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.

Hailing from CBS TV Studios, LeBlanc will also exec produce, in addition to starring. Michael Rotenberg, plus scribes Jeff and Jackie Filgo, are also EPs. Comedy vet James Burrows, who worked with LeBlanc on “Friends,” will direct the pitlot.

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.