Even though “My Name Is Earl” is dead, creator-exec producer Greg Garcia didn’t have long to mourn: The scribe has already landed a put pilot at Fox.

Single-camera half-hour will revolve around a 25-year-old who winds up having to raise an infant with the help of his quirky family. The kid was the result of a one-night stand with a woman who ended up on death row for murder.

Twentieth Century Fox TV, where Garcia is in the middle of an overall deal, is behind the project. Garcia is about to start writing the script.

“It’s kind of in the world that ‘Earl’ inhabited,” Garcia said. “The same type of people. And with ‘Yes, Dear,’ I enjoyed writing about families and raising children. So I came up with this idea, which in a way combines those two things.”

In the new show, the young father clashes with his parents — who are in their 40s, having become parents themselves as teenagers.

“Their hearts are in the right place, but they have no idea what they’re doing whatsoever,” Garcia said.

Project reunites Garcia with Fox Entertainment prexy Kevin Reilly, who originally greenlit “My Name Is Earl” when he held the same job at NBC.

“We’d been wanting to do something together, but I didn’t have the time while I was running ‘Earl,’ ” Garcia said.

Garcia first considered pitching the still-untitled project as a movie. But when “Earl” was canceled, Garcia decided to rethink it as a TV series.

“I went around to pitch it, and Fox liked it enough that they agreed to shoot it,” he said. “I like the idea of being able to get my crew back together, perhaps in the fall.”

Noting that “Earl” also dealt with dysfunctional families, Garcia said he believes there’s something relatable when it comes to writing about such relationships.

Garcia said he’s still saddened that “Earl” ended so abruptly after four seasons on NBC.

“There’s a lot of disappointment and frustration at how it ended,” he said. “But after that, we looked for a new home and tried to make it economically work, but it didn’t work out. We unfortunately had to finally call it a day. Everyone tried.”