In the wild, capybaras live around 8 to 10 years, but under human care, they can reach up to 12 years. Their lifespan often depends on factors like habitat, diet, and threats from predators.