Musetti and Vavassori won the deciding doubles 6-2, 7-5 to give Italy a 2-1 win over Spain in Bologna.
Musetti beat Rafael Jodar first. Alcaraz levelled the tie with a 6-2, 7-6 (4) win over Flavio Cobolli.
Serving for the title, Vavassori saved break points from 15-40 down, then clinched the win with an ace.
Italy became the first team to win four Davis Cup titles in a row since the United States in 1971.
“What I said to the players before they came on court is what I said yesterday too: We are the best group ever,” Captain Filippo Volandri
“I think I managed to play my best on a surface where I usually don’t feel that comfortable,” Musetti said after the match.
Italy beat Spain 2-1 in Davis Cup final to win fourth straight title