Valencia came into Saturday's clash having beaten Barca in just one of their past 10 meetings in all competitions, winning last season's Copa del Rey final, while their most recent league success at the Mestalla came in February 2007.
YESSSSSSSSSSSSSSSS!!! 👏🏽👏🏽👏🏽 pic.twitter.com/cb2iUJhjLj— Valencia CF English 🦇💯 (@valenciacf_en) January 25, 2020
But the Blaugrana were on the back foot from the outset this time around and, while Marc-Andre ter Stegen saved a first-half spot-kick, Gomez made amends as his strike shortly after the restart went in off Jordi Alba for an own goal.
Setien's side belatedly rallied, but after scraping past Granada and Ibiza in the coach's first two games in charge, their luck ran out, Gomez getting a goal himself with 13 minutes remaining.
Real Madrid, not in action against Real Valladolid until Sunday, now have the opportunity to pull three points clear of their bitter rivals at the top of the table.
4 - Since the beginning of the 2017/2018 season when Maxi Gómez arrived to #LaLigaSantander, the Uruguayan is the player to have scored more goals vs @FCBarcelona in the competition (four goals). Favourite#ValenciaBarcelona #FCBarcelona pic.twitter.com/578DxLb8D6— OptaJose (@OptaJose) January 25, 2020
Gerard Pique gifted Valencia a huge opportunity to take the lead after 12 minutes, his poor clearance prompting an attack that ended with the Barcelona defender clumsily chopping down Jose Gaya inside the area.
However, Ter Stegen came to his team-mate's rescue, brilliantly springing to his left to save Gomez's penalty.
Ter Stegen remained by far the busier of the two goalkeepers and awkwardly helped Gomez's fierce drive onto the crossbar before parrying Kevin Gameiro's follow-up wide.
11 - Lionel Messi has had more shots without scoring in a single #LaLiga's game in his Barcelona's career (eleven, level with vs Deportivo de La Coruña at Camp Nou in December 2017). Dismay#FCBarcelona#LaLigaSantander pic.twitter.com/GdOam5HoNj— OptaJose (@OptaJose) January 25, 2020
Barca did not truly threaten until the opening seconds of the second half when Ansu Fati ran onto Lionel Messi's pass on the edge of the area but shot just wide.
It was Valencia who soon led as the off-colour away side struggled to clear, allowing Gomez to shoot hard and low from the right-hand side of the area, his effort deflecting off Alba to wrong-foot Ter Stegen and loop into the roof of the net.
Messi drilled past the right-hand post and sent a lob narrowly over the top, before Jaume Domenech was equal to a 20-yard free-kick as Barca's spell of dominance came too late to rescue a result.
Instead, Gomez got his goal, providing a clinical finish beyond the rooted Ter Stegen at the end of a Valencia counter-attack.
What does it mean? Concerns for Quique
Despite the narrow nature of the scoreline, there was an enormous amount of goodwill for Setien when his reign began with a win over Granada. But less than a week later, things are a little less rosy. Barca scarcely deserved the late victory in Ibiza and were completely outplayed here, provoking some early questions for the new coach.
Gomez makes amends
Valencia forward Gomez has now scored or assisted in five of his past six LaLiga appearances against Barcelona. He was at the centre of his side's best work throughout. After missing a penalty, the Uruguay internationl was unfortunate to strike the crossbar when Ter Stegen's handling was uncertain but then had a hand in each goal.
Pique so poor
Barca stalwart Pique did not start well, giving away a penalty, and hardly improved from there. Ter Stegen had to be alert to gather on the line, preventing a potential own goal, and then Pique failed to clear effectively in the build-up to the first goal.
Valencia go to Cultural Leonesa in the Copa del Rey on Wednesday, hoping not to follow Atletico Madrid in crashing out at the hands of the minnows. Barcelona host Leganes in the same competition the following day.