Musetti delivered a superb performance to defeat world No.10 Rafael Jodar for the first time in three meetings this year, 6-7(4), 6-2, 6-1, before Alcaraz levelled the final with a 6-2, 7-6(4) win over Flavio Cobolli.
The 27th-ranked Musetti then teamed up with Andrea Vavassori to take down Alcaraz and Marcel Granollers 6-2, 7-5 and hand Italy a second consecutive victory over Spain in a Davis Cup final.
Italy are the first nation to win four straight Davis Cup titles since the Challenge Round was abolished following the 1971 event, and the first since the USA won five in a row from 1968 to 1972.
The Italians are on a 17-match winning streak in the Davis Cup and can credit Musetti for their success this week as the 24-year-old won all three of his singles matches and partnered Vavassori for two doubles victories in the semi-finals and final.
Meanwhile, doubles world number 10 Vavassori went 3-0 in doubles this week and did not get broken across all three matches.
