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).
|Marquez asks Mexico fans to ´let them rest´|
|Fabregas hopeful of Spain recall|
|Milinkovic-Savic plays down Juventus speculation|
|Rashford inspired by Ronaldo|
|Messi is not a leader, he is no Ronaldo, claims Petit|
|Better than Ballack? Hodgson backs Loftus-Cheek to shine against Panama|
|Svitolina and Garcia suffer upsets|
|Walker responds to Ferdinand criticism|
|Djokovic still hungry for more after reaching major milestone|
|Ellis drop goal earns Castleford dramatic win|
|Nigeria hero Musa unsure on Leicester City future|
|X marks the spot - Granit´s rocket sets World Cup first|
|Xhaka and Shaqiri follow the script as Serbia are derailed|
|Chandimal appeal against ban rejected|
|Real Madrid sign teenage goalkeeper Lunin|
|Serbia 1 Switzerland 2: Shaqiri strikes late to clinch crucial comeback victory|
|Suspended Srna joins Serie A side Cagliari|
|Cilic sets up Kyrgios showdown as Djokovic reaches milestone|
|Kudla up next in Federer´s Halle ´fight´|
|Assistant Farbrace to take charge of England for T20 games|
|Hummels hoping to be fit for Sweden clash|
|Hend surges clear as Fleetwood struggles again in Pulheim|
|Giant-killers Mexico embrace sudden weight of expectation|
|Roma complete €17.25m Kluivert deal|
|Pakistan name strong group for Zimbabwe tour|
|Choc Horror: Boullier insists McLaren do not hand out Freddos as bonuses|
|Neymar: Not everyone knows what I went through|
|Poland v Colombia: No time to dwell on regrets, warns Aguilar|
|Musa shows Messi how it´s done to set up critical Argentina showdown|
|Nigeria 2 Iceland 0: Musa brace boosts Super Eagles & Argentina|
|McLaren and Renault open to Ricciardo talks|
|We must win, we have no other choice - Maaloul|
|Germany will respond against Sweden, insists Low|
|´The best among all Asians´, South Korea trust in Son against Mexico|
|Stalin´s bunker an unlikely site for Russia´s World Cup charm offensive|
|England v Panama: Rashford tipped to start as Southgate´s side aim for last 16|
|Erasmus wary of ´wonderful´ Cipriani|
|Hummels to miss Germany-Sweden, confirms Low|
|Murray accepts Eastbourne wildcard|
|St Petersburg madness lines up Neymar and Brazil with heroes of the past|
|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|