Jorge Lorenzo took his first MotoGP pole since May with a new lap record at Misano on Saturday.
The Spaniard - troubled in the cold and wet this season - thrived in the sunny conditions at a circuit where he has only finished outside of the top two once since 2007.
Lorenzo broke the lap record on his opening run, before becoming the first ever rider to set a 1m 31s on his second and final outing.
"It was maybe the best lap of my life," Lorenzo said afterwards.
As well as the time record, Lorenzo's 64th pole is a new grand prix record.
Movistar Yamaha team-mate and local hero Valentino Rossi was the only rider within half-a-second of Lorenzo, with Silverstone winner Maverick Vinales completing the front row for Suzuki.
Rossi had earlier seen a second place lap time scrubbed for exceeding track limits, but soon returned to the position.
World championship leader Marc Marquez missed out on a final lap by just a few seconds, leaving the Repsol Honda rider fourth on the grid where he will be joined by the Ducatis of Michele Pirro and Andrea Dovizioso.
Test rider Pirro, in place of Andrea Iannone at the factory team for the remainder of the weekend, did an excellent job to outpace Dovizioso.
Cal Crutchlow continued his form as MotoGP's top satellite rider in seventh for LCR Honda, with Dani Pedrosa forced to settle for eighth after a promising second place in final practice.
The Espargaro brothers will start ninth and tenth with Avintia's Hector Barbera in eleventh. Alvaro Bautista put Aprilia into Qualifying 2 for the first time and will start from twelfth.
1 Jorge Lorenzo
2 Valentino Rossi
3 Maverick Viñales
4 Marc Marquez
5 Michele Pirro
6 Andrea Dovizioso
7 Cal Crutchlow
8 Dani Pedrosa
9 Aleix Espargaro
10 Pol Espargaro
11 Hector Barbera
12 Alvaro Bautista
CLICK HERE for full results