Leonardo DiCaprio was originally offered the role of Dirk Diggler. He liked the screenplay, but turned it down because he had already signed on to do Titanic (1997). DiCaprio suggested Mark Wahlberg for the role.
After seeing a rough cut of the film, Burt Reynolds regretted making it and fired his agent for recommending the role to him. Reynolds ended up winning a Golden Globe and being nominated for an Academy Award for his performance.
Before the film was finished, director Paul Thomas Anderson sent a rough copy to New Line Cinema for the film's trailer. The movie was pirated and distributed before the official release. The pirated print includes many scenes not in the movie or DVD deleted scenes. Some were very explicit, and may have been deleted to avoid an NC-17 rating.
According to an interview with Paul Thomas Anderson, he and Burt Reynolds did not get along during filming. Anderson still planned to hire Reynolds for Magnolia (1999), but Reynolds became angry with Anderson during the film's promotional tour and turned the role down.
The sequence where Dirk, Reed, and Todd are at Rahad Jackson's house, an attempted scam involving drugs, a rich and violent man, and a robbery plot that turns into a scene of bloodshed, is a reference to the Wonderland murders that centered around John Holmes and gangster Eddie Nash.
Many 1970s porn stars and porn directors and producers discouraged the film, saying it was inaccurate for the popularity Dirk achieved, and that filming porn was illegal in the late 1970s. One exception was Paul Thomas, a longtime adult film star who became the most successful and respected director in the business, on projects for Vivid Video. He judged the film "pretty accurate" outside of some general details.
Paul Thomas Anderson used Exhausted: John C. Holmes, the Real Story (1981), a documentary about John Holmes, as a reference for some of the scenes in this film. Many interview scenes, including one where a strung-out Dirk tells the interviewer about how Jack allows him to block and edit his own sex scenes, are identical to the interviews in "Exhausted", especially one where a strung-out John Holmes, for no clear reason, lies about how director Bob Chinn allows him to block his own sex scenes.
William H. Macy's character is loosely based on porn actor Cal Jammer, whose girlfriend Adrien was having a secret relationship with actress P.J. Sparxx and another with a male porn actor. Jammer later shot himself in the head on Kelly's front lawn.
Electric Light Orchestra leader Jeff Lynne originally refused to let the song "Livin' Thing" be used in the film because he has "a problem with sex and violence in movies". Lynne asked to see a screening of the film and loved it so much that he allowed the song to be used.
The entire film is based on the short film The Dirk Diggler Story (1988), also by Paul Thomas Anderson. It was a This Is Spinal Tap (1984)-like mockumentary, which would go on to be redone for the short "Dirk Diggler Story" in this film. In the original short film, Robert Ridgely, who plays The Colonel here, played Jack Horner. The man with whom Don Cheadle is talking in the stereo store is Michael Stein, who played Dirk Diggler. The original script was 300 pages, cut down to 180 pages.
The donut shop where Buck Swope encounters the robbery is Miss Donuts on Sherman Way between Lindley Ave. and Reseda Blvd. Further down the street is a church that used to be a boxing ring and rock club. The nightclub exterior scenes were filmed there. The Reseda Theatre, the nightclub, the church, the dirt parking lot, the donut shop, and the storefront where the kid gets beaten up are all on Sherman Way between Reseda and Lindley.
Although the movie's title is the same as the 1977 disco hit by Heatwave, the group's lead singer, Johnny Wilder Jr., a devout born-again Christian, refused to allow the song in the movie because it was about dancing, not pornography.
In a deleted scene, Dirk Diggler crashes his Corvette into a telephone booth. The scene was deleted because of time, but the car still remains wrecked when Dirk visits Rahad Jackson's house, drives away, and drives back to Jack's house. When Dirk and Reed are conspiring to rob Rahad's house, Dirk says, "That'll be enough to get the 'Vette fixed."
Dirk Diggler's habit of preparing for his scenes in the bathroom is based on John Holmes, who said he liked to rehearse in bathrooms because "it's usually the only room in the house that has a lock on the door".
Although Amber Waves' actual name is never stated in the film, it's clear that her real first name is Maggie. During the party scene, Amber's young son, whom her ex-husband has forbidden her to have contact with due to her work in porn and drug use, calls her house asking for her. Maurice Rodriguez tries to find her, but can't because he and the people he asks at the party don't know that Maggie and Amber are the same person. Her ex-husband later calls her as Maggie during their custody hearing.
Burt Reynolds said in a Maxim magazine interview that he researched his role by visiting porn sets and talking with real porn actors. He said the experience made him want to wear rubber gloves and take a shower afterward, and all the porn actors asked him how to get a Screen Actors Guild card.
When Dirk Diggler proposes the idea of a serial porn detective story to Jack, Dirk says, "I don't want to do stuff like Holmes is doing with his Johnny Wadd character, hitting women and stuff. That just ain't right." This leads the viewer to believe that Dirk and Holmes are rivals in the industry, not that Dirk is a direct representation of Holmes.
When Floyd Gondoli tries to pitch Jack on changing to video, The Colonel is laughing in the back of the shot. He starts right when Floyd describes his sexual turn-ons. Paul Thomas Anderson blurred the shot.
Dirk's first character is named John, a reference to real-life porn legend John Holmes, upon whom Dirk's character was based. Dirk mentioned that he had just came back from the Marines; Holmes spent some time in the Army.
Set between 1977 and 1984. Among other things, Jack Horner calls Buck and Jessie's baby "an Olympic swimmer", and Dirk Diggler's outfit in the final scene is identical to the kind of clothes that Don Johnson wore on Miami Vice (1984).
Jack Horner tells Kurt, 'Switch the title card, I want it to come flying right out of the screen, right at the audience!' and Kurt replies 'Nice! Piece of cake!' Kurt is played by Ricky Jay, an expert at magic and card tricks who makes playing cards) fly across a stage with speed and accuracy.
Paul Thomas Anderson:
The opening scene is three minutes long, taken in a single camera shot, beginning in the street where Jack Horner and Amber Waves drive up and following them as they get out of the car and walk into a nightclub. Most of the characters are introduced in that shot.
The trivia items below may give away important plot points.
At the end of the movie Dirk is standing in front of a mirror. Suddenly he unzips his pants and exposes his rather large organ. It is a prosthetic device made from rubber. This prop was kept by Mark Wahlberg as a souvenir from the film. It was made from an easily biodegradable rubber and foam combination which, according to Wahlberg, has since already begun to deteriorate.
At the end of the film, T.T. Rodriguez and his brothers' sign for the nightclub is misspelled as Rodriquez. This joke wasn't planned in advance. Paul Thomas Anderson misspelled Rodriguez in the screenplay and decided to make the scene funny.
Paul Thomas Anderson originally included a sequence where Becky Barnett's new husband beat her up, and she called Dirk Diggler for help. Dirk said he would meet her, but was so high on drugs that he crashed his Corvette and ended up forgetting about Becky altogether. Anderson felt Becky's ordeal reflected real-life stories about porn actresses marrying ordinary civilians who later became jealous, angry, and violent over their new wives' pasts in porn. He cut the scene and decided to end Becky's story on an upbeat note: happily married, being wished well by her friends in the business, and ready to move with her new husband to a new life.
According to the DVD commentary, Paul Thomas Anderson intended for further scenes involving Rahad Jackson. After the bloody attempted robbery of his home, the police arrive, and Rahad gathers his weapons, ready to go out in a blaze of gunfire.
During Rollergirl's final scene, she cleans her room while wearing headphones. The song she listens to is "Voices Carry" by 'Til Tuesday. The lead singer, Aimee Mann, is married to Michael Penn, who performed original music for the film, and appears briefly as a music producer for Dirk and Reed.