Zebras have a lifespan of around 25 years in the wild and up to 40 years in captivity. However, their lifespan can vary depending on the species of zebra and their habitat.