Despite the stereotype of a very short life, with proper care, an average goldfish can live up to 10 years as pets, and over 25 years in the wild. The longest recorded lifespan for a goldfish was 43 years.