Martin on pole for Valencia MotoGP title-decider with Bagnaia on third row
Ducati rider Bagnaia has one hand on his maiden world championship with a 23-point lead going into the decider from champion Fabio Quartararo (23).
Quartararo, who at one stage held a 91-point lead over his Italian rival, posted the fourth fastest qualifying time to set off from the second row.
But he has a herculean task ahead of him if he is to retain his crown, not only needing to win but also requiring Bagnaia to finish lower than 14th.
Any other result and the MotoGP title will go to the first Italian rider since the legendary Valentino Rossi 13 years ago.
For Martin this was a third successive pole after Thailand and his track record-breaking exploit in Australia last time out.
Alongside him on the front row will be Marc Marquez (29), the six-time MotoGP champion who has endured a tough injury-beset season but was ecstatic at his qualifying performance.
"The target was the second or third row so the team did a good job," said the Spaniard.
"I like this circuit, tomorrow I want to win, but will have to fight as I'm not the fastest guy out there."
As far as Ducati are concerned they would quite happily for once accept a win from the Honda man or anyone else for that matter other than Quartararo given it would seal Bagnaia's crown.
Bagnaia's teammate Jack Miller (27) completed the front row line-up on his last ride for the Ducati team after five seasons.
"To be on the front row is hopefully setting up a perfect way to finish my time with Ducati," said the Australian.
As for pole-sitter Martin, he commented: "I'm really happy after my third in a row, but the important thing is the race - Vamos (let's go)!"