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'
|France 1 Brazil 3: Dunga´s men maintain winning run|
|Chile 0 Iran 2: Nekounam and Amiri down Copa America hosts|
|Premier League to share over £1bn from record TV deal|
|Morocco v Uruguay: Last chance to impress Tabarez for Copa champions|
|Iran 2-0 Chile: Nekounam and Amiri down Copa America hosts|
|Ivanovic braced for Ronaldo test|
|Bahrain 0 Colombia 6: Falcao stars in comfortable victory|
|Jones to Bournemouth leads loan deadline day moves in Championship|
|Bahrain 0-6 Colombia: Falcao stars in resounding victory|
|Malmo fined for poor pitch by UEFA|
|League Two Preview: Hartlepool aim to continue great escape, leaders Burton host Stevenage|
|France 1-3 Brazil: Neymar on target as Selecao triumph in Paris|
|Bulgaria v Italy: Verratti vows to be Azzurri´s midfield general|
|Kane primed for full England debut|
|Kone receives positive news over knee injury|
|Terry pens new Chelsea deal|
|PSG tie down Marquinhos|
|De Gea stamp was accidental - Skrtel|
|Villa hopeful over Xavi reunion|
|El Salvador v Argentina: Messi set for Roca reunion|
|Ghana v Senegal: Grant´s side looking to rebuild after AFCON disappointment|
|Ferdinand to serve extended touchline ban|
|League One Preview: Duo aiming to inspire Notts County revival, Alexander back at Preston|
|Hodgson keeps an eye on Sterling and Milner|
|Filipe Luis cools talk of Atleti return|
|West Brom to wear retro kit for Leicester clash|
|Netherlands v Turkey: Sneijder unconcerned by key absentees|
|Del Bosque wary of Ukraine threat|
|Israel v Wales: Pivotal fixture for both sides in chase for Euro dream|
|Bosnich backs Villa to beat drop|
|Walcott denies Wenger ´bust-up´|
|Hart: Aguero more difficult to face than Messi|
|Williams: I can´t see myself playing for anyone else|
|Coutinho eager to add more goals to his game|
|Khedira confirms Real exit|
|Messi attends NBA match with Argentina squad|
|United will qualify for Champions League - Bosnich|
|Mexico v Ecuador: Hernandez desperate to play|
|Podolski plays down Germany cameo|
|Bendtner: I could have scored four|
|Leverock family adds to World Cup exploits for Bermuda|
|Pele: ´Impossible´ for Neymar to replace me|
|MLS Preview: New England hoping to end drought|
|A-League Preview: Phoenix without stars for Sydney showdown|
|Klinsmann laments late collapse|
|Premier League clubs post first pre-tax profit for 15 years|
|Vokes relishing chance to link up with Bale|
|Dunga encourages Brazil to entertain|
|Dyke: FA to discuss Hodgson extension|
|Janko eyes history with Austria|
|Wilson urges Begovic to stay put|
|Strachan: Scotland have work to do|
|Sky´s the limit for Australia - Postecoglou|
|Low unhappy with below-par Germany|
|Scotland 1 Northern Ireland 0: Berra´s header settles dour contest|
|Germany 2 Australia 2: Substitute Podolski salvages draw|
|Denmark 3 United States 2: Bendtner hat-trick rescues Danes|
|Scotland 1-0 Northern Ireland: Berra the unlikely hero for hosts|
|Gobbi: Players will ´pay the price´ to keep Parma afloat|
|Rose withdraws from England squad|
|Germany 2-2 Australia: Podolski rescues draw for World champions|
|Denmark 3-2 USA: Bendtner hat-trick wins it for the Danes|
|Nigeria 0 Uganda 1: Late winner sours Enyeama landmark|
|Swaziland 1 South Africa 3: Bafana Bafana back to winning ways|
|Camp Nou to host Copa del Rey final|
|Labadie charged with violent conduct after biting claims|
|Bender keen to rekindle Bayern rivalry|
|Swansea eager to tie down Taylor|
|Varane learning from Real troubles|
|Forster ruled out for rest of season|
|Inter full-back Dodo has successful surgery|
|Verratti focused on future at PSG|
|Minnesota awarded MLS expansion team|
|Ibrahimovic slams ´b******t´ PSG exit rumours|
|Gibson withdraws from Ireland squad|
|Ozil convinced he can win Ballon d’Or|
|Costa: I take a beating from Premier League defenders|
|Canada v Guatemala: Floro seeks to develop winning mentality|
|Vermaelen returns to Barcelona training|
|Euro 2016 Qualifying Preview: Spain face big Ukraine test, Germany visit Georgia|
|Spain v Ukraine: Morata set for first competitive start|
|England v Lithuania: Hart urges Kane not to leave U21s behind|
|Monchengladbach snap up Hannover skipper Stindl|
|Khedira gives strong hint of Real exit|
|Skrtel banned for three matches|
|Brisbane Roar 1 Western Sydney Wanderers 4: Champions´ title defence in tatters|
|Sampdoria swoop for Ajax captain Moisander|
|Barnes: Sterling not ready for big-money move|
|Ferdinand: Ramsey appointment a gamble|
|Ideye hopeful of facing QPR|
|Lampard eyes MLS showdown with Gerrard|
|Ronaldo could face suspension over Clasico celebration|
|Hodgson expects more withdrawals|
|Schalke fans overwhelm Farfan after injury lay-off|
|Swedish third-tier club Dalkurd avoid Germanwings flight|
|Japan v Tunisia: Halilhodzic takes charge of hosts for first time|
|Schweinsteiger brushes aside captaincy pressure|
|Barzagli supports Conte call-ups|
|South Korea v Uzbekistan: Stielike searching for improvement|
|France wary of more balanced Brazil|