Second practice for the 2017 Formula 1 Mexican Grand Prix, the 18th round of the season, took place at the Autódromo Hermanos Rodríguez.
Daniel Ricciardo was fastest with a 1:17.801. Lewis Hamilton was second, 0.131 seconds behind, followed by Max Verstappen in third, 0.163 seconds off the pace.
The top five were Daniel Ricciardo, Lewis Hamilton, Max Verstappen, Sebastian Vettel and Kimi Räikkönen, in that order. Ferrari and Red Bull each had two drivers in the top five, with Mercedes represented by one.
Sebastian Vettel was fourth, 0.250 seconds behind the leader, while fifth-placed Kimi Räikkönen was 0.341 seconds adrift.
Esteban Ocon completed the top ten, 1.021 seconds slower than the session leader.
Valtteri Bottas completed the most laps with 43, while Romain Grosjean ran the fewest with three.
At the lower end of the classification, Pascal Wehrlein was 16th, Kevin Magnussen 17th, Marcus Ericsson 18th, Pierre Gasly 19th and Romain Grosjean 20th. The lap times and completed laps in the table follow the official classification for this session.
| Pos. | Driver | Team | Time / Gap | Laps |
|---|---|---|---|---|
| 1 | Daniel Ricciardo | Red Bull | 1:17.801 | 26 |
| 2 | Lewis Hamilton | Mercedes | +0.131s | 40 |
| 3 | Max Verstappen | Red Bull | +0.163s | 17 |
| 4 | Sebastian Vettel | Ferrari | +0.250s | 35 |
| 5 | Kimi Räikkönen | Ferrari | +0.341s | 40 |
| 6 | Valtteri Bottas | Mercedes | +0.498s | 43 |
| 7 | Fernando Alonso | McLaren | +0.707s | 26 |
| 8 | Sergio Pérez | Force India | +0.927s | 41 |
| 9 | Nico Hülkenberg | Renault | +0.974s | 19 |
| 10 | Esteban Ocon | Force India | +1.021s | 42 |
| 11 | Carlos Sainz | Renault | +1.259s | 30 |
| 12 | Felipe Massa | Williams | +1.405s | 37 |
| 13 | Brendon Hartley | Toro Rosso | +1.622s | 40 |
| 14 | Lance Stroll | Williams | +1.723s | 42 |
| 15 | Stoffel Vandoorne | McLaren | +2.043s | 32 |
| 16 | Pascal Wehrlein | Sauber | +2.505s | 38 |
| 17 | Kevin Magnussen | Haas | +2.517s | 35 |
| 18 | Marcus Ericsson | Sauber | +2.561s | 38 |
| 19 | Pierre Gasly | Toro Rosso | +3.944s | 10 |
| 20 | Romain Grosjean | Haas | +7.725s | 3 |