Crustose coralline algae play a crucial role in the building of reefs in the photic zones of nearshore ecosystems globally, and are highly susceptible to ocean acidification1–3. Nevertheless, the extent to which ecologically important crustose coralline algae can gain tolerance to ocean acidification over multiple generations of exposure is unknown. We show that, while calcification of juvenile crustose coralline algae is initially highly sensitive to ocean acidification, after six generations of exposure the effects of ocean acidification disappear. A reciprocal transplant experiment conducted on the seventh generation, where half of all replicates were interchanged across treatments, confirmed that they had acquired tolerance to low pH and not simply to laboratory conditions. Neither exposure to greater pH variability, nor chemical conditions within the micro-scale calcifying fluid internally, appeared to play a role in fostering this capacity. Our results demonstrate that reef-accreting taxa can gain tolerance to ocean acidification over multiple generations of exposure, suggesting that some of these cosmopolitan species could maintain their critical ecological role in reef formation.