Anne Hathaway was clandestinely given the script, as director Lone Scherfig was not looking at any American actresses for the part of Emma. Hathaway flew to London for a meeting with Scherfig, which she described as "the worst meeting of my life. I was just inarticulate." However, on leaving Lone, she handed her a list of songs that she felt represented how she would interpret the character. It was this list that landed her the part.
Anne Hathaway picked Jim Sturgess for the role of Dexter Mayhew.
There were some conversations about casting an American actress to play Dexter's English mother, but director Lone Scherfig really liked the sense of experience, worldliness and flirtatiousness that Patricia Clarkson brought to the part.
The scene where Dex and Emma go skinny-dipping is the only scene in the film where Anne Hathaway and Jim Sturgess were not wearing wigs.
On-location in Scotland, Anne Hathaway exposed her bottom to Jim Sturgess to set the mood for filming the skinny dipping scene. Though doing it in such a position as to avoid being filmed by the crew, she did not anticipate the presence of several cell-phone-wielding residents of the residential complex behind her. Surprisingly, as of August 2011, this footage had not been posted on the Internet, and Hathaway says she is grateful that the residents had the "class" to refrain from doing so.