The character "Patrick Healy" is also the name of an associate producer involved with this film. It is also the name of the National District Attorneys' Association spokesman in the book, "Fear and Loathing in Las Vegas" by Dr. Hunter S. Thompson.
After the financial losses suffered from Kingpin (1996), the Farrely brothers thought their next film would probably be their last. So they decided to go all out and deliver the most hysterically black comedy they could dream up. When There's Something About Mary (1998) became a box-office smash hit, the Farrely's careers were safe to continue.
Lee Evans' British accent in the movie was characterized by a film critic as quite possibly the worst fake British accent in a movie he had ever heard. Lee Evans' is in fact British. However the accent he used in this film was overly exaggerated for the role.
The dialogue between Mary and Ted about how there aren't enough meats on sticks was originally written for an episode of Seinfeld (1989) that never aired. The Farrelly Brothers liked it and bought it for use in the movie.
The studio was initially reluctant to allow Ben Stiller - the Farrelly Brothers' first choice - to star, so the brothers decided upon a then unknown Owen Wilson instead. When the studio was even more reluctant to let Wilson star, they agreed to allow the Farrellys to cast Stiller.
The waterfront house in which Mary lives in Miami was destroyed in 2008 by a construction accident that killed two people and injured five others. A crane collapsed at a nearby 40-story condominium under construction going through the roof of the house. The developer had originally designed to incorporate the house to be part of the property of the condominium development. As a result of the accident and the 2008 housing recession, the condominium never opened.
Cameron Diaz's father was on set during filming, so the Farrellys decided to throw him in the movie. In the scene where Ben Stiller is released from prison after being wrongfully accused of murder, Cameron's dad is the inmate in the front with a beard and long hair jeering at Ben.
Ted brings Warren a baseball autographed by Tony Conigliaro. Conigliaro played for the Boston Red Sox in the 60s and was seriously injured when he was hit in the face by a pitched fastball, echoing Warren's accident in the previous montage.
The high school scene in the beginning was shot at Plantation's City Hall in Florida. Upon seeing a rough cut of the film, and displeased with the raunchiness, city council members requested that Plantation not be acknowledged in the credits.
The scene with the homosexuals is staged in a South Carolina Rest Stop (with South Carolina trooper decals and uniforms). This is based on a real case where Troopers discovered that the stops where being used as meeting places for homosexuals to meet and have anonymous sex. The troopers learned this after arresting a South Carolina state official "in the act" at one of the stops.
One detective in the scene at the police station with Ben Stiller says, "I'm Detective Stabler, this is Detective Krevoy." These names are a reference to the film's producers, Steven Stabler and Brad Krevoy.
Although the identity of Brett Favre as Mary's previous boyfriend "Brett" is kept secret throughout the film, a clue to his identity is provided by Mary's friend who refers to him as "Pacman". At the time, Favre played for the Green Bay Packers.
There is an entire sub-plot cut from the original release involving Healey's friend, Sulley, where he is a Policeman and recovering drug addict/alcoholic. He has been clean for 19 months, however, after being re-aquainted with Healey he returns to drugs and is eventually eaten by his own pet python. This sub-plot is reinserted into the Extended Cut.
In the scene where Pat Healy (Matt Dillion) says to Mary, "I just wish they made movies like they used to make. You know, classics like the Karate Kid." Matt Dillion starred with Ralph Macchio who played the protagonist of The Karate Kid in the 1984 film 'The Outsiders.'