| 2012 Shanghai Rolex Masters | |
|---|---|
| Date | October 8–14 | 
| Edition | 4th | 
| Category | ATP World Tour Masters 1000 | 
| Surface | Hard / outdoor | 
| Location | Shanghai, China | 
| Venue | Qizhong Forest Sports City Arena | 
| Champions | |
| Singles | |
|  Novak Djokovic | |
| Doubles | |
|  Leander Paes /  Radek Štěpánek | |
The 2012 Shanghai Rolex Masters was a men's tennis tournament that was played on outdoor hard courts. It was the fourth edition of the Shanghai ATP Masters 1000, classified as an ATP World Tour Masters 1000 event on the 2012 ATP World Tour. It took place at Qizhong Forest Sports City Arena in Shanghai, China from October 8 to October 14, 2012. Second-seeded Novak Djokovic won the singles title.
 Novak Djokovic defeated
  Novak Djokovic defeated   Andy Murray, 5–7, 7–6(13–11), 6–3
  Andy Murray, 5–7, 7–6(13–11), 6–3 Leander Paes' /
  Leander Paes' /   Radek Štěpánek defeated
  Radek Štěpánek defeated   Mahesh Bhupathi /
  Mahesh Bhupathi /  Rohan Bopanna, 6–7(7–9), 6–3, [10–5]
  Rohan Bopanna, 6–7(7–9), 6–3, [10–5]| Stage | Singles [1] | Doubles [1] | 
|---|---|---|
| Champion | 1000 | |
| Runner up | 600 | |
| Semifinals | 360 | |
| Quarterfinals | 180 | |
| Round of 16 | 90 | |
| Round of 32 | 45 | 0 | 
| Round of 64 | 10 | - | 
| Qualifier | 25 | |
| Qualifying final round | 14 | |
| Country | Player | Rank1 | Seed | 
|---|---|---|---|
|  SUI | Roger Federer | 1 | 1 | 
|  SRB | Novak Djokovic | 2 | 2 | 
|  GBR | Andy Murray | 3 | 3 | 
|  CZE | Tomáš Berdych | 6 | 4 | 
|  FRA | Jo-Wilfried Tsonga | 7 | 5 | 
|  SRB | Janko Tipsarević | 9 | 6 | 
|  ARG | Juan Mónaco | 10 | 7 | 
|  USA | John Isner | 11 | 8 | 
|  ESP | Nicolás Almagro | 12 | 9 | 
|  CRO | Marin Čilić | 13 | 10 | 
|  FRA | Richard Gasquet | 14 | 11 | 
|  CAN | Milos Raonic | 15 | 12 | 
|  SUI | Stanislas Wawrinka | 16 | 13 | 
|  JPN | Kei Nishikori | 17 | 14 | 
|  FRA | Gilles Simon | 18 | 15 | 
|  GER | Philipp Kohlschreiber | 19 | 16 | 
The following players received wildcards into the singles main draw:
The following players received entry from the qualifying draw:
 Julien Benneteau → replaced by
  Julien Benneteau → replaced by   Grigor Dimitrov
  Grigor Dimitrov  Juan Martín del Potro (left wrist injury) → replaced by
  Juan Martín del Potro (left wrist injury) → replaced by   Go Soeda
  Go Soeda  David Ferrer (stomach virus) → replaced by
  David Ferrer (stomach virus) → replaced by   Tommy Robredo
  Tommy Robredo  Mardy Fish (health issues) → replaced by
  Mardy Fish (health issues) → replaced by   Alejandro Falla
  Alejandro Falla  Marcel Granollers → replaced by
  Marcel Granollers → replaced by   Ryan Harrison
  Ryan Harrison  Gaël Monfils → replaced by
  Gaël Monfils → replaced by   Albert Ramos Viñolas
  Albert Ramos Viñolas  Rafael Nadal (left knee injury) → replaced by
  Rafael Nadal (left knee injury) → replaced by   Martin Kližan
  Martin Kližan  Andy Roddick (retired from tennis) → replaced by
  Andy Roddick (retired from tennis) → replaced by   Benoît Paire
  Benoît Paire  Florian Mayer (rib injury)
  Florian Mayer (rib injury)| Country | Player | Country | Player | Rank1 | Seed | 
|---|---|---|---|---|---|
|  USA | Bob Bryan |  USA | Mike Bryan | 2 | 1 | 
|  BLR | Max Mirnyi |  CAN | Daniel Nestor | 6 | 2 | 
|  SWE | Robert Lindstedt |  ROU | Horia Tecău | 13 | 3 | 
|  IND | Leander Paes |  CZE | Radek Štěpánek | 14 | 4 | 
|  POL | Mariusz Fyrstenberg |  POL | Marcin Matkowski | 21 | 5 | 
|  PAK | Aisam-ul-Haq Qureshi |  NED | Jean-Julien Rojer | 30 | 6 | 
|  IND | Mahesh Bhupathi |  IND | Rohan Bopanna | 33 | 7 | 
|  AUT | Alexander Peya |  BRA | Bruno Soares | 50 | 8 | 
The following pairs received wildcards into the doubles main draw:
The following pairs received entry as alternates: