Milan - Jorge Lorenzo set a new track record to snatch pole position for Sunday's San Marino MotoGP ahead of Australian Jack Miller and fellow Spaniard Maverick Vinales.
World champion and current championship leader Marc Marquez of Honda suffered a shock fall that resulted in last year's winner qualifying fifth on a spare bike.
Three-time top-class world champion Lorenzo dominated Saturday's second qualifying session to claim his third pole so far this season with a record time of 1min 31.629sec around the Misano track.
The 31-year-old from Majorca, who also took pole for the British Grand Prix which was cancelled two weeks ago because of torrential rain, bettered his own previous Misano lap record from last year.
Lorenzo - a three-time winner in Misano - finished 28 hundredths of a second ahead of Alma Pramac Racing's Miller with Yamaha's Vinales at 0.32sec.
Lorenzo's Ducati team-mate Andrea Dovizioso and Marquez closed out the top five, ahead of Britain's Cal Crutchlow, of Honda, who also crashed.
Italy's Valentino Rossi was seventh fastest for Yamaha, at a venue where he has won three times - most recently in 2014.
In recent years, Spaniards have dominated at the track on Italy's Adriatic coast, not far from the tiny republic from which the race takes its name.
The 25-year-old Marquez has won twice in the past three years for Honda.
Marquez has suffered a two-race blip, but so dominant is the Spanish world champion that he still increased his lead in the MotoGP standings without winning.
With seven races to go, Marquez is 59 points ahead of Rossi. Lorenzo and Dovizioso, who took the other podium places in the last two races, are 12 and 13 points further back.
Italian Francesco Bagnaia of the Sky Racing Team took pole in the Moto2 category and Spaniard Jorge Martin leading Moto3 on his Honda.
Starting grids for Sunday's San Marino motorcycling Grand Prix after qualifying at Misano on Saturday:
1. Jorge Lorenzo (ESP/Ducati) 1min 31.629sec (track record), 2. Jack Miller (AUS/Ducati Pramac) at 0.287sec, 3. Maverick Vinales (ESP/Yamaha) 0.321
4. Andrea Dovizioso (ITA/Ducati) 0.374, 5. Marc Marquez (ESP/Honda) 0.387, 6. Cal Crutchlow (GBR/LCR Honda) 0.396
7. Valentino Rossi (ITA/Yamaha) 0.399, 8. Danilo Petrucci (ITA/Ducati Pramac) 0.507, 9. Johann Zarco (FRA/Yamaha Tech 3) 0.621
10. Alex Rins (ESP/Suzuki) 0.709, 11. Dani Pedrosa (ESP/Honda) 0.740, 12. Franco Morbidelli (ITA/Honda)
13. Andrea Iannone (ITA/Suzuki), 14. Michele Pirro (ITA/Ducati), 15. Alvaro Bautista (ESP/Ducati)
1. Jorge Martin (ESP/Honda) 1min 41.823sec, 2. Gabriel Rodrigo (ARG/KTM) at 0.311sec, 3. Aron Canet (ESP/Honda) 0.447
4. Fabio Di Giannantonio (ITA/Honda) 0.448, 5. Enea Bastianini (ITA/Honda) 0.471, 6. Marco Bezzecchi (ITA/KTM) 0.495
7. Nicolo Bulega (ITA/KTM) 0.532, 8. Lorenzo Dalla Porta (ITA/Honda) 0.619, 9. Jakub Kornfeil (CZE/KTM) 0.651
11. Ayumu Sasaki (JPN/Honda) 0.755, 11. Jaume Masia (ESP/KTM) 0.839, 12. Tony Arbolino (ITA/Honda) 0.858