Luis Suarez ended his Barcelona goal drought with a pair of scruffy goals as LaLiga's leaders escaped Leganes with a hard-earned 3-0 win.
Barca were nowhere near their fluent best, but ground out their 11th win from 12 games this term regardless.
Suarez broke his five-game goal drought with a scavenger's effort after an Ivan Cuellar error rendered a promising Leganes start redundant, and the hosts' goalkeeper was left helpless by a deflection as the Uruguay international struck again in the second half, with Paulinho tapping in a late consolation.
At the other end, Marc-Andre ter Stegen made a string of saves to preserve the comfortable nature of the scoreline, with half-time substitute Claudio Beauvue missing two fine Leganes openings.
Daunting trips to Juventus in the Champions League and second-placed Valencia next week now await Ernesto Valverde's side, although this victory ensures they will travel to Mestalla sure of keeping top spot.
5 - Barcelona haven't lost in their last five league games after international break. Concentrated pic.twitter.com/dMm1a2GaCF— OptaJose (@OptaJose) November 18, 2017
Leganes were defensively determined and dangerous on the counter-attack, Nordin Amrabat off-target from a raid forward in the 20th minute, but Cuellar's error undid their good work just before the half-hour.
Paco Alcacer's radar was off as he whipped a ball into the area, but Cuellar's attempt to parry clear spun back into danger and Suarez pounced to end his drought.
Barca's joy was almost immediately tempered as Gerard Pique picked up a booking to rule him out of next week's clash with Valencia and Alexander Szymanowski brought a sharp save out of Ter Stegen before the break as Leganes stuck to their task.
Ter Stegen was again called into action when Amrabat sent Beauvue clear seven minutes into the second half, but the Frenchman could only hit the keeper from close-range.
Suarez was booked for a tangle with Cuellar, though the goalkeeper made the most of minimal contact, and the Barca star gleefully rubbed it in the goalkeeper's face when he scored his second scrappy effort of the game shortly afterwards.
Cuellar could count himself unlucky as he denied Alcacer's shot, only to see the rebound fall to Suarez, whose acrobatic effort was deflected past his own goalkeeper by Ruben Perez.
Ter Stegen smothered Amrabat to deny Leganes again soon after and the difference of luck could be summed up when Pique deflected Szymanowski's cross goalwards, but straight into his goalkeeper's hands.
Beauvue blazed over unmarked from 12 yards as Leganes' hopes of a comeback began to fade and Aleix Vidal failed to mark his return from an ankle injury when he blasted a rebound over, following a blocked Suarez effort.
Cuellar spurned a driven Lionel Messi effort and denied Suarez a hat-trick on the follow-up, but the Argentine's determination, despite a game spent on the periphery, led to the clincher in the final minute, Paulinho prodding in his fourth goal of the season to add a sheen to the scoreline that neither side particularly deserved.
Key Opta stats:
- Barcelona have just conceded four goals in LaLiga this season, their best start in terms of goals conceded after the first 12 games ever. Only one team conceded fewer in the first 12 games of a La Liga season (three, Atletico in 1995-96)
- Only Lionel Messi (11) has scored more braces than Luis Suarez (5) in LaLiga in 2017.
- Marc-Andre ter Stegen has made more saves than in any other game of the season in all competitions (7).
- Only Loic Remy has scored as many goals as Paulinho in the last six minutes of the games in LaLiga this season (3).
- Paulinho has scored as many goals as BBC (Bale, Benzema Cristiano) in LaLiga this season (4).
|European Ryder Cup diary: Fleetwood´s hair delights Poulter|
|USA Ryder Cup diary: Tiger´s roaring reception, McEnroe´s bold prediction|
|Loans to be limited under new FIFA proposal|
|Prolific Nadolo signs new Montpellier contract|
|Modric? For us, Messi is the best – Valverde|
|Murray makes winning start in Shenzhen|
|Mickelson would cherish first victory on European soil|
|Hodge hoping pressure proves too much for South Africa|
|Woodward in show of support for under-fire Mourinho|
|Mickelson jokes he wants ´a shot a side´ from Tiger in Thanksgiving showdown|
|Reed: Captain America is a villain in Europe|
|Duminy to captain Proteas as Elgar replaces injured Amla|
|No Tottenham timeline for Lloris, Vorm returns|
|Woods ready for ´awesome environment´ on Ryder Cup opening hole|
|Tony Bellew determined to prove doubters wrong against Oleksandr Usyk|
|Tuchel explains why he likes Neymar at number 10|
|Manchester United smash revenue record but profits down|
|Furyk downplays Ryder Cup pairings talk, says Tuesday is about individuals|
|Rejuvenated Tiger out to improve poor Ryder Cup record|
|Saunders fined £100,000 for ´sickening´ online video|
|Hazard can reach his full potential with Sarri´s Chelsea - Zola|
|Ryder Cup heading back in Europe´s direction, says Niall Horan|
|Wow! Klopp hails Sarri´s Chelsea transformation|
|Giovinazzi to partner Raikkonen at Sauber in 2019|
|Bjorn backs ´phenomenal´ Rahm to continue trend of Spanish success|
|Durant in no rush to decide Warriors future|
|Rossi to face anti-doping hearing|
|Mignolet to return for Liverpool against Chelsea|
|Premier League ´interesting´ for Germany boss Low|
|Wilder wins Twitter vote to be Joshua´s next opponent|
|BREAKING NEWS: Isco an El Derbi doubt due to appendicitis|
|Juventus won´t rest Ronaldo ahead of Napoli clash|
|Slater cleared to play in NRL Grand Final|
|Top seed Begu sent packing in Tashkent|
|This isn´t my last hurrah in Ryder Cup, insists Poulter|
|Barba back in NRL with North Queensland Cowboys|
|Arsenal wait on Mkhitaryan and Sokratis|
|All Blacks wary of Pumas pack ahead of Buenos Aires Test|
|Ryder Cup has special place in Pep Guardiola´s heart, says Fleetwood|
|Mbappe ready to take over from Messi and Ronaldo, says Trezeguet|
|Molinari: Ryder Cup pressure far outweighs any major|
|Koepka heads PGA Tour´s Player of the Year nominations|
|Lampard: Mourinho still a great manager|
|United States and Europe reveal Ryder Cup practice groupings|
|Bulldogs´ fine for ´Mad Monday´ antics halved|
|Bennett to leave Broncos after 2019 NRL campaign|
|American League postseason picture becomes clear|
|Steelers edge Buccaneers for first win|
|Gatland wants Webb available for World Cup|
|Modric: Ronaldo, Messi out of this world but my season deserved recognition|
|Love says Cavs ´will surprise a lot of people´|
|George believes Thunder can compete for championship this season|
|Messi is the greatest ever – Eto´o|
|Messi to miss Argentina´s upcoming friendlies|
|Dolphins say Hayes tore ACL attempting to avoid roughing-the-passer penalty|
|Modric deserved FIFA Best award – Ramos|
|Thibodeau open to potential Butler trade|
|Modric wanted Ronaldo, Messi at awards ceremony|
|Brewers´ Yelich active after elbow hit|
|Anthony on coming off Rockets´ bench: Whatever I have to do to help this team win|
|Raiders coach Gruden says Mack trade was hard on players|
|Bale lauds ´unbelievable´ Modric after FIFA Best triumph|
|Ronaldo, Messi lacked respect with FIFA Best awards snub - Capello|
|New Zealand the benchmark but England can win World Cup - Mitchell|
|FIFA Best Award a dream come true for Modric|
|Lakers a long way from Warriors, warns LeBron|
|Milner pokes fun at Salah´s Puskas Award win|
|Josh Rosen to replace Sam Bradford as Cardinals starting quarterback|
|Kaymer: Home-course advantage crucial to Europe hopes|
|Marta and Pedros win FIFA Best awards|