Lionel Messi scored twice and missed a penalty as Barcelona came from behind to move within two points of La Liga leaders Atletico Madrid.
Ex-Arsenal man Gabriel headed Valencia in front only for Messi to miss from the spot but convert the rebound.
Antoine Griezmann put Barca ahead and Messi clipped in a trademark free-kick before Carlos Soler's screamer gave Valencia vain hope.
Barca host leaders Atletico next Saturday at the Nou Camp.
Third-placed Barcelona are level on points with arch rivals Real but beneath them in the table because Real have won both El Clasico games this season.
A shock defeat at home to Granada last time out had left little room for error in Barca's quest to regain the title.
And Gabriel's thumping header just after half-time piled further pressure onto Ronald Koeman's side.
It took a lackadaisical penalty from Messi to spark them into life.
Jasper Cillessen pulled off a tremendous save from Messi's spot-kick only for the Argentine to pounce for the equaliser in the ensuing scramble.
Frenkie de Jong's header was then brilliantly turned aside by Cillessen but this time Griezmann was on hand to convert from close range.
Barca's final goal was vintage Messi, a whipped free-kick that kissed the inside of the post and nestled in the far corner.
It was arguably not the best goal of the night with Soler's fine strike from distance almost dragging Valencia back into it, but Koeman's team held on.
Latest Stories
-
Drowned widow was scammed out of $1.5m on dating app hoax, left note about secret ‘double life’
12 mins -
ECG workers threaten to disconnect power from Ashanti Regional Minister’s home
17 mins -
Brain tumour shatters 20-year-old’s dream of becoming a doctor
24 mins -
ICDP Ghana introduces portable ultrasound machines in rural communities
34 mins -
Seven killed in sleep after Ethiopia building collapses
37 mins -
Fitch affirms ETI at B-; Outlook stable
2 hours -
Pictures: Bawumia meets Pope Francis
2 hours -
Former Bibiani GoldStars midfielder Frank Adjei Jr continues fine form in Swedish League
2 hours -
J.B. Dankwah Adu’s murder: Court orders Daniel Asiedu to open his defence
2 hours -
Marrakech 2024: Five para-athletes to represent Ghana in WPA Grand Prix in Morocco
2 hours -
U.S Senate approves bill to ban TikTok
2 hours -
T-Pain involved in hit-and-run, warns culprit he’ll find them
3 hours -
Cedi hits GH¢14.00 to a dollar; depreciates 12.08%
3 hours -
Major portions of Kasoa-Winneba road to open to traffic in 8 months
3 hours -
Delta Air Lines to fly Airbus A330-900neo on nonstop service from Accra to New York effective October 27, 2024
3 hours