Born in Florence, he was the son of Cosimo I de' Medici, Grand Duke of Tuscany and Eleanor of Toledo, and served as regent for his father starting in 1564.
On 18 December 1565, he married Joanna of Austria, youngest daughter of Ferdinand I, Holy Roman Emperor and Anne of Bohemia and Hungary, after among others Princess Elizabeth of Sweden had been considered.