Carbon and other volatiles in the form of gases, fluids or mineral phases are transported from Earth's surface into the mantle at convergent margins, where the oceanic crust subducts beneath the continental crust. The efficiency of this transfer has profound implications for the nature and scale of geochemical heterogeneities in Earth's deep mantle and shallow crustal reservoirs, as well as Earth's oxidation state. However, the proportions of volatiles released from the forearc and backarc are not well constrained compared to fluxes from the volcanic arc front. Here we use helium and carbon isotope data from deeply sourced springs along two cross-arc transects to show that about 91 per cent of carbon released from the slab and mantle beneath the Costa Rican forearc is sequestered within the crust by calcite deposition. Around an additional three per cent is incorporated into the biomass through microbial chemolithoautotrophy, whereby microbes assimilate inorganic carbon into biomass. We estimate that between 1.2 × 108 and 1.3 × 1010 moles of carbon dioxide per year are released from the slab beneath the forearc, and thus up to about 19 per cent less carbon is being transferred into Earth's deep mantle than previously estimated.