"I don't want to be a good girl anymore," Kathryn Hahn states in the trailer for "Mrs. Fletcher."

HBO's upcoming comedy is based on a novel by Tom Perrotta ("The Leftovers") and stars Hahn as an empty nest divorcée named Eve. After she sends her son Brendan (Jackson White) off to college, Eve experiences a sexual reawakening. She starts having intense fantasies, watching porn, hooking up via dating apps, and even tries spanking.

Eve is attempting to reinvent her life to find the happiness and sexual fulfillment that’s eluded her in the past.

The pilot episode was written by Perrotta and directed by Nicole Holofcener (who received an Oscar nomination for co-writing "Can You Ever Forgive Me?").

The show gives Hahn, a veteran character actress, a leading role after the end of Amazon's "I Love Dick." She'll also appear in the "Transparent" musical series finale.

"Mrs. Fletcher" is slated to premiere on HBO this fall.