Kalidou Koulibaly’s stoppage-time own goal handed Juventus a thrilling 4-3 home win against Napoli, who had fought back from 3-0 down.

Cristiano Ronaldo looked to have put the game beyond Napoli when he struck Juve’s third goal just after the hour-mark following first-half goals from the substitute Danilo, on his debut, and Gonzalo Higuaín.

Napoli hit back as Kostas Manolas and Hirving Lozano scored within the space of two minutes before Giovanni Di Lorenzo looked to have snatched Napoli a point with a late equaliser.

Juventus 4-3 Napoli: Serie A – as it happened Read more

But in added time Napoli’s Senegal defender Koulibaly turned the ball into his own net on the volley to hand Juve their second Serie A win of the season in front of Maurizio Sarri, who was watching from the stands following a bout of pneumonia.

Juve, who gave debuts to Danilo and Matthijs De Ligt, the latter in place of the injured captain, Giorgio Chiellini, were first to threaten when Ronaldo’s long-range effort was well saved by the Napoli goalkeeper, Alex Meret. Napoli responded through Allan’s fierce low shot from outside the area, which was brilliantly saved by the Juventus goalkeeper, Wojciech Szczesny, before the home side struck twice in three minutes to seize control.

Danilo, who had replaced the injured Mattia De Sciglio a minute earlier, opened the scoring with his first touch, firing home from inside the area following a swift counter-attack and a Douglas Costa assist.

Juve made it 2-0 in the 19th minute. Napoli failed to clear the danger following a free-kick into the area and Higuaín lashed his first goal of the season into the top corner.

European roundup: Osasuna hold Barcelona despite teenage Fati’s record Read more

Ronaldo headed wide on the half-hour mark and Sami Khedira’s shot from outside the area crashed off the crossbar, while Lorenzo Insigne spurned a chance for Napoli just before half-time when he blazed off target following a corner.

Napoli started the second period on the front foot. Piotr Zielinski forced Szczesny into another good save, Dries Mertens fired just wide and Di Lorenzo’s header flew the wrong side of a post.

The Juventus midfielder Blaise Matuidi and Mertens both had decent attempts well saved before Ronaldo appeared to have settled the contest in the 62nd minute. The Portuguese latched on to another Douglas Costa assist and buried his shot into the bottom corner for his first goal of the season.

But Napoli struck twice in two minutes to open the game up again. Manolas headed home Mário Rui’s ball into the box and in the 68th minute Lozano lashed in Napoli’s second after being picked out by Zielinski in the area.

Douglas Costa and Napoli’s Fabián Ruiz both went close to adding to the scoreline – the former’s effort hitting the bar – before Di Lorenzo’s angled drive from the left side of the six-yard box, following José Callejón’s cross, found the bottom corner.

Juve’s Paulo Dybala then pulled a shot wide and, just as the game appeared to be heading for a draw, Koulibaly made a hash of his attempted clearance from a free-kick in the second minute of added time and turned the ball into his own net.