Alves went under the knife at Barcelona Hospital this evening after suffering the injury in training earlier on Wednesday.
The 29-year-old Brazil full-back has been ruled out of the Copa del Rey final against Athletic Bilbao on May 25 - Pep Guardiola's final match as Barca coach.
"The player underwent surgery this afternoon to correct his fractured clavicle after sustaining his injury this morning during the first team's training session," read a statement on club website fcbarcelona.com.
"[Club] doctors Ricard Pruna and Carles Torrens, in collaboration with Mutua Egarsat, performed surgery on Dani Alves' broken clavicle.
"The player will be out of action for six to eight weeks."