It was one of Barca's worst performances of the season, particularly during a woeful first half when Fausto Rossi scored for the home side, and they squandered a chance to pull two points clear of Real Madrid at the top.
Barca's players, most of whom were in international action midweek, looked jaded and short on inspiration and Lionel Messi and Neymar wasted a host of opportunities in a generally lethargic display.
Real, who host Barca for the "Clasico" in two weeks, can stretch their lead over their arch rivals to four points with a win at home to Levante on Sunday.
Atletico Madrid will climb above Barca and draw level on 64 points with Real if they beat Celta Vigo later on Saturday.
Image: Fausto Rossi (L) of Real Valladoldo CF celebrates after scoring his team's opening goal
Photograph: Denis Doyle/Getty Images
Messi vomiting 'not normal', says Barcelona coach Martino
La Liga race tightens after Madrid derby draw, Barcelona win
Ronaldo raring to go in Champions League after La Liga ban
Friendlies: Brazil fired by Neymar hat-trick; England struggle vs Denmark
Barcelona's Pique out for two weeks but should be fit for Manchester City