40 Days and 40 Nights is a 2002 satirical erotic romantic comedy film directed by Michael Lehmann, written by Rob Perez, and starring Josh Hartnett, Shannyn Sossamon and Paulo Costanzo. The film depicts Matt Sullivan, a San Francisco web designer who has chosen to abstain from any sexual contact for the duration of Lent. Plot Matt Sullivan lives in San Francisco with his roommate Ryan, working at a dot-com company. His obsession with his ex-girlfriend Nicole causes him sexual dysfunction with other women, which he confides to his brother John, a Catholic priest-in-training. After disastrously trying to fake an orgasm with a date, Matt learns that Nicole is now engaged. Hoping to resolve his issues, he vows to abstain from sexual stimulation, including masturbation, for the 40 days of Lent. On the first day of his celibacy, Matt purges his apartment of items of temptation and reminders of Nicole. He befriends a stranger named Erica at a laundromat, despite being unable to speak to her. Unbeknownst to Matt, his coworkers and Ryan start a pool to bet on how long he can last, which soon spreads online. He revisits the laundromat to see Erica, who reveals she works as a “cyber nanny” filtering internet pornography. They share an emotional connection, and Matt takes Erica on a date riding the city bus, but awkwardly avoids kissing her. They both discover his coworkers’ betting pool, complete with its own website. Matt tries to explain his intentions, but Erica remains upset, and Matt’s boss decides to join him in celibacy. Having fallen for Matt, she agrees to another date, where they run into Nicole and her fiancé. Frustrated by Matt’s vow and his feelings for Nicole, Erica leaves him. Struggling with his urges, Matt is forced to endure his coworkers’ attempts to sabotage him. He turns to his brother for help, but even a family dinner results in their parents discussing their own sex life. By Day 35 of Matt’s vow, the pool has reached $18,000, and a colleague convinces him to give in. As Matt marches into the bathroom to masturbate, he discovers his boss – who accidentally had a Viagra-spiked drink intended for Matt – masturbating in the next stall. With the entire office waiting, Matt escapes through the bathroom window and goes to Erica. They reconcile and spend a night of intimacy together without actual intercourse. On Day 38, Matt