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).
|Southee happy to be back on home soil|
|I wouldn´t swap Dembele for Neymar – Pires|
|Canelo ready to risk heavy weather against Fielding|
|Raptors upstage Warriors, Davis leads Pelicans with 44 points|
|India skipper Kohli excited by green Perth wicket|
|PSG? I haven´t decided my future yet – De Jong|
|Marcelo: Real Madrid don´t have attitude problem|
|India pair Ashwin, Rohit ruled out of second Test|
|Kovac: Ajax-Bayern draw was amazing|
|Sims re-signs with Dragons until 2022|
|Derrius Guice injury update: Redskins RB (knee) has rehab setback, undergoes 3 more procedures|
|Emery: Arsenal could sign defender in January|
|Phillies sign McCutchen to three-year deal|
|O´Neal thinks his Lakers teams could ´easily´ beat Warriors|
|A-League to add two clubs by 2020|
|Curry says he was ´obviously joking´ about moon landing comments|
|Now the beautiful part starts – Ronaldo ready for Champions League knockout stage|
|Bayern have a lot more potential – Lewandowski not satisfied despite top spot|
|Lyon star Fekir shares plaudits for Champions League progression|
|Mourinho not surprised by United´s defeat to Valencia|
|Motivation no issue for Benfica, claims Vitoria|
|Lewandowski finishes Champions League group stage as top scorer|
|Mourinho: We scored two goals and lost 2-1!|
|England have a diamond - Guardiola hails City´s Foden|
|Sterling´s carefree display invites us to love football more than others hate|
|Juventus achieved their objective, despite everything going wrong – Allegri|
|Never say never - Schmidt not ruling out All Blacks role|
|Bologna´s winning start ended in BCL|
|Di Francesco critical of Roma performance|
|Shakhtar Donetsk 1 Lyon 1: Fekir fires French side through in Group F|
|Benfica 1 AEK Athens 0: Grimaldo sends hosts out on a high|
|Young Boys 2 Juventus 1: Hoarau double seals famous victory|
|Manchester City 2 Hoffenheim 1: City through as group winners after Sane brace|
|Ajax 3 Bayern Munich 3: Kovac´s men clinch top spot in Amsterdam thriller|
|Valencia 2 Manchester United 1: Jones scores own goal as Red Devils limp through|
|Solari accepts responsibility for Madrid´s heaviest home defeat in Europe|
|WATCH: Rooney backs Rocky ahead of Canelo showdown|
|McLaren to collaborate with Team Bahrain Merida|
|Las Vegas to host 2020 NFL Draft|
|Stade teenager tragically dies after neck injury|
|Cahill may need to leave Chelsea if he wants to play, admits Sarri|
|Viktoria Plzen 2 Roma 1: Chory winner takes hosts into Europa League|
|Real Madrid 0 CSKA Moscow 3: Champions humiliated at Bernabeu|
|Sarri condemns ´disgusting´ Sterling abuse|
|Hansen hails outstanding Ben Smith ahead of Pau switch|
|Foden, Sterling start for Manchester City v Hoffenheim|
|Sky decision will not affect us in 2019, insist Froome and Thomas|
|Al Ain 3 Team Wellington 3 (aet, 4-3 on penalties): Shootout heartbreak for semi-pros in Club World|
|Jackson to remain Ravens´ starting QB despite Flacco return|
|Rams headline 2019 NFL International Series home teams|
|Rams headline International Series home teams for 2019|
|Atlanta want ´exciting football´ from new boss amid Bielsa links|
|Atlanta still yet to receive ´serious´ bid for ´Bale-like´ Almiron|
|Tottenham v Manchester United to be held at Wembley|
|Matip facing six weeks out with fractured collarbone|
|I´ve had quite a lot of calls – Brailsford encouraged by Team Sky interest|
|Afghanistan Football Federation president provisionally banned by FIFA|
|Knee injury rules Huddersfield´s Mooy out of Asian Cup|
|Arnautovic tipped for Man United move by Austria team-mate Sabitzer|
|Arsenal legend Adams to become RFL president|
|My love for football still burns strong – Toure speaks out amid talk of Premier League return|
|Noble contract extended to 2021|
|Split with Sky is an opportunity, says Brailsford|
|Van der Burgh rolls back the years, two more medals for Hosszu|
|Maitland-Niles praises Sterling for speaking out|
|Life is tough for him right now - Celtic striker Griffiths to take time away from football|
|Froome: Team Sky keen to continue with new partner|
|Emery confirms Koscielny to play against Qarabag|
|Llorente keen on Athletic return|
|I love the guy - Pocock backs under-pressure Cheika|