The average lifespan of an African penguin is 10 to 27 years in the wild, and they can live up to 30 years in captivity.