Millipedes typically live for two to five years, depending on the species and environmental conditions. Some larger species may have longer lifespans than smaller ones.