David Burtka, who plays Lilly's ex Scooter, was Neil Patrick Harris's real life boyfriend at the time this episode aired. They are now married.
After they get married, Marshall asks Lily if she smoked and she says no. Allegedly, in real life, Jason Segel was a smoker and Alyson Hannigan helped him quit because she didn't like kissing him.
This episode, (Something Borrowed), and the subsequent one, "Something Blue", mirror the "Something Old" and "Something New" episodes one season 8.
When Marshall says that "I'm gonna go find that money under the rock by the tree and go live with the guys on the beach in Zihuatanejo" is a reference to the movie 'The Shawshank Redemption'.