2012 Shanghai Rolex Masters – Singles

Novak Djokovic defeated the two-time defending champion Andy Murray in the final, 5–7, 7–6(13–11), 6–3 to win the singles tennis title at the 2012 Shanghai Masters. Djokovic saved five championship points en route to the title (all in the second set), and ended Murray's perfect 12–0 record at the event. The final was voted as the best ATP World Tour match of the 2012 season.

Seeds
The top eight seeds receive a bye into the second round. • # Roger Federer (semifinals)

• # 🇷🇸 Novak Djokovic (champion)

• # 🇬🇧 Andy Murray (final)

• # 🇨🇿 Tomáš Berdych (semifinals)

• # 🇫🇷 Jo-Wilfried Tsonga (quarterfinals)

• # 🇷🇸 Janko Tipsarević (third round)

• # 🇦🇷 Juan Mónaco (second round)

• # 🇺🇸 John Isner (third round)

• # 🇪🇸 Nicolás Almagro (first round)

• # Marin Čilić (quarterfinals)

• # 🇫🇷 Richard Gasquet (second round)

• # 🇨🇦 Milos Raonic (second round)

• # Stanislas Wawrinka (third round)

• # 🇯🇵 Kei Nishikori (second round)

• # 🇫🇷 Gilles Simon (second round)

• # 🇩🇪 Philipp Kohlschreiber (second round)

Seeds
• # 🇦🇺 Marinko Matosevic (qualified)

• # 🇦🇺 Matthew Ebden (first round)

• # 🇺🇸 Brian Baker (qualified)

• # 🇪🇸 Guillermo García López (qualifying competition)

• # Lu Yen-hsun (qualified)

• # 🇯🇵 Tatsuma Ito (qualifying competition)

• # 🇵🇱 Łukasz Kubot (qualified)

• # Grega Žemlja (qualifying competition)

• # 🇷🇺 Alex Bogomolov Jr. (qualified)

• # 🇺🇦 Sergiy Stakhovsky (qualifying competition)

• # 🇩🇪 Philipp Petzschner (qualified)

• # 🇩🇪 Michael Berrer (qualified)

• # Jimmy Wang (qualifying competition)

• # 🇹🇭 Danai Udomchoke (qualifying competition)

Qualifiers
• # 🇦🇺 Marinko Matosevic

• # 🇩🇪 Philipp Petzschner

• # 🇺🇸 Brian Baker

• # 🇷🇺 Alex Bogomolov Jr.

• # Lu Yen-hsun

• # 🇩🇪 Michael Berrer

• # 🇵🇱 Łukasz Kubot