Mangroves can retain both autochthonous and allochthonous marine and/or terrestrial organic carbon (OC) in sediments. Accurate quantification of these OC sources is essential for the proper allocation of blue C credits. Here, we conduct a global-scale analysis of sediments autochthonous and allochthonous OC contributions in estuarine and marine mangroves using stable isotopes. Globally, mangrove-derived autochthonous OC was the main contributor to estuarine and marine mangrove top-meter soil organic carbon (SOC) (49% and 62%, respectively). Less marine allochthonous OC (21%) was deposited than terrestrial allochthonous OC (30%) in estuarine mangrove sediments. Estuarine mangroves accumulated more SOC in sediments than marine mangroves (282 ± 8.1 Mg C ha-1 and 250 ± 5.0 Mg C ha-1, respectively), primarily due to the additional terrestrial OC inputs. Globally, marine mangroves held 67% of the total mangrove SOC, reaching 3025 ± 345 Tg C, while 1502 ± 154 Tg C was stored in estuarine mangrove sediments. The findings emphasize the substantial influence of coastal environmental settings on OC contributions, underlining the necessity of accurate OC source quantification for the effective allocation of blue carbon credits.