Pandas have a life expectancy of around 20 years in the wild and up to 30 years in captivity.