The production of large volumes of fluid from metabasic rocks, particularly in greenstone terranes heated across the greenschist-amphibolite facies transition, is widely accepted yet poorly characterized. The presence of carbonate minerals in such rocks, commonly as a consequence of sea-floor alteration, has a strong influence, via fluid-rock buffering, on the mineral equilibria evolution and fluid composition. Mineral equilibria modelling of metabasic rocks in the system Na 2 O-CaO-FeO-MgOAl 2 O 3 -SiO 2 -CO 2 -H 2 O (NCaFMASCH) is used to constrain the stability of common metabasic assemblages. Calculated buffering paths on T-X CO 2 pseudosections, illustrate the evolution of greenstone terranes during heating across the greenschist-amphibolite transition. The calculated paths constrain the volume and the composition of fluid produced by devolatilization and buffering. The calculated amount and composition of fluid produced are shown to vary depending on P-T conditions, the proportion of carbonate minerals and the X CO 2 of the rocks prior to prograde metamorphism. In rocks with an initially low proportion of carbonate minerals, the greenschist to amphibolite facies transition is the primary period of fluid production, producing fluid with a low X CO 2 . Rocks with greater initial proportions of carbonate minerals experience a second fluid production event at temperatures above the greenschist to amphibolite facies transition, producing a more CO 2 -rich fluid (X CO 2 ¼ 0.2-0.3). Rocks may achieve these higher proportions of carbonate minerals either via more extensive seafloor alteration or via infiltration of fluids. Fluid produced via devolatilization of rocks at deeper crustal levels may infiltrate and react with overlying lower temperature rocks, resulting in external buffering of those rocks to higher X CO 2 and proportions of carbonate minerals. Subsequent heating and devolatilization of these overlying rocks results in buffering paths that produce large proportions of fluid at X CO 2 ¼ 0.2-0.3. The production of fluid of this composition is of importance to models of gold transport in Archean greenstone gold deposits occurring within extensive fluid alteration haloes, as these haloes represent the influx of fluid of X CO 2 ¼ 0.2-0.3 into the upper crust.