Capannoli is a comune (municipality) in the Province of Pisa in the Italian region Tuscany, located about 50 kilometres (31mi) southwest of Florence and about 25 kilometres (16mi) southeast of Pisa. As of 31 December 2004, it had a population of 5,394 and an area of 22.7 square kilometres (8.8sqmi).