The Bosnia international joined Roma from Lyon in 2011 and scored 10 goals and set up 12 more in 33 league appearances to help his team finish third in Serie A this past season.
He is considered the leading playmaker in Serie A with a league-leading 28 assists over the past three seasons and is also a free-kick specialist.
"Juventus Football Club can today confirm that Miralem Pjanic has completed a permanent switch from Roma for a fee of 32 million euros," the Italian champions said on their website.
"The 26-year-old has signed a five-year contract with the club."
Pjanic handed in an official transfer request on Saturday, which Roma confirmed on their website.
The player informed his former club that he wished to activate a release clause in his contract that allowed him to leave for a pre-agreed amount, adding that he would pay 20 percent of the fee himself with Juventus making up the balance.
Image: Miralem Pjani
Photograph: Paolo Bruno/Getty Images
Ibrahimovic again fails to shine in City of Light
PHOTOS: How Conte's Italy tactically outfoxed Belgium
'Paes, Bopanna have differences, but India comes first'
Champions Spain: Big on possession but lacked finishing touch
Saina beats Sun to win Australian Open Super Series title