Sebastian Vettel clinched pole ahead of the 200th race start of his career after Max Verstappen crashed out in Q1 in Bahrain.
An error from Vettel put team-mate Kimi Raikkonen on provisional pole, but the German responded well with his final attacking lap to secure his 51st career pole and first since Mexico last year by 0.143 seconds.
Raikkonen locked out the front row for Ferrari, with Valtteri Bottas 0.166 seconds off the pace in third. Lewis Hamilton could only secure P4, meaning he will drop down to P9 because of his five-place grid penalty.
Daniel Ricciardo will move up to the second row as result, despite qualifying P5, but team-mate Verstappen is all the way down in P15 after losing all control after Turn 2 and planting the car into the barrier.