With proper care, rainbow sharks can live for about 5-8 years. However, some individuals have been known to live up to 10 years or even longer in exceptional cases.