David Moyes' men made it four league wins in a row on the road without conceding on Saturday, boosting morale ahead of Wednesday's trip to Bayern Munich in the UEFA Champions League.
Mata netted either side of the break - his first goal coming via a stunning free-kick - before Javier Hernandez and substitute Adnan Januzaj scored to wrap up the defending champions' 10th away league win of the campaign, which lifts them to sixth.
Newcastle, still hampered by manager Alan Pardew's touchline ban, have now lost three in a row and drawn a blank in all of those games, conceding 11 goals in the process.
Yet Moyes, who was without the injured Wayne Rooney and Robin van Persie, will take his charges to Munich high on confidence as United seek to follow up last week's 1-1 draw with Bayern by progressing to the last four of Europe's premier club competition.
Ashley Young and Hernandez linked up twice in quick succession early on to force Mike Williamson into carbon-copy near-post clearances, before Marouane Fellaini was penalised for handball when trying to control and shoot inside the box.
Winger Young was forced off the field for treatment on a hand injury with 14 minutes on the clock and Newcastle looked to capitalise as Cheick Tiote flashed a powerful effort over the bar from 15 yards.
The injury ultimately brought a premature end to Young's afternoon, with Januzaj introduced in his place.
An ambitious overheard kick from Papiss Cisse proved simple for Anders Lindegaard to gather as the Dane settled into his first top-flight game since the 5-5 draw at West Brom on the final day of last season.
The stand-in goalkeeper was called into action again midway through the half, tipping Cisse's powerful header over the bar.
Opposite number Rob Elliot was less convincing when he came out to punch away a free-kick from Mata, with the close attention of Chris Smalling causing the ball to fall loose for Shinji Kagawa, who could only drag his shot wide.
However, there was nothing Elliot could do to keep out Mata's superb set-piece effort six minutes before the break as the Spain international lifted a curling effort into the top-right corner from the edge of the box for his second goal in as many league games.
The lead could have been doubled on the stroke of half-time but Hernandez struck Elliot's left-hand post with a low shot after racing clear.
Undeterred by that near miss, the away side did extend their advantage just five minutes into the second half, Mata collecting Hernandez's pass before wrong-footing Fabricio Coloccini and Elliot to stroke home.
The impressive Hernandez gave his side breathing space with a close-range finish from Kagawa's 65th-minute cut-back, the Mexican's fourth top-flight goal of the season.
Cisse forced two excellent late saves from Lindegaard but Januzaj added a fourth for the visitors after an excellent one-two with Mata, handing United a measure of revenge for December's 1-0 loss in the reverse fixture.
Get the best features, fun and footballing frolics straight to your inbox every week.
Thank you for signing up to Four Four Two. You will receive a verification email shortly.
There was a problem. Please refresh the page and try again.