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).
|Martinez happy to be ´boring Belgium´|
|Japan v Senegal: Squeaky clean Group H rivals eyeing huge step towards last 16|
|Argentina team the worst in history - Ardiles|
|Ravanelli upsets wife by taking Arsenal job...in Kiev|
|Federer moves a step closer to 10th title in Halle|
|Brazil 2 Costa Rica 0: Coutinho and Neymar score in stoppage time to snatch win|
|Andersson: Sweden embracing big occasion as bug sweeps through team|
|LeBron in ´good dialogue´ with Cavaliers|
|Ronaldo will always be the best, Fonte claims|
|Southgate criticises press for England team leak|
|O´Mahony: Series win in Australia would be up there with Grand Slam|
|Khedira thrilled with Can capture, staying with Juventus|
|Samuel open to Higuain-Icardi swap deal|
|It´s just a game - Milligan disappointed by Kruse criticism|
|From drug-testing lab to gastro pub: Sochi happy not to forget dark past|
|Ronaldo will do what is best for him, says Carvajal|
|Kohli: India will feel at home in England|
|Barca target Lenglet yet to decide future|
|Germany perform best under pressure, Klose claims|
|Juanfran signs one-year Atletico Madrid extension|
|Julian Nagelsmann: The remarkable rise of RB Leipzig|
|Sterling: my daughter is Liverpool through and through!|
|Van Bommel to take charge of PSV|
|Hansen urges France not to ´squeal´ over decisions|
|Intelligent Jones will turn England´s fortunes around - Moody|
|Nainggolan confirms imminent Inter transfer|
|U.S. Open missed cut may be blessing in disguise - McIlroy|
|Schmidt in no rush to decide on his future|
|Wallabies treating decider as grand final - Hooper|
|Salah won´t leave World Cup, Egypt FA boss claims|
|Chandimal, Hathurusinghe and Gurusinha admit ´serious´ conduct breach|
|Mikal Bridges´ 76ers dreams dashed in dramatic draft twist|
|They want to pull you down - Sterling hits out at tabloid press|
|Lazaridis wants West Ham to stick with Mexico star Hernandez|
|Get behind Sterling, urges Henderson|
|Sampaoli begs for Argentina´s forgiveness|
|The 2018 NBA Draft first round in full|
|Everything still to play for against ´very strong´ France, says Eriksen|
|Cubs bested by Harvey, Yankees sweep Mariners|
|Spurs GM: We´ll do what we can to keep Leonard|
|Lovren: This Croatia team are better than 1998 heroes|
|Internationals Musa, Okobo selected in NBA Draft|
|Modric is the world´s best number 10 – Arbeloa|
|Kurz stay crucial to Jakobsen´s Adelaide move|
|Nuggets end Porter´s slide at number 14|
|Argentina were crying like girls – Vrsaljko|
|Cavaliers select Sexton with number eight overall pick|
|Argentina must ´pray´ results go their way, says Mascherano|
|Grizzlies select Jackson with number four pick|
|Hawks select Doncic with third pick, trade him to Mavericks|
|Kings take Bagley with number two pick|
|Suns select Ayton number one overall in NBA Draft|
|Argentina concerns grow as Dalic vows to rest players against Iceland|
|Messi could retire after World Cup, says Zabaleta|
|Spieth, McIlroy off to hot starts at Travelers Championship|
|Let Sampaoli say what he wants - Aguero angry at Argentina loss|
|Perisic: Messi is the best, but Argentina do not play as a team|
|Dominant England are ´spoiled´ by options, says Morgan|
|Argentina squad ´clouds´ Messi´s brilliance, claims Sampaoli|
|Fagner to start for Brazil due to Danilo injury|
|Arzani lauds leader Jedinak and remains confident on last-16 chances|
|Croatia cut Messi off in Argentina thrashing - Modric|
|Pogba: Kante, Matuidi have 15 lungs|
|Julian Nagelsmann: the Bundesliga prodigy swapping Hoffenheim for RB Leipzig|
|England dominate in Durham to close in on series whitewash|
|´Fortunate´ Federer closes in on Halle title|
|Calamity Caballero and Sampaoli tinkerings leave Argentina a broken mess|
|Wimbledon champion Muguruza confident despite Birmingham defeat|
|Argentina 0 Croatia 3: Caballero drops clanger as Messi´s men are stunned|
|Funes Mori departs Everton to join Villarreal|