Aleksandar Mitrovic headed a late winner as Fulham beat Brentford to earn a first win in 25 top-flight London derbies.
Brentford had fought back from 2-0 down before Mitrovic, who earlier forced David Raya into a couple of fine saves, finally found his third goal of the season with a guided header at Craven Cottage.
Fulham had led after 44 seconds when Bobby Decordova-Reid tapped in from close range, before summer signing Joao Palhinha doubled their advantage with a thumping header.
Christian Norgaard may have been fortunate to avoid a red card for a late challenge on Jay Stansfield but he brought the visitors back into the game with a sweetly struck volley straight from a corner.
And Ivan Toney, who had two goals ruled out for offside, levelled just after the break in a first Premier League meeting between the two sides.