The 39-year-old has cited personal reasons for his decision to step down just as Italian football prepares to resume following an enforced break due to the Coronavirus pandemic.
Barzagli retired from football at the end of last season after winning his eighth Scudetto with Juventus.
"I have decided to make a lifestyle choice," the 39-year-old wrote in a post on Instagram.
"It was a choice made with the heart! That doesn't mean it wasn't tough. I felt the need to enjoy my family more, who supported and accompanied my professional choices in silence for all these years.
"I chose to prioritise, today, one family over another, Juventus, who I will always be eternally grateful to. But this was the right choice for me to make.
"My thoughts go to those who showed me the utmost respect and total support, both professional and personal. The president, the coach, Fabio and Pavel. Figures who contributed to my growth and with discretion and friendship walked alongside me.
"There are so many I have to say thank you to. Teammates, fans, professionals who work every day to make Juventus what it is! I can sum it all up in one gigantic phrase: finoallafine [until the end] forza Juventus! Always yours, Andrea!"
Barzagli was a member of the Italian side that won the FIFA World Cup in Germany 2006.