He was born in Florence, the second son of Cosimo I de' Medici, Grand Duke of Tuscany, and Eleonora of Toledo.
After having been Archbishop of Pisa, he was created cardinal in Santa Maria in Domnica by Pope Pius IV in the consistory of 31 January 1560, aged only seventeen.