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).
|Mourinho: Dalot can play at Man United for more than 10 years|
|Johnson hoping to erase East Lake demons|
|´No question´ Fitzgerald faces Bears, says Cardinals´ Wilks|
|Rodgers says roughing the passer penalties are ´going the wrong direction´|
|Ravens fined $200,000 for violating communication policy|
|LeBron James set to star in ´Space Jam´ sequel|
|Ronaldo red card ´absurd´, says Pjanic|
|Kovac hails ´special´ Sanches after Bayern goal|
|Marcelino: Tearful Ronaldo said he did nothing wrong|
|Fernandinho takes blame for Man City´s Lyon loss|
|Lovren denies any wrongdoing after perjury charge|
|Plzen boss Vrba slams late mistakes|
|I almost scored as many as Messi - Tagliafico the unlikely hero for Ajax|
|Ronaldo deserves Ballon d´Or not Modric, says Casemiro|
|United fan Rafael - I´ve never lost at City|
|Davis explains abrupt mid-game NFL retirement: ´Football is not for me´|
|Lopes pays tribute to under-fire Lyon coach Genesio|
|Toulon´s Bastareaud handed five-week ban|
|Steelers WR Brown disciplined for missing meeting|
|Arteta refuses to make excuses for Manchester City´s Lyon loss|
|Allegri calls for VAR after Ronaldo´s contentious red card|
|Championship Review: Boro go second, Birmingham still winless|
|Lopetegui: Mariano took his chance|
|Juventus proved their quality after Ronaldo red card - Bonucci|
|Pogba ´class´ impresses Mourinho|
|Man City not Champions League favourites, insists Bernardo Silva|
|Isco calls for Modric to win Ballon d´Or after Champions League win|
|Wawrinka into last eight in St Petersburg|
|Goal hero Pogba is one of the best in the world - Shaw|
|Sane SOS can´t salvage sorry City display|
|Hoffenheim will learn lessons from Shakhtar draw, insists Nagelsmann|
|Valencia 0 Juventus 2: Pjanic hits the spot after Ronaldo sees red|
|Viktoria Plzen 2 CSKA Moscow 2: Krmencik heroics undone by late show|
|Benfica 0 Bayern Munich 2: Sanches returns to haunt his former club|
|Young Boys 0 Manchester United 3: Pogba double inspires Red Devils|
|Manchester City 1 Lyon 2: Cornet and Fekir stun Champions League favourites at home|
|Real Madrid 3 Roma 0: Isco stunner sets up winning start for Champions League holders|
|Ronaldo sent off on Champions League debut for Juve and may miss United reunion|
|Shakhtar Donetsk 2 Hoffenheim 2: Maycon denies Nagelsmann´s side|
|Ajax 3 AEK Athens 0: Tagliafico at the double in opening win|
|Dalot makes debut, Martial starts for Manchester United|
|India avenge ICC Champions Trophy loss with big win over Pakistan|
|Ronaldo makes Champions League debut for Juve|
|Lopetegui picks Navas over Courtois for Champions League clash with Roma|
|Willian very happy under Sarri after Conte row|
|Sarri deals blow to Chelsea kids´ Europa League hopes|
|Mendy out for Manchester City as Aguero makes bench|
|Cech accepts performances key to securing Arsenal stay|
|Monchi rules out Spain return amid Barcelona rumours|
|Durham skittled for 61 and 66 on the same day|
|Kane isn´t a machine – Lamela defends misfiring Spurs star|
|Hazard left out of Chelsea squad for PAOK trip|
|Tiger feels close to ending drought after achieving Tour Championship goal|
|Leno in line for Arsenal chance in Europa League|
|Gazidis leaves Arsenal in good shape, insists Emery|
|Eagles bring back WR Matthews, place Wallace on IR|
|England include Stokes, Hales and uncapped seamer Stone in ODI squad|
|Suwon Bluewings 0 Jeonbuk Motors 3 (aet, 4-2 on penalties): Quarter-final comeback ends in spot-kick|
|Australia captain Paine ready to slog it out with Pakistan|
|Nadal pulls out of China Open & Shanghai Masters with knee injury|
|Ostapenko begins Korea Open defence with victory|
|Joshua v Povetkin: How Olympic super heavyweight champions have fared|
|Liverpool ´made a point´ with PSG victory - Gomez|
|Osaka wows Tokyo crowd on WTA return|
|Excited Povetkin arrives in England for Joshua showdown|
|Kovac patience with Sanches set to reap rewards|
|Kovac: Madrid strong without Ronaldo, Messi is the best|
|ATP suspends umpire Lahyani over Kyrgios ´pep talk´ at US Open|
|North and South Korea seek to co-host 2032 Olympics|
|Ampadu signs long-term Chelsea contract|