HBO has given a pilot order to an untitled comedy toplined by Sarah Silverman.

The single-camera laffer stars Silverman as a pathologically honest woman having a modern mid-life crisis.

Lucy Prebble, a playwright whose film credits include “Enron” the “The Effect,” penned the pilot script and is exec producing with Silverman, Ash Atalla, Amy Zvi and Dan Hine.

Silverman is coming off an Emmy win this year, for writing in a variety special, for her 2013 HBO comedy spesh “We Are Miracles.” She ranks as one of the biz’s most prominent comedians, but she’s also recently branched out into drama.

Silverman logged a guest stint in the second season of Showtime’s “Masters of Sex,” and she stars as a self-destructive wife and mother in the indie feature “I Smile Back,” set to debut at the Sundance film fest next month.

Silverman had a three-season run as the star of Comedy Central’s “The Sarah Silverman Program” from 2007-2010.

She’s repped by CAA, Thruline and Ziffren Brittenham.