Born in Florence, he studied Greek, rhetoric, poetry and philosophy at the Universities of Florence and Bologna and both mathematics and jurisprudence at the University of Rome.
On returning to Florence in 1622, Doni entered the service of Cardinal Francesco Barberini, and moved with him to Rome where Barberini became Dean of the College of Cardinals.