# 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)

## Draw
### Key

* Q = Qualifier
* WC = Wild card
* LL = Lucky loser
* Alt = Alternate
* SE = Special exempt
* PR = Protected ranking
* ITF = ITF entry
* JE = Junior exempt
* w/o = Walkover
* r = Retired
* d = Defaulted
* SR = Special ranking

### Finals

| Quarterfinals | Quarterfinals | Quarterfinals | Quarterfinals | Quarterfinals | Semifinals | Semifinals | Semifinals | Semifinals | Final | Final | Final | Final | Final |
| 1 | Roger Federer | 6 | 6 | | | | | | | | | | |
| 10 | Marin Čilić | 3 | 4 | | | | | | | | | | |
| 10 | Marin Čilić | 3 | 4 | | 1 | Roger Federer | 4 | 4 | | | | | |
| | | | | | 3 | Andy Murray | 6 | 6 | | | | | |
| 3 | Andy Murray | 4 | 6 | 6 | 3 | Andy Murray | 6 | 6 | | | | | |
| | Radek Štěpánek | 6 | 2 | 3 | | | | | | | | | |
| | Radek Štěpánek | 6 | 2 | 3 | | | | | 3 | Andy Murray | 7 | 6$^{11}$ | 3 |
| | | | | | | | | | 2 | Novak Djokovic | 5 | 7$^{13}$ | 6 |
| 5 | Jo-Wilfried Tsonga | 3 | 6$^4$ | | | | | | | | | | | 2 | Novak Djokovic | 5 | 7$^{13}$ | 6 |
| 4 | Tomáš Berdych | 6 | 7$^7$ | | | | | | | | | | |
| 4 | Tomáš Berdych | 6 | 7$^7$ | | 4 | Tomáš Berdych | 3 | 4 | | | | | |
| | | | | | 2 | Novak Djokovic | 6 | 6 | | | | | |
| | Tommy Haas | 3 | 3 | | 2 | Novak Djokovic | 6 | 6 | | | | | |
| 2 | Novak Djokovic | 6 | 6 | | | | | | | | | | |

### Top half
#### Section 1

| First round | First round | First round | First round | First round | Second round | Second round | Second round | Second round | Second round | Third round | Third round | Third round | Third round | Third round | Quarterfinals | Quarterfinals | Quarterfinals | Quarterfinals |
| | | | | | 1 | R Federer | 6 | 7 | | | | | | | | | | |
| Q | Y-h Lu | 6 | 6 | | Q | Y-h Lu | 3 | 5 | | | | | | | | | | |
| WC | Z Zhang | 0 | 2 | | | | | | | 1 | R Federer | 4 | 7$^7$ | 6 | | | | |
| | D Istomin | 4 | 6 | 6 | | | | | | 13 | S Wawrinka | 6 | 6$^4$ | 0 | | | | |
| | C Berlocq | 6 | 2 | 1 | | D Istomin | 4 | 6 | 4 | | | | | | | | | |
| | A Ramos | 6$^1$ | 6$^5$ | | 13 | S Wawrinka | 6 | 4 | 6 | | | | | | | | | |
| 13 | S Wawrinka | 7$^7$ | 7$^7$ | | | | | | | | | | | | 1 | R Federer | 6 | 6 |
| 10 | M Čilić | 7 | 6 | | | | | | | | | | | | 10 | M Čilić | 3 | 4 |
| Q | Ł Kubot | 5 | 3 | | 10 | M Čilić | 7 | 6 | | | | | | | | | | |
| | T Bellucci | 3 | 4 | | | M Kližan | 5 | 1 | | | | | | | | | | |
| | M Kližan | 6 | 6 | | | | | | | 10 | M Čilić | 4 | 6 | 6 | | | | |
| | F Verdasco | 6 | 6 | | | | | | | | F Verdasco | 6 | 1 | 4 | | | | |
| | G Soeda | 2 | 4 | | | F Verdasco | 6 | 6 | | | | | | | | | | |
| | | | | | 7 | J Mónaco | 4 | 2 | | | | | | | | | | |

#### Section 2

