The average lifespan of an indoor cat is around 12 to 16 years, though many cats can live well into their 20s. Outdoor cats, however, typically have a shorter lifespan, around 5 to 7 years, due to the increased risks of traffic, predators, diseases, and accidents. Providing regular veterinary care and a safe environment can increase their lifespan.