Renault's Fernando Alonso held off Ferrari's Michael Schumacher to grab pole for the Bahrain Grand Prix.
1 F Alonso 3:01.902
2 M Schumacher 3:02.357
3 J Trulli 3:02.660
4 N Heidfeld 3:03.217
5 M Webber 3:03.262
6 R Schumacher 3:03.271
7 C Klien 3:03.369
8 P De la Rosa 3:03.373
Alonso clocked three minutes 1.902 seconds to beat Schumacher, who moved up one place, by 0.455 seconds.
Toyota's Jarno Trulli dropped to third with Nick Heidfeld's Williams fourth while Alonso's team-mate Giancarlo Fisichella dropped five places to 10th.
England's Jenson Button qualified 11th in his BAR while Scotland's David Coulthard finished 14th for Red Bull.
"I don't seem to have managed many good laps here," Coulthard said, "but this was definitely the worst one of the weekend.
"I drove an untidy lap and I just wished I could start all over again.
"I'm not making excuses, but I also got a bit distracted, seeing (Barrichello's) Ferrari parked at the side of the track."
Coulthard's team-mate Christian Klien had the upper hand over the Scot in qualifying for the second consecutive race.
The Austrian moved up one place to seventh, just behind Trulli's team-mate Ralf Schumacher.
The Toyota driver, who made an error on his lap in first qualifying on Saturday, made the most progress up the grid, moving up to sixth place from 11th.
The McLaren team, who have one of the fastest cars in the field, continued to disappoint, with Kimi Raikkonen dropping from seventh overnight to ninth.
The new Ferrari is the centre of attention at Bahrain
The Finn was one place behind his team-mate Pedro de la Rosa, who is standing in for the injured Juan Pablo Montoya.
And Button's BAR team, who were second in the championship in 2004, continued their unimpressive performance this season.
The Englishman's combined lap time was 2.446secs slower than Alonso's.
The second Ferrari of Rubens Barrichello was down in 15th place.
The Brazilian, who lost all of Saturday practice because of a faulty gearbox, had a new unit flown out overnight from Italy for race day.
But the car suffered another gearbox problem towards the end of Barrichello's lap on Sunday morning.
He will start from the back of the grid after the team decided to change his engine following his problems.
The Bahrain Grand Prix starts at 1230BST. There will be live coverage on this website and on BBC Radio Five Live, 909 & 693MW.
Final qualifying result at Bahrain Grand Prix:
1 Fernando Alonso (Spa) Renault 3:01.902
2 Michael Schumacher (Ger) Ferrari 3:02.357
3 Jarno Trulli (Ita) Toyota 3:02.660
4 Nick Heidfeld (Ger) Williams-BMW 3:03.217
5 Mark Webber (Aus) Williams-BMW 3:03.262
6 Ralf Schumacher (Ger) Toyota 3:03.271
7 Christian Klien (Aut) Red Bull-Cosworth 3:03.369
8 Pedro de la Rosa (Spa) McLaren-Mercedes 3:03.373
9 Kimi Raikkonen (Fin) McLaren-Mercedes 3:03.524
10 Giancarlo Fisichella (Ita) Renault 3:03.765
11 Jenson Button (GB) BAR-Honda 3:04.348
12 Felipe Massa (Brz) Sauber-Petronas 3:05.202
13 Takuma Sato (Jpn) BAR-Honda 3:05.563
14 David Coulthard (GB) Red Bull-Cosworth 3:05.844
15 Rubens Barrichello (Brz) Ferrari 3:07.693
16 Jacques Villeneuve (Can) Sauber-Petronas 3:07.983
17 Tiago Monteiro (Por) Jordan-Toyota 3:09.428
18 Narain Karthikeyan (Ind) Jordan-Toyota 3:10.143
19 Christijan Albers (Ned) Minardi-Cosworth 3:10.422
20 Patrick Friesacher (Aut) Minardi-Cosworth 3:11.261