Two goals from Neil Mellor and a sublime strike from Iain Hume meant Preston North End took the points at Griffin Park.
Brentford played their part in an entertaining contest, particularly in the first half, but Preston's front line would not be contained.
Mellor opened the scoring for the visitors but Niall McGinn levelled after a superb run from Myles Weston.
Hume lit up Griffin Park with a wonderful strike and Mellor sealed the win in the second half.
Both teams had chances in the opening ten minutes but it was the visitors who scored the first goal.
Marcus Bean had an early header saved and Jonathan Douglas was just unable to head home a Myles Weston cross but it took a fine double save from Richard Lee to keep out a Barry Nicholson header and Hume's follow-up before Mellor blazed the loose ball over the top.
Mellor, however, made no mistake a few minutes later - he out-muscled Karleigh Osborne to reach a Jamie Proctor flick and rolled the ball past Lee and in to the corner.
The Bees had a great chance to equalise immediately when Douglas and McGinn won the ball on the edge of the Preston penalty area and set up Clayton Donaldson but the striker's shot was a little too close Andreas Arestidou and the goalkeeper got down to save.
Brentford responded well to going behind and levelled within 11 minutes with a superb goal.
Douglas combined with Bean to spread the play from inside left to right wing and found Weston, the wide man turned on the afterburners and sped past Paul Parry and in to the penalty area, he cut the ball across to McGinn and the Northern Ireland international fired high in to the roof of the net.
The home side probably had the better of it after they scored but Preston were back ahead 11 minutes after they were pegged back.
McGinn and Weston were causing the visitors' defence all sorts of problems and Craig Woodman had a shot blocked on a foray forward, but Preston had real quality in attack too and scored a wonderful second goal.
It came from a throw in on the left, Paul Coutts played the ball forward, Proctor laid it off to Iain Hume and the striker fired a shot from 30 yards that swerved in four or five different directions and dipped to leave Lee helpless.
Brentford almost struck straight back, this time McGinn breezed past Parry and got to the by-line, his cut back looked set for Donaldson but Clarke Carlisle and Arestidou combined to keep it out.
Osborne had to make a fine tackle to prevent Proctor going through to make it three just before the break and Mellor hit the post when Carlisle nodded down a free kick soon after the interval as the visitors sought to kill the game off.
Both teams had chances in the early stages of the second half - Douglas was just unable to turn in a Weston cross at the far post while Lee saved a deflected Proctor effort.
Arestidou saved a McGinn effort and Coutts lifted a shot just over at the other end as the game flowed from end to end.
Preston had slightly the better of possession in the first 15 minutes of the second half and Brentford were finding it hard to break down their resolute defence.
Proctor headed a corner over for the visitors while McGinn saw a shot deflect wide after a fine run at the other end.
Brentford started to take the initiative - Bean shot straight at Arestidou from a tight angle when a cross would have led to a tap in for Mike Grella and the midfielder then had an effort blocked.
Miguel Llera forced a low save out of Arestidou with a curling free kick from the edge of the penalty area but when Preston had a free kick in a similar position a few minutes later, they sealed the game.
Nicholson floated the ball to the back post, Carlisle nodded it back and Mellor volleyed past Lee to give the visitors the points.
Brentford tried to respond - Arestidou saved from Weston and the wide man volleyed a Woodman cross inches wide while Douglas fired a free kick in to the defensive wall.
There were few late chances as Preston saw the game out - Hume shot over after a short free kick and McGinn fired over at the other end.
Harry Forrester curled a last minute shot narrowly over but there were no more goals and Preston left with the points.
Brentford: Lee; Thompson, Osborne, Llera, Woodman (sub Forrester 79 mins); Bean, Reeves (sub Grella 59 mins), Douglas; Weston, Donaldson, McGinn
Subs (not used): Moore, Eger, O'Connor
Bookings: Douglas (49 mins) (third of season)
Preston North End: Arestidou; McLaughlin, Carlisle, McLean, Parry; Alexander; Coutts (sub Ashbee 80 mins), Nicholson; Hume; Mellor, Proctor (sub Mayor 90 mins)
Subs (not used): Comrie, Morgan, Tsoumou
Bookings: Mellor (51 mins), McLaughlin (76 mins)
Attendance: 6,090 (892 away fans)
By Chris Wickham