Manchester United recorded the biggest win of Ralf Rangnick's reign in his final home match as interim boss as Brentford were beaten at Old Trafford.
A brilliant opener from Bruno Fernandes was followed by a second-half penalty from Cristiano Ronaldo and Raphael Varane's first United goal as the hosts cruised to victory.
Ronaldo also had a goal disallowed as he moved onto 18 Premier League goals, four behind Golden Boot leader Mohamed Salah.
The result keeps alive United's slender hopes of Champions League qualification at least until next weekend, while Brentford could still go down, even though their 40 points is almost certainly enough to retain their status as a top-flight club.
For the third game running, home fans protested against the club's owners, but while there were plenty of anti-Glazer family chants and green and gold flares in opposition to the Americans, the mooted 73rd-minute walkout did not materialise in any significant number.
Mata's fond farewell
United's victory moved them on to 58 points with two games remaining, meaning they still have the chance to match their tally from the 2013-14 campaign under David Moyes, which is their lowest since the 59 they struggled to in 1990-91.
This was actually one of their better displays, helped in no small part by Juan Mata, who was making his first league start of the season in what was probably his last match at Old Trafford.
Mata could have had an assist to go with his precise passing and invention, only for Ronaldo to be judged marginally offside after he had scored from the veteran Spain international's pass.
Ronaldo got his goal anyway, sending Brentford keeper David Raya the wrong way from the spot after the Portuguese had been fouled by Rico Henry.
That doubled a lead given to the hosts by Fernandes.
With a contract to 2026, Fernandes is one of the pillars of incoming manager Erik ten Hag's United.
His first goal since February was a beauty, slamming home Anthony Elanga's cutback with a first-time volley.
Raphael Varane's deflected shot brought United their third - and with the protest not gaining the anticipated momentum, there were still plenty of fans in the stadium as the home players went on their post-match lap of appreciation for a season that most connected with the club cannot wait to end.
Big decision awaits for Eriksen
This was only Christian Eriksen's ninth match for club and country since his return from the cardiac arrest he suffered while playing for Denmark against Finland at the European Championship in June 2021.
Yet the Dane has already done enough to show he can operate at a level above Brentford.
Within 10 seconds of kick-off, he had lifted a pass over the United defence that threatened to create an opportunity for Bryan Mbeumo before Victor Lindelof came across to cover.
It was a pin-point curling Eriksen cross that Ivan Toney headed over from a central position, a deep free-kick at the start of the second half that the striker was unable to keep on target and a long-range free-kick from the Dane that David de Gea had to palm away.
Eriksen's contract runs out in the summer, although it does contain an option to extend it for a further year.
The big question is whether the 30-year-old repays Brentford - and Thomas Frank's faith in offering him a way back into the game - and commits to another season or he accepts an offer from a bigger club, which will surely come his way.
Player of the match
Cristiano RonaldoCristiano Ronaldo
Brentford
Squad number21Player nameEriksen
Squad number17Player nameToney
Squad number18Player nameJansson
Squad number6Player nameNørgaard
Squad number29Player nameBech Sørensen
Squad number30Player nameRoerslev
Squad number19Player nameMbeumo
Squad number20Player nameAjer
Squad number27Player nameJanelt
Squad number8Player nameJensen
Squad number1Player nameRaya
Squad number10Player nameDasilva
Squad number3Player nameHenry
Squad number11Player nameWissa
Line-ups
Man Utd
Formation 4-2-3-1
1de Gea
20Dalot2Lindelöf19Varane27Telles
39McTominay31Matic
36Elanga8Mata18Bruno Fernandes
7Cristiano Ronaldo
1de Gea20Dalot2Lindelöf19Varane27Telles39McTominay31MaticBooked at 54minsSubstituted forFredat 71'minutes36ElangaSubstituted forCavaniat 75'minutes8MataSubstituted forJonesat 75'minutes18Bruno Fernandes7Cristiano RonaldoSubstitutes
3Bailly4Jones10Rashford14Lingard17Fred21Cavani26Henderson74Fernández75Garnacho FerreyraBrentford
Formation 5-3-2
1Raya
30Roerslev20Ajer18Jansson29Bech Sørensen3Henry
27Janelt6Nørgaard21Eriksen
17Toney19Mbeumo
1Raya30Roerslev20Ajer18Jansson29Bech Sørensen3Henry27JaneltSubstituted forDasilvaat 71'minutes6NørgaardSubstituted forJensenat 71'minutes21Eriksen17Toney19MbeumoSubstituted forWissaat 76'minutesSubstitutes
8Jensen10Dasilva11Wissa23Jeanvier24Fosu-Henry26Baptiste36Stevens40Fernández43Young-CoombesReferee:Chris KavanaghAttendance:73,482Live Text
Match ends, Manchester United 3, Brentford 0.
Second Half ends, Manchester United 3, Brentford 0.
Fred (Manchester United) wins a free kick in the defensive half.
Foul by Ivan Toney (Brentford).
Attempt missed. Bruno Fernandes (Manchester United) right footed shot from outside the box is too high. Assisted by Edinson Cavani.
Attempt blocked. Mathias Jensen (Brentford) right footed shot from outside the box is blocked.
Offside, Manchester United. Cristiano Ronaldo tries a through ball, but Edinson Cavani is caught offside.
Corner, Brentford. Conceded by Diogo Dalot.
Corner, Manchester United. Conceded by Mads Bech Sørensen.
Attempt blocked. Bruno Fernandes (Manchester United) right footed shot from outside the box is blocked. Assisted by Fred.
Attempt saved. Scott McTominay (Manchester United) right footed shot from the centre of the box is saved in the bottom left corner. Assisted by Cristiano Ronaldo.
Attempt blocked. Christian Eriksen (Brentford) right footed shot from outside the box is blocked. Assisted by Ivan Toney.
Corner, Brentford. Conceded by Phil Jones.
Substitution, Brentford. Yoane Wissa replaces Bryan Mbeumo.
Substitution, Manchester United. Phil Jones replaces Juan Mata.
Substitution, Manchester United. Edinson Cavani replaces Anthony Elanga.
Goal! Manchester United 3, Brentford 0. Raphaël Varane (Manchester United) right footed shot from the centre of the box to the centre of the goal. Assisted by Alex Telles with a cross following a corner.
Corner, Manchester United. Conceded by David Raya.
Substitution, Brentford. Josh Dasilva replaces Vitaly Janelt.
Substitution, Manchester United. Fred replaces Nemanja Matic.