Giraffes can live up to 25 years in the wild but can live longer in captivity. The oldest recorded giraffe lived to be 30 years old.