Avoiding catastrophic climate change requires rapid decarbonization and improved ecosystem stewardship at a planetary scale. The carbon released through the burning of fossil fuels would take millennia to regenerate on Earth. Though the timeframe of carbon recovery for ecosystems such as peatlands, mangroves and old-growth forests is shorter (centuries), this timeframe still exceeds the time we have remaining to avoid the worst impacts of global warming. There are some natural places that we cannot afford to lose due to their irreplaceable carbon reserves. Here we map ‘irrecoverable carbon’ globally to identify ecosystem carbon that remains within human purview to manage and, if lost, could not be recovered by mid-century, by when we need to reach net-zero emissions to avoid the worst climate impacts. Since 2010, agriculture, logging and wildfire have caused emissions of at least 4.0 Gt of irrecoverable carbon. The world’s remaining 139.1 ± 443.6 Gt of irrecoverable carbon faces risks from land-use conversion and climate change. These risks can be reduced through proactive protection and adaptive management. Currently, 23.0% of irrecoverable carbon is within protected areas and 33.6% is managed by Indigenous peoples and local communities. Half of Earth’s irrecoverable carbon is concentrated on just 3.3% of its land, highlighting opportunities for targeted efforts to increase global climate security.