Lewis Hamilton gave McLaren their first pole position in Brazil for 12 years ahead of his final grand prix for the Woking-based team.

With Jenson Button alongside him, the duo combined to give McLaren their 62nd front-row lock-out as they left championship contenders Sebastian Vettel and Fernando Alonso trailing in their wake.

Vettel, who has a 13-point cushion over Alonso, will line up fourth as even Red Bull team-mate Mark Webber managed to qualify ahead of him, whilst Alonso is a disastrous seventh in his Ferrari.

Hamilton is currently on a high at the end of his 14-year association with McLaren before joining Mercedes on a three-season contract from next year after winning in the United States last week

Hamilton, yet to win in Brazil, was again brilliant as he posted a time of one minute 12.458secs for the undulating Interlagos circuit. The 27-year-old edged team-mate Button by 0.055secs, with Webber then ahead of Vettel by almost two tenths of a second.

Felipe Massa qualified fifth in his Ferrari, followed by the Williams of Pastor Maldonado and Nico Hulkenberg in his Force India, and then Alonso. Pastor Maldonado, however, missed a weighbridge session at the end of Q1 and was handed a 10-place penalty.

The fifth row of the grid sees Lotus' Kimi Raikkonen alongside Nico Rosberg in his Mercedes.

A heavy rain shower 35 minutes prior to the start which lasted for around five minutes caused some consternation, and threatened to turn the grid on its head but with air temperatures of 24 degrees, the track was relatively dry an hour later come the start of the second session, which made for a straightforward programme.

Come the end of the middle 15-minute period, hopes for Force India's Paul di Resta of making the top 10 were dashed as the Scot will line up 11th after missing the cut by 0.073secs.

Di Resta starts ahead of Williams' Bruno Senna and Sergio Perez on his last outing for Sauber before joining McLaren, with Michael Schumacher 14th at the end of his final qualifying run in F1 and for Mercedes ahead of retiring for a second time.