On 3 June 2017, Barzagli started in his second Champions League Final in three years with Juventus, but they were defeated 4–1 by defending champions Real Madrid.