Because of the controversy over gay marriage in the United States, this episode had a Parental Discretion Advised warning before the show, the first (and so far, only) time for The Simpsons. The episode was also rated TV-14 for suggestive dialogue (D) and sexual situations (S).
In Australia, this episode was rated an M and included a "parental advisory: adult themes" warning.
The title is a reference to the film There's Something About Mary.
The couch gag is a reference to the NHL hockey lockout.
Veronica sings a couple lines of the Aerosmith song "Dude (Looks Like a Lady)".
After Barney takes the beer he says "as the Roadrunner says to the coyote, meep, meep!".
Howell Huser is a parody of long time public access host of "California's Gold", Huell Howser.
The song playing in the background as the gay couples celebrate their togetherness in Springfield is a parody of several Harry Belafonte songs, particularly his signature "Banana Boat Song". Although Belafonte is straight, his name is dropped in the line "I'm gonna marry my Harry in Springfield town."
Although Homer stopped being homophobic in Homer's Phobia and even lived together with two openly homosexual men in Three Gays of the Condo he still can be seen holding a sign "Death before gay marriage".
Reverend Lovejoy is unable to cite the book in the Bible condemning homosexuality (allegedly Genesis, Leviticus and others), yet in Homer the Heretic he is able to cite a completely random Bible verse of Homer's choosing from memory (Matthew 21:17).