Bagnaia and Martin are split by just 13 points ahead of this afternoon’s sprint contest at the Sepang International Circuit, which set up a critical qualifying on Saturday morning.
Pramac’s Martin looked set to add a third-straight pole to his tally of four for the season when he posted a lap record 1m57.549s on his first stint in Q2.
But Bagnaia responded emphatically with a 1m57.491s to snatch his first pole since Barcelona by just 0.058 seconds.
A crash for Martin left him second ahead of Ducati’s Enea Bastianini, who came through Q1 to secure his first front row start since last year’s Malaysian GP.
Ducati controlled the 15-minute Q2 segment in qualifying, with Alex Marquez – who was fastest on Friday – setting the initial pace on his year-old Gresini Ducati with a 1m57.924s.
This was quickly beaten by Luca Marini on the VR46 2022-spec Ducati, with a 1m57.787s, before Martin lit up the timing screens on his latest-spec Pramac Desmosedici.
Martin’s 1m57.549s put him over two tenths under his previous lap record from his pole time in 2022.
Having progressed through Q1, Bastianini was the first rider to threaten Martin’s lap, the four-time grand prix winner – who is rumoured to be getting replaced by Martin at the factory squad next year – getting to within 0.041s of the pole time.
On the first flying lap of his second run in the closing stages of Q2, Bagnaia had to abort an effort due to Marini crashing in front of him at Turn 9.
His final flier started off well, and he was given a boost to his pole chances when Martin crashed at Turn 4 on his last lap.
Bagnaia was almost a tenth and a half up on Martin through sector three and held on to take his seventh pole of the season.
Martin and Bastianini completed the front row, with Alex Marquez heading row two from VR46 duo Marini and Marco Bezzecchi.
Photo by: Gold and Goose / Motorsport Images
Fabio Di Giannantonio, Gresini Racing
Aprilia’s Aleix Espargaro’s Malaysia weekend failed to improve, after he crashed four times on Friday as he tested a front fork from Ohlins he didn’t feel comfortable on.
He could do no more…