40 Days and 40 Nights is a 2002 romantic comedy film directed by Michael Lehmann, written by Rob Perez and starring Josh Hartnett, Shannyn Sossamon and Paulo Costanzo. The film depicts the life of Matt Sullivan, who abstains from any sexual contact for the duration of Lent.