Marc Marquez produced a superb lap to easily claim pole position for the Catalan Grand Prix on an emotional day in Barcelona.
A new track configuration was used for Saturday's qualifying sessions following the tragic death of Moto2 rider Luis Salom during practice on Friday.
Salom died following a crash at Turn 12 in the second Moto2 practice session, but MotoGP subsequently confirmed that this weekend's race programme would go ahead with the blessing of the Spaniard's family.
In bright sunshine on Saturday, two-time premier-class world champion Marquez posted a time of one minute and 43.589seconds to secure his first pole in Barcelona.
Nearest rival Jorge Lorenzo (Movistar Yamaha), 10 points clear of Marquez in the championship standings, was almost half a second slower than the Repsol Honda man, whose team-mate Dani Pedrosa completed an all-Spanish top three.
Avintia Racing's Hector Barbera surprisingly took fourth ahead of Valentino Rossi.
1. Marc Marquez (Repsol Honda) 1:43.589secs
2. Jorge Lorenzo (Movistar Yamaha) 1:44.056s
3. Dani Pedrosa (Repsol Honda) 1:44.307s
4. Hector Barbera (Avintia Racing) 1:44.322s
5. Valentino Rossi (Movistar Yamaha) 1:44.324s
6. Maverick Vinales (Suzuki Ecstar) 1:44.329s
7. Cal Crutchlow (LCR Honda) 1:44.366s
8. Andrea Iannone (Ducati) 1:44.458s
9. Danilo Petrucci (OCTO Pramac) 1:44.911s
10. Andrea Dovizioso (Ducati) 1:45.029s