| First round | First round | First round | First round | Second round | Second round | Second round | Second round | Second round | Third round | Third round | Third round | Third round | Third round | Quarterfinals | Quarterfinals | Quarterfinals | Quarterfinals | Quarterfinals |
| | | | | 3 | A Murray | w/o | | | | | | | | | | | | |
| | B Tomic | 4 | 0 | | F Mayer | | | | | | | | | | | | | |
| | F Mayer | 6 | 6 | | | | | | 3 | A Murray | 6 | 6 | | | | | | |
| | A Dolgopolov | 6 | 6 | | | | | | | A Dolgopolov | 2 | 2 | | | | | | |
| | J Chardy | 3 | 2 | | A Dolgopolov | 6 | 6 | | | | | | | | | | | |
| | J Melzer | 4 | 2 | 15 | G Simon | 3 | 4 | | | | | | | | | | | |
| 15 | G Simon | 6 | 6 | | | | | | | | | | | 3 | A Murray | 4 | 6 | 6 |
| 11 | R Gasquet | 6 | 6 | | | | | | | | | | | | R Štěpánek | 6 | 2 | 3 |
| Q | B Baker | 2 | 3 | 11 | R Gasquet | 4 | 4 | | | | | | | | | | | |
| | R Štěpánek | 7 | 6 | | R Štěpánek | 6 | 6 | | | | | | | | | | | |
| WC | L Hewitt | 5 | 1 | | | | | | | R Štěpánek | 6 | 6$^5$ | 6 | | | | | |
| | J Nieminen | 2 | 6$^4$ | | | | | | 8 | J Isner | 4 | 7$^7$ | 3 | | | | | |
| | K Anderson | 6 | 7$^7$ | | K Anderson | 6$^3$ | 7$^{10}$ | 6$^7$ | | | | | | | | | | |
| | | | | 8 | J Isner | 7$^7$ | 6$^8$ | 7$^9$ | | | | | | | | | | |

### Bottom half
#### Section 3

| First round | First round | First round | First round | Second round | Second round | Second round | Second round | Second round | Third round | Third round | Third round | Third round | Third round | Quarterfinals | Quarterfinals | Quarterfinals | Quarterfinals |
| | | | | 5 | J-W Tsonga | 7$^9$ | 7 | | | | | | | | | | |
| | B Paire | 7$^7$ | 6 | | B Paire | 6$^7$ | 5 | | | | | | | | | | |
| Q | P Petzschner | 6$^2$ | 4 | | | | | | 5 | J-W Tsonga | 6 | 7$^7$ | | | | | |
| | F Fognini | 2 | 2 | | | | | | | M Baghdatis | 2 | 6$^2$ | | | | | |
| | M Baghdatis | 6 | 6 | | M Baghdatis | 7$^7$ | 6$^5$ | 7$^7$ | | | | | | | | | |
| Q | M Matosevic | 6$^4$ | 3 | 12 | M Raonic | 6$^4$ | 7$^7$ | 6$^3$ | | | | | | | | | |
| 12 | M Raonic | 7$^7$ | 6 | | | | | | | | | | | 5 | J-W Tsonga | 3 | 6$^4$ |
| 14 | K Nishikori | 6 | 6 | | | | | | | | | | | 4 | T Berdych | 6 | 7$^7$ |
| WC | D Wu | 2 | 4 | 14 | K Nishikori | 6 | 1 | 4 | | | | | | | | | |
| | S Querrey | 6 | 6 | | S Querrey | 2 | 6 | 6 | | | | | | | | | |
| WC | Z Li | 3 | 1 | | | | | | | S Querrey | 2 | 7$^7$ | 4 | | | | |
| Q | M Berrer | 2 | 6$^5$ | | | | | | 4 | T Berdych | 6 | 6$^3$ | 6 | | | | |
| | A Seppi | 6 | 7$^7$ | | A Seppi | 3 | 3 | | | | | | | | | | |
| | | | | 4 | T Berdych | 6 | 6 | | | | | | | | | | |

#### Section 4

| First round | First round | First round | First round | First round | Second round | Second round | Second round | Second round | Third round | Third round | Third round | Third round | Quarterfinals | Quarterfinals | Quarterfinals | Quarterfinals |
| | | | | | 6 | J Tipsarević | 6 | 7$^7$ | | | | | | | | |
| | V Troicki | 6 | 2 | 6 | | V Troicki | 2 | 6$^3$ | | | | | | | | |
| | M Youzhny | 3 | 6 | 4 | | | | | 6 | J Tipsarević | 2 | 1 | | | | |
| Q | A Bogomolov Jr. | 6$^4$ | 4 | | | | | | | T Haas | 6 | 6 | | | | |
| PR | T Robredo | 7$^7$ | 6 | | PR | T Robredo | 3 | 3 | | | | | | | | |
| | T Haas | 4 | 7$^7$ | 6 | | T Haas | 6 | 6 | | | | | | | | |
| 9 | N Almagro | 6 | 6$^4$ | 2 | | | | | | | | | | T Haas | 3 | 3 |
| 16 | P Kohlschreiber | 6 | 6 | | | | | | | | | | 2 | N Djokovic | 6 | 6 |
| | R Harrison | 4 | 4 | | 16 | P Kohlschreiber | 3 | 4 | | | | | | | | |
| | F López | 6 | 1 | 6 | | F López | 6 | 6 | | | | | | | | |
| | A Falla | 3 | 6 | 3 | | | | | | F López | 3 | 3 | | | | |
| | P Andújar | 5 | 3 | | | | | | 2 | N Djokovic | 6 | 6 | | | | |
| | G Dimitrov | 7 | 6 | | | G Dimitrov | 3 | 2 | | | | | | | | |
| | | | | | 2 | N Djokovic | 6 | 6 | | | | | | | | |

## Qualifying
### 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

### Draw
#### First qualifier

| First round | First round | First round | First round | First round | Qualifying competition | Qualifying competition | Qualifying competition | Qualifying competition | Qualifying competition |
| 1 | Marinko Matosevic | 7 | 7 | | | | | | |
| Alt | Treat Conrad Huey | 5 | 5 | | | | | | |
| Alt | Treat Conrad Huey | 5 | 5 | | 1 | Marinko Matosevic | 6 | 4 | 6 |
| | | | | | 10 | Sergiy Stakhovsky | 3 | 6 | 1 |
| | Donald Young | 7$^7$ | 4 | 4 | 10 | Sergiy Stakhovsky | 3 | 6 | 1 |
| 10 | Sergiy Stakhovsky | 6$^4$ | 6 | 6 | | | | | |

#### Second qualifier

| First round | First round | First round | First round | Qualifying competition | Qualifying competition | Qualifying competition | Qualifying competition |
| 2 | Matthew Ebden | 6$^1$ | 4 | | | | |
| | Marius Copil | 7$^7$ | 6 | | | | |
| | Marius Copil | 7$^7$ | 6 | | Marius Copil | 0 | 6$^3$ |
| | | | | 11 | Philipp Petzschner | 6 | 7$^7$ |
| Alt | Mariusz Fyrstenberg | 4 | 4 | 11 | Philipp Petzschner | 6 | 7$^7$ |
| 11 | Philipp Petzschner | 6 | 6 | | | | |

#### Third qualifier

| First round | First round | First round | First round | Qualifying competition | Qualifying competition | Qualifying competition | Qualifying competition |
| 3 | Brian Baker | 6 | 6 | | | | |
| Alt | Zhang Zhizhen | 3 | 0 | | | | |
| Alt | Zhang Zhizhen | 3 | 0 | 3 | Brian Baker | 6 | 7 |
| | | | | 8 | Grega Žemlja | 1 | 5 |
| | Gianluca Naso | 4 | 3 | 8 | Grega Žemlja | 1 | 5 |
| 8 | Grega Žemlja | 6 | 6 | | | | |

#### Fourth qualifier

| First round | First round | First round | First round | Qualifying competition | Qualifying competition | Qualifying competition | Qualifying competition |
| 4 | Guillermo García López | 7 | 6 | | | | |
| Alt | Peter Luczak | 5 | 2 | | | | |
| Alt | Peter Luczak | 5 | 2 | 4 | Guillermo García López | 6$^6$ | 4 |
| | | | | 9 | Alex Bogomolov Jr. | 7$^8$ | 6 |
| WC | Li Yu Cheng | 0 | 0 | 9 | Alex Bogomolov Jr. | 7$^8$ | 6 |
| 9 | Alex Bogomolov Jr. | 6 | 6 | | | | |

#### Fifth qualifier

| First round | First round | First round | First round | Qualifying competition | Qualifying competition | Qualifying competition | Qualifying competition |
| 5 | Lu Yen-hsun | 6 | 6 | | | | |
| Alt | Gao Xin | 1 | 1 | | | | |
| Alt | Gao Xin | 1 | 1 | 5 | Lu Yen-hsun | 6 | 6 |
| | | | | 14 | Danai Udomchoke | 3 | 2 |
| Alt | Borut Puc | 6$^2$ | 3 | 14 | Danai Udomchoke | 3 | 2 |
| 14 | Danai Udomchoke | 7$^7$ | 6 | | | | |

#### Sixth qualifier

| First round | First round | First round | First round | Qualifying competition | Qualifying competition | Qualifying competition | Qualifying competition |
| 6 | Tatsuma Ito | 6 | 6 | | | | |
| WC | Chang Yu | 4 | 2 | | | | |
| WC | Chang Yu | 4 | 2 | 6 | Tatsuma Ito | 6$^3$ | 1 |
| | | | | 12 | Michael Berrer | 7 | 6 |
| | Riccardo Ghedin | 6$^5$ | 3 | 12 | Michael Berrer | 7 | 6 |
| 12 | Michael Berrer | 7$^7$ | 6 | | | | |

#### Seventh qualifier

| First round | First round | First round | First round | Qualifying competition | Qualifying competition | Qualifying competition | Qualifying competition |
| 7 | Łukasz Kubot | 7$^7$ | 6 | | | | |
| | Gong Mao-Xin | 6$^3$ | 2 | | | | |
| | Gong Mao-Xin | 6$^3$ | 2 | 7 | Łukasz Kubot | 6 | 6 |
| | | | | 13 | Jimmy Wang | 4 | 2 |
| | Jan Hernych | 1 | 2 | 13 | Jimmy Wang | 4 | 2 |
| 13 | Jimmy Wang | 6 | 6 | | | | |