The lifespan of a tarantula varies significantly depending on the species and the sex of the spider.
Female tarantulas tend to live significantly longer than males. Many species of female tarantulas can live between 15 to 30 years, with some reports of certain species living up to 40 years in captivity if they are well cared for.
On the other hand, male tarantulas have significantly shorter lifespans. They generally live for around 5 to 10 years. Once a male tarantula reaches sexual maturity and undergoes its final molt, it typically only has a few months to a year left to live, as their primary goal at that stage is to find a female and reproduce.
Remember that the specific lifespan can vary depending on species, as well as factors like diet, habitat, and care if in captivity.