Abstract Carbonate-bearing sediments, containing calcite, dolomite or magnesite as major carbonate components, are important constituents of sedimentary sequences deposited on passive margins through Earth’s history. When involved in collisional orogenic processes, these sediments are metamorphosed at variable temperatures and pressures, and undergo decarbonation reactions. While the orogenic metamorphism of some of these lithologies (i.e. impure limestones and dolostones, marls sensu stricto and calcareous pelites) is relatively well understood, very little is known about the metamorphic evolution and decarbonation history of mixed carbonate–silicate rocks in which either dolomite or magnesite is the dominant carbonate component. Here we present the results of a petrologic study of representative samples of metasediments from Central Nepal, derived from Proterozoic dolomitic and magnesitic protoliths metamorphosed during the Himalayan orogeny. The main metamorphic assemblages developed in sediments originally containing different amounts of dolomite or magnesite are characterised in detail. Forward thermodynamic modelling applied to seven samples allows constraints to be placed on (i) the main decarbonation reactions, (ii) the P–T conditions under which these reactions took place, (iii) the composition of the fluids, and (iv) the amounts of CO2 released. We conclude that the CO2 productivity of dolomitic and magnesitic pelites and marls originally containing 15–40% carbonate is significant (>5.5 ± 1.0 CO2 wt% and up to 10.5 ± 1.5 CO2 wt%), whereas for carbonate contents above 60–70%, CO2 productivity is negligible unless aqueous fluids infiltrate from the outside and trigger decarbonation reactions. Since the dolomitic and magnesitic protoliths are significantly abundant in the sedimentary sequences involved in the still active Himalayan orogen, the decarbonation processes described here could contribute to the diffuse CO2 degassing currently observed at the surface. Furthermore, we propose for the first time that the peculiar magnesium-rich assemblages investigated in this study may derive from evaporitic protoliths, and that the whole Upper Lesser Himalayan Sequence may therefore represent the metamorphic product of a Proterozoic sequence consisting of alternating layers of carbonatic, evaporitic and pelitic sediments.