Steven Moffat thought that Amy would want a big wedding with a lot of dancing. In the script it was written that the Doctor was a "terrible dancer" and danced like a "drunk giraffe", and Matt Smith additionally came up with his own routine.
The opening sequence featuring young Amelia is filmed from her height, and was inspired by Steven Spielberg films in which people would look at things in awe.
The scene in which the Doctor gives a final speech to young Amelia was not filmed with Matt Smith and Caitlin Blackwood on the same set. Smith's dialogue was shot first in the bedroom set, while the corner with the bed was recreated and filmed with Blackwood as a pick-up. Blackwood fell asleep during filming.
Steven Moffat named this episode as his personal favourite among the episodes he wrote. "I thought it was just a great, fun, funny, witty episode. I was proud of that."
Originally there was a scene after the four had been reunited in the museum where Amy had a "meltdown" and Rory assured her it was okay; this was cut due to pacing issues, which pleased Arthur Darvill as he disliked his performance in the scene.