The lifespan of a flatfish varies depending on the species, but generally ranges from 5 to 20 years.