Paulo Dybala scored two penalties as Juventus established a two-goal advantage in the first leg of their Coppa Italia semi-final against Napoli.
Jose Callejon had given the visitors the lead after a flowing move.
But Argentine Dybala levelled for the Serie A leaders, converting a spot-kick he was clipped by Kalidou Koulibaly.
Gonzalo Higuain put the hosts ahead from a tight angle before Dybala added his second, converting after keeper Pepe Reina hauled down Juan Cuadrado.
The second leg takes place next Tuesday in Naples.