''40 Days and 40 Nights'' is a 2002 romantic comedy film directed by Michael Lehmann, written by Rob Perez and starring Creator/JoshHartnett, Shannyn Sossamon, Paulo Costanzo, and Vinessa Shaw.

Matt Sullivan (Hartnett), after a bad breakup and finding out his ex-girlfriend Nicole (Shaw) is now engaged to be married to another man, decides to give something up for Lent: namely, [[CelibateHero any form of sex]], including [[ADateWithRosiePalms keeping himself company]]. When his friends find out, they make a SideBet that he won't make it, which eventually goes viral with people online betting as to what day and manner in which he'll break the vow. Things go a bit awry when he meets Erica (Sossamon), the girl of his dreams, soon after.

!!This film contains examples of:

%%* AllWomenAreLustful
* AlmightyJanitor: The bagel guy (played by [[Series/TheAdventuresOfPeteAndPete Michael Maronna]]) seems to know ''everything''. Incidentally, he's how Matt found out about Nicole's engagement.
* TheBet: What day and act Matt will break his vow of celibacy to.
* BettyAndVeronica: Erica (brunette but nice) and Nicole (blonde but not so nice).
%%* BlackComedyRape
* BoyMeetsGirl: Part of the movie's plot.
* CheekCopy: One of Matt's female co-workers uses this to try to seduce him.
%%* ChristianityIsCatholic
* ColdTurkeysAreEverywhere: ...but do not expect the same results if attempted in the real world if you are not [[MrFanservice Josh Hartnett]].
** Also {{invoked}}, as his female co-workers don't like the thought of him [[AllWomenArePrudes upsetting the amount of sexual power that women have in relationships]] and try to get him to break his vow for a cut of the betting pool.
* ADateWithRosiePalms: Jerry, Matt's boss, ends up doing this in the office bathroom after drinking orange juice laced with Viagra (which was meant for Matt by another co-worker).
* DestructoNookie: [[spoiler:After Matt's Lent vow is complete...let's just say he and Erica need to stock up on some essentials]].
* DirtyOldMan: Matt's boss Jerry, whose wife doesn't put out like she used to.
* DoubleStandardRapeFemaleOnMale: [[spoiler:Nicole rapes Matt when he's asleep and handcuffed to his bed, thus winning the bet and forcing him to apologize for it. Nobody in the movie calls her out on it, and the only person who's upset about it is Erica, who's angry at ''Matt'']].
* EroticDream: [[spoiler:During his final day of Lent, Matt has a dream of flying over a field made of breasts, and then seeing Erica laying naked atop a washing machine in a laundromat]].
* EroticEating: Matt catches a glimpse of a random woman eating a banana a...''certain'' way.
%%* FallingInLoveMontage
* {{Fanservice}}: Buckets of it, thanks mostly to MaleGaze.
* GagPenis / RagingStiffie: In the last few days of Lent, Matt's knocking things off of the table when he turns.
* GirlOnGirlIsHot: Two of Matt's female co-workers pull this to try and get Matt to crack.
* GirlPosse: There's one at Matt's workplace.
* GRatedSex: [[spoiler:Matt and Erica engage in this using a flower]].
%%* HandsomeLech: Matt
* TheImmodestOrgasm:
** Early in the film, Matt fakes an orgasm with his date. [[NoSell She isn't convinced]].
** Matt also overhears Ryan and a girl having sex.
* ItsNotYouItsMe: Matt tells Erica something like this when trying to explain his vow of celibacy.
* {{Jerkass}}: Pretty much most of the supporting cast. Matt's priest brother John doesn't support or help him stay celibate. Some of Matt's co-workers try to get Matt to break his vow through a number of ways. And [[spoiler:Nicole rapes him]].
* KarmaHoudini: [[spoiler:Nicole, as mentioned, rapes Matt and gets the pooled money, and just skankily saunters off into the night]].
* TheLoinsSleepTonight: What kick-starts the plot, since Matt has Nicole (or, more accurately, her recent engagement) stuck in his head.
* LoopholeAbuse : Erica and Matt agree "it doesn't count."
* TheModestOrgasm: [[spoiler:Erica has one after Matt [[GRatedSex blows a flower across her body]]]].
* TheMole: Ryan reports on Matt's activities during Lent.
%%* NatureAdoresAVirgin
* NoHuggingNoKissing: And [[ADateWithRosiePalms no masturbating]].
* ParallelPornTitles: Ryan finds a tape of ''[[Film/IndianaJonesAndTheTempleOfDoom In Diana Jones and the Temple of Poon]]''.
%%* RapePortrayedAsRedemption
* TheUnfairSex: Paired with NotWhatItLooksLike, forcing [[spoiler:Matt to beg Erica's forgiveness for having been '''raped''']].
%%* ZettaiRyouiki