Coral reef ecosystems develop best in high-flow environments but their fragile frameworks are also vulnerable to high wave energy. Wave-resistant algal rims, predominantly made up of the crustose coralline algae (CCA) Porolithon onkodes and P. pachydermum 1,2 , are therefore critical structural elements for the survival of many shallow coral reefs. Concerns are growing about the susceptibility of CCA to ocean acidification because CCA Mg-calcite skeletons are more susceptible to dissolution under low pH conditions than coral aragonite skeletons 3 . However, the recent discovery 4 of dolomite (Mg 0.5 Ca 0.5 (CO 3 )), a stable carbonate 5 , in P. onkodes cells necessitates a reappraisal of the impacts of ocean acidification on these CCA. Here we show, using a dissolution experiment, that dried dolomite-rich CCA have 6-10 times lower rates of dissolution than predominantly Mg-calcite CCA in both high-CO 2 (∼700 ppm) and control (∼380 ppm) environments, respectively. We reveal this stabilizing mechanism to be a combination of reduced porosity due to dolomite infilling and selective dissolution of other carbonate minerals. Physical break-up proceeds by dissolution of Mg-calcite walls until the dolomitized cell eventually drops out intact. Dolomite-rich CCA frameworks are common in shallow coral reefs globally and our results suggest that it is likely that they will continue to provide protection and stability for coral reef frameworks as CO 2 rises.Coralline algae form extensive carbonate structures on the highenergy windward side of many tropical coral reefs. For example, the algal rim on the fringing reef of Rodrigues Island (Indian Ocean) is ∼11 km long, 4 m thick and in parts protrudes ∼1m above the reef flat 6 , providing substantial protection for island communities from high-energy waves. Only the surface veneer (the top few millimetres) of CCA is living 7 and the dense carbonate underneath the algal rim is predominantly in situ CCA skeleton and overlapping layers of coral branches cemented together by CCA crusts 6 . Development of these reef structures is dependent on preservation of the dead CCA skeleton post-mortem. Thus, understanding how declining seawater pH will affect this skeletal preservation is of paramount importance if we are to understand the changes to coral reef structural stability in a high-CO 2 world.In the 1950s-1970s the mineral composition of coralline algae skeletons was determined to be ∼12-18 mol% Mg-calcite [8][9][10] . However, many bulk chemical analyses of tropical coralline algae showed a surplus of magnesium compared with those determined by X-ray diffraction (XRD) using Mg-calcite peak position 8,9 . Recently, we discovered this discrepancy was due to the presence of previously undetected dolomite and magnesite (MgCO 3 ) forming within the cell spaces 4 . Past determinations of thermodynamic solubility for coralline algae were based on the assumption that they were composed of Mg-calcite 10-12 . As dolomite was not believed to form in the modern marine environment, determining d...