Bottas was 0.15sec further back, whilst Charles Leclerc took a highly commendable fourth.
Just as laudable was Esteban Ocon, who put in a stunning lap to take fifth for Alpine.
Carlos Sainz was next for Ferrari, looking ever more comfortable at the Scuderia.
It was an improved qualifying for Daniel Ricciardo as he put his McLaren seventh on the grid, whilst Lando Norris will likely be immensely dissatisfied with ninth given his strong recent form.
Between them was Perez, who recovered rom his moment to set the eighth fastest time, whilst Fernando Alonso rounded out Q3 in 10th.
2021 Spanish Grand Prix qualifying results
Position | Driver | Team | Time (Q3) |
1 | Lewis Hamilton | Mercedes | 1m16.741s |
2 | Max Verstappen | Red Bull | 1m.16.777s |
3 | Valtteri Bottas | Mercedes | 1m16.873s |
4 | Charles Leclerc | Ferrari | 1m17.510s |
5 | Esteban Ocon | Alpine | 1m17.580s |
6 | Carlos Sainz | Ferrari | 1m17.620s |
7 | Daneil Ricciardo | McLaren | 1m17.622s |
8 | Sergio Perez | Red Bull | 1m17.701s |
9 | Lando Norris | McLaren | 1m18.010s |
10 | Fernando Alonso | Alpine | 1m18.147s |
Q2 times | |||
11 | Lance Stroll | Aston Martin | 1m17.974s |
12 | Pierre Gasly | Alpha Tauri | 1m17.982s |
13 | Sebastian Vettel | Aston Martin | 1m18.079s |
14 | Antonio Giovinazzi | Alfa Romeo | 1m18.356s |
15 | George Russell | Williams | 1m19.154s |
Q1 times | |||
16 | Yuki Tsunoda | Alpha Tauri | 1m18.556s |
17 | Kimi Räikkönen | Kimi Räikkönen | 1m18.917s |
18 | Mick Schumacher | Haas | 1m19.117s |
19 | Nicholas Latifi | Williams | 1m19.219s |
20 | Nikita Mazepin | Haas | 1m19.807s |