Adam Herz wrote the screenplay, tentatively titled "Untitled Teenage Sex Comedy That Can Be Made For Under $10 Million That Most Readers Will Probably Hate But I Think You Will Love", in six weeks using "Porky's" and "Bachelor Party" as inspiration. Principal photography on the film, now titled "Great Falls", begun on July 21 and wrapped on September 11, 1998. The film originally received an NC-17 rating from the Motion Picture Association of America until edits were made to secure an R rating. During the casting of the film, Bill Murray was considered for the role of Noah Levenstein, Jim's dad. When Eugene Levy was cast, he insisted on being allowed to improvise his lines, as he disliked how his character was written in the script. In the final film, most of his lines were improvised.