Getting the actors to play professional-looking tennis proved much more difficult than anticipated. Eventually, it was decided to film them performing the strokes and digitally add the ball afterwards.
Scenes for the film were filmed during the Wimbledon tournament 2003. The actors would walk out on court at the beginning or end of a match as though they were really competing. The officials and spectators were actual tennis officials and spectators, rather than extras. It is the only time in the history of the tournament that this has been allowed.
The movie cast professional, but little known tennis players to play against the stars. In the directors commentary, Richard Loncraine shared that he met an up-and-coming female tennis player but rejected her as she looked too similar to Kirsten Dunst. She was Maria Sharapova, before she went on to win several Grand Slam Titles, including Wimbledon.
The story of a Croatian tennis player, Goran Ivanisevic is actually quite similar to the one in the movie. He is the only person to win the men's singles title at Wimbledon as a wildcard. He achieved this in 2001, having previously been runner-up at the championships in 1992, 1994 and 1998. Before the 2001 tournament, he was ranked 125th, and after his victory he was 16th.
Wimbledon features actors who have appeared throughout Marvel's cinematic universe for different studios. Kirsten Dunst, who plays Lizzie Bradbury, was Mary Jane Watson in Sam Raimi's Spider-Man trilogy for Sony. James McAvoy, who plays Carl Colt, is currently the young Charles Xavier for Twentieth Century Fox's X-Men franchise. Jon Favreau played Happy Hogan and directed Iron Man for Paramount. Paul Bettany, who plays Peter Colt, played The Vision in Avengers: Age of Ultron for Disney and also voices Jarvis in many iron man films.