As the session drew to a close Massa briefly jumped above the 23-year-old, but a superb lap saw Hamilton regain his place at the top where he had looked set to finish for the second successive session.
On top of that, Michael Schumacher had damaged his car in a first-lap accident with Jarno Trulli and it was a good opportunity for Coulthard to extend his lead over the German.