On 13 April 2019, after appearing in a 2–1 away defeat to SPAL, Barzagli announced he would retire at the end of the season. On 19 May, in Juventus's final home game of the 2018–19 Serie A season, a 1–1 draw against Atalanta, Barzagli made his final appearance of his career, and was given a send-off as Juventus celebrated winning the Serie A title. In the 61st minute, he came off for Mario Mandžukić and was given a standing ovation by the crowd.