Mangroves and salt marshes are among the most productive ecosystems in the global coastal ocean. Mangroves store more carbon (739 Mg CORG ha−1) than salt marshes (334 Mg CORG ha−1), but the latter sequester proportionally more (24%) net primary production (NPP) than mangroves (12%). Mangroves exhibit greater rates of gross primary production (GPP), aboveground net primary production (AGNPP) and plant respiration (RC), with higher PGPP/RC ratios, but salt marshes exhibit greater rates of below-ground NPP (BGNPP). Mangroves have greater rates of subsurface DIC production and, unlike salt marshes, exhibit active microbial decomposition to a soil depth of 1 m. Salt marshes release more CH4 from soil and creek waters and export more dissolved CH4, but mangroves release more CO2 from tidal waters and export greater amounts of particulate organic carbon (POC), dissolved organic carbon (DOC) and dissolved inorganic carbon (DIC), to adjacent waters. Both ecosystems contribute only a small proportion of GPP, RE (ecosystem respiration) and NEP (net ecosystem production) to the global coastal ocean due to their small global area, but contribute 72% of air–sea CO2 exchange of the world’s wetlands and estuaries and contribute 34% of DIC export and 17% of DOC + POC export to the world’s coastal ocean. Thus, both wetland ecosystems contribute disproportionately to carbon flow of the global coastal ocean.