Pecchia spent a single season with Juventus during the 1997–98 season, under his former Napoli manager Marcello Lippi, winning the 1997 Supercoppa Italiana, and the Serie A title with the club that season, also reaching the 1998 UEFA Champions League Final. He made 21 league appearances that season, and scored a decisive goal against Empoli to claim the league title. He struggled to break into the first team, however, and was usually used as a reserve, due to the presence of Zinedine Zidane and Edgar Davids in Juventus's midfield. Pecchia was subsequently loaned out to Sampdoria for the 1998–99 season, and he was sold to cross-city rivals Torino for 5.9 billion Italian lire (€3,047,096) in 1999, playing the 1999–2000 season with the Turin club, and suffering relegation to Serie B. In June 2001 Juve gave up the remain 50% registration rights to Torino.