Gonzalo Higuain scored twice to give Napoli their first win in four Serie A games as Milan were beaten 3-1 at Stadio San Paolo.
Adel Taarabt's debut goal had given Clarence Seedorf's Milan an early lead on Saturday, but Napoli were not to be denied a deserved victory.
Gokhan Inler equalised soon after, and Higuain struck twice after half-time to take his Serie A goal tally to 12 for the season and give Rafael Benitez's men their first league win since a 3-0 triumph at Verona on January 12.
Napoli, who were beaten by Atalanta in Serie A last weekend and Roma in semi-final of the Coppa Italia in midweek, dominated from start to finish and are now only three points behind second-placed Roma - who have two games in hand.
Defeat for Milan was their first in the league since Seedorf took over as coach last month, but the Dutchman may count his blessings that his side were not beaten by a more handsome margin.
Napoli defender Faouzi Ghoulam replaced the injured Anthony Reveillere and Dries Mertens came in for Jose Callejon, who started on the bench along with January signing Henrique.
Michael Essien and Taarabt made their Milan debuts, while striker Mario Balotelli returned from suspension as Seedorf made six changes to the side that drew with Torino last weekend.
Napoli made a bright start, but they were caught out after only seven minutes when QPR loanee Taarabt raced forward before placing a measured right-foot strike into the far corner of the net from just outside the area as the home defence backed off.
The goal was harsh on Benitez's team, but they were level three minutes later courtesy of a fine left-foot strike from Inler that took a deflection and looped over Christian Abbiati.
Milan struggled to cope with Napoli's attacking threat, and Higuain was inches away from putting the home side in front when his shot flashed wide of the far post.
Abbiati was lucky to escape with only a yellow card after 22 minutes when he rushed out of his area and upended Mertens after the winger had raced onto a through ball and attempted to lob the veteran goalkeeper.
To add insult to injury, Abbiati kept out the resulting free-kick from the Belgium international, before Marek Hamsik's venomous left-foot volley flashed just wide.
Christian Maggio then hit the post from a tight angle and Lorenzo Insigne headed just wide as Milan somehow went in level at the break.
Kaka replaced fellow Brazilian Robinho at half-time, but his introduction failed to turn the tide as Napoli maintained the upper hand and Abbiati could only watch on as Insigne's strike flashed wide.
It was only a matter of time before the home side took the lead, and it was former Real Madrid man Higuain who put them in front when he headed home an inviting cross from Inler 11 minutes into the second half.
The Argentina striker was a constant menace and he ought to have given Napoli breathing space but missed his kick after evading the vulnerable Philippe Mexes.
Napoli could have been made to pay for not making their dominance count but Taarabt's strike was kept out by Pepe Reina and then Balotelli failed to capitalise after the Spanish goalkeeper had totally missed his kick.
Higuain sealed the points with eight minutes left, though, slotting home from close range after Callejon picked him out.
|88||G. İnler||11' 38'|
|9||G. Higuaín||56' 82'|
|Coach: Rafael Benítez|
for L. Insigne 78'
for M. Hamšík 83'
for G. İnler 89'
|´Equating Messi with anyone else is like comparing a policeman with Batman´ - Sampaoli|
|It will take years to build football culture, Wenger warns CSL|
|´Worried´ Rakitic wants Barca renewal|
|Inter not signing Messi - Moratti|
|Luis Enrique hails Barca defence after ending Anoeta curse|
|´He is made of different stuff´ - Spalletti hails Nainggolan after wondergoal|
|Tottenham´s Janssen turned down Galatasaray move, agent claims|
|Did Carroll´s wondergoal give the West Ham striker whiplash?|
|Iniesta suffers calf injury|
|Swansea situation not ´hopeless´, says Clement|
|Real Sociedad 0 Barcelona 1: Neymar ends Anoeta curse|
|´Immeasurable bulls**t´ - Ligue 1 coach destroys Van Basten´s offside plan|
|Simeone praises Atletico´s precision in Copa Del Rey win|
|Fonte situation difficult for Southampton - Puel|
|´Some of the best football in the UK´ - Watford´s Mazzarri hails Bournemouth|
|Senegal 2 Zimbabwe 0: Cisse´s men charge into quarter-finals|
|Rivaldo backs Luis Enrique to deliver more Barca success|
|Atletico Madrid 3 Eibar 0: Routine win earns quarter-final lead|
|Jesus will make Premier League history - Rivaldo|
|Adebayor: Arsenal are just Ozil and Sanchez|
|Algeria 1 Tunisia 2: Favourites on brink of elimination|
|Bayern keen to seal Coman deal as Rummenigge cools Gnabry interest|
|Pochettino has done his homework on Jesus as Spurs look to march on|
|Scrap offside? Premier League managers give Van Basten´s plans a cool reception|
|Coman ready for Bayern comeback, confirms Ancelotti|
|Pochettino upbeat despite six weeks out for Vertonghen, Lamela still a mystery|
|Cerezo defiant over Griezmann amid talk of Manchester United agreement|
|Robinho named in Brazil squad for Chapecoense fundraiser|
|Davies and Lookman aren´t the big men of Everton, warns Koeman|
|Ivory Coast v DR Congo: Dussyer demands champions show true strength|
|Replacing Robben and Ribery not easy - Hitzfeld|
|Yeray back in Athletic training after successful cancer surgery|
|Karanka targeting more Boro deals after Bamford swoop|
|Cavani: I am the ultimate finisher|
|Morocco v Togo: El Ahmadi hungry for success|
|Ancelotti denies Verratti approach|
|A-League Review: Cahill double sees Melbourne City sink Mariners|
|Manchester United very happy with Shaw, insists agent|
|Mertesacker extends Arsenal deal|
|Boost for Arsenal as key quartet returns to training|
|Will Jesus save Manchester City´s title bid? Guardiola´s new striker in Opta numbers|
|Tevez mobbed after touching down in Shanghai|
|Payet exit not inevitable - Bilic|
|Wenger: Arsenal don´t need Payet|
|Jesus wants Manchester City titles|
|Orsolini arrives for Juventus medical|
|Rivaldo backs Coutinho to join Neymar at Barcelona|
|No danger of Messi leaving Barcelona, says father|
|Augusto: I convinced Oscar to come to China|
|Madrid-bound Maradona visits Napoli training|
|Sevilla in no rush over Sampaoli talks despite Barcelona links|
|Cafu: Resurgent Brazil can challenge world´s best|
|Klopp thrilled with Coutinho|
|Manchester United replace Real Madrid as world´s richest club|
|Madrid squad annoyed by defeats - Zidane wants more energy after latest loss|
|Casemiro rues more misery for Madrid against Celta|
|´Job done, let´s go home´ - Klopp happy to avoid extra time with narrow Plymouth win|
|FA Cup Review: Southampton leave it late to beat Norwich|
|Real Madrid 1 Celta Vigo 2: Aspas and Jonny extend Madrid winless run|
|Plymouth Argyle 0 Liverpool 1: Rare Lucas goal sees Klopp´s men through|
|Manchester City in La La Land as Schalke toil underground|
|Cameroon 2 Guinea-Bissau 1: Ngadeu-Ngadjui completes comeback to send Broos´ men top|
|Monaco confirm signing of Ajax teenager Antonucci|
|Manchester United´s interest in Griezmann is unsurprising - Simeone|
|Bamford ends spell in Chelsea wilderness with Boro return|
|Louis the great - Luis Enrique explains his and Barca´s debt to Van Gaal|
|Gabon 1 Burkina Faso 1: Spot-on Aubameyang makes his point|
|PSG send Ikone on loan to Montpellier|
|Senegal v Zimbabwe: Cisse wants to live up to favourites tag|
|Ghana´s Rahman leaves AFCON with knee injury|
|Algeria v Tunisia: Mahrez demands improvement in crucial Group B clash|
|Dortmund forward Dembele hits out at Bundesliga refereeing|
|Robben hopes Alonso stays at Bayern amid retirement rumours|
|Asian champions Jeonbuk banned from 2017 Champions League|
|Rakitic still an important player for Barcelona - Luis Enrique|
|Jesus will develop quicker at City - Emerson|
|Always take the weather with you - Spanish snow blights CSKA´s training camp|
|Messi never gave Coach interview, claims father|
|Gotze questions critics but admits to falling short of expecations|
|´Conte can have our title´ - Ranieri wants Chelsea to win the Premier League|
|Tottenham reject Premier League, Bundesliga offers for Wimmer|
|Liverpool sell Ilori to Reading|
|Potential victims in football abuse probe surpasses 500|
|Bonaventura signs new AC Milan contract|
|Messi: Ronaldo has achieved great things|
|Koscielny: Wenger has built men at Arsenal|
|Messi vows to stay at Barcelona ´for as long as they want me´|
|Cafu adamant Neymar will become world´s best|
|I´m just taking a sabbatical - Van Gaal denies he´s retired|
|Not even Gerrard won Premier League - Buttner says he´s not a United flop|
|Samper ignored Wenger as Barca midfielder rejected Arsenal|
|Pleased Pioli wants more from Inter|
|Evergrande boss Scolari dismisses Turan links|
|Klopp seeks legal advice over Matip|
|Marseille complete Sanson move|