It was not a classic Barcelona performance by any means at the Estadio Jose Zorrilla, and they escaped at the death as a Keko equaliser for the host was disallowed due to a marginal offside call
Ousmane Dembele's second-half strike was the difference as reigning La Liga champion Barcelona ground out a 1-0 win away to newly-promoted Valladolid Saturday to maintain their perfect start to the campaign.
It was not a classic Barca performance by any means at the Estadio Jose Zorrilla, and they escaped at the death as a Keko equaliser for the host was disallowed due to a marginal offside call.
Nevertheless, Ernesto Valverde's side now have six points out of six and are yet to concede a goal, with this victory following a 3-0 success against Alaves on the opening weekend.
Lionel Messi had scored twice in that game, but he struggled to make an impact here on a dreadful pitch that kept cutting up.
Instead it was Philippe Coutinho who came closest to opening the scoring in the first half, his low shot from the edge of the area heading for the corner before Jordi Masip turned it around the post.
On a night when Gerard Pique made his 300th appearance in La Liga, none of Barca's close-season signings started, although Arturo Vidal and Brazilian winger Malcom came off the bench late on.
By that time Dembele, whose first season at Barca after joining from Borussia Dortmund was marred by injury, had scored the crucial goal. Sergi Roberto headed a 57th-minute cross back down into the path of the French international, who swept the ball past Masip.
The visitor then thought they had scored a second in the closing stage as Messi released Luis Suarez to slot home, but the offside flag cut short the celebration.
Barca were then rescued by the Video Assistant Referee in the second minute of added time. Substitute Keko, having earlier headed a glorious chance straight at Marc-Andre ter Stegen, this time saw his header find the back of the net.
The Valladolid fans, who saw their team win promotion via the play-offs, erupted in celebration, but the assistant referee had spotted the offside, and video replays confirmed it was the right decision, if only just.
Barca's win followed a similarly unspectacular victory for Atletico Madrid earlier, as the Europa League holder beat Rayo Vallecano 1-0 in a capital derby.
Antoine Griezmann, a member of France's World Cup-winning squad along with Dembele, scored the only goal of the game in the 63rd minute at the Wanda Metropolitano as Diego Simeone's men notched their first league win of the campaign.
Atletico, tipped to challenge Barca and Real Madrid for the title this term, kicked off their campaign with a 1-1 draw at Valencia last weekend.
Despite labouring for long periods, they proved too strong for an impressive Rayo, who were champion of the second-tier last term but have lost both games so far this season.
The goal came when Montenegrin centre-back Stefan Savic climbed highest to nod down a corner, and Griezmann, who scored 29 times in all competitions last season, swivelled to slot into the net.
Atletico struggled to close out the win, though, with goalkeeper Jan Oblak having to keep out Adri Embarba's free-kick and dive at the feet of Alex Moreno to smother the full-back's effort.
But the Slovenian 'keeper kept his best save for the 90th minute, as he sprung to his right to beat away Sergio Moreno's well-struck shot and ensure Atletico took all three points.
Earlier Saturday, Alaves and Real Betis played out a goalless draw as both teams got off the mark for the season after defeats last week.
After beating Getafe 2-0 last weekend, Real go to Girona Sunday night.
Alaves 0 Betis 0
Atletico 1 (Griezmann 63) Vallecano 0
Valladolid 0 Barcelona 1 (Dembele 57)
Espanyol v Valencia, Girona v Real and Sevilla v Villarreal