When scientists give estimates for how long carbon dioxide (CO2) lasts in the atmosphere, those estimates are often intentionally vague, ranging anywhere from hundreds to thousands of years.1 The reason for the murky timeline is that CO2 molecules, once they enter the air, follow different paths and can last for radically different amounts of time.
Unlike some other atmospheric gases, CO2 mostly does not break down into smaller molecules while in the atmosphere. Methane, for instanceanother important greenhouse gasreacts with oxygen to turn into CO2 and water within a matter of years, and that process can be observed and measured. But CO2 molecules typically linger until something absorbs them from the air.2 Some are quickly taken up by the ocean, plants, and soil.3 Other atmospheric carbon sticks around for generations.4
The first 10% goes quickly, but it's not very much of it. The second part goes on a scale of centuries to millennia, but that only gets 80% of it, says Ed Boyle, a professor of ocean geochemistry at MIT. He says the last of the carbon dioxide that enters the atmosphere takes tens of thousands of years to leave.
Of course, scientists cant track individual carbon dioxide molecules for thousands of years. But since the 1950s, we have had the tools to precisely measure the concentration of CO2 in the atmosphere. From there, scientists use a combination of measurement methods and models to determine how much CO2 is taken up by the Earths plants, soil, and water, a process called the carbon cycle. Scientists must also calculate how much carbon is released on the same time-scale, taking into account human activities that release carbon, like burning fossil fuels, as well as natural ones, like plant decay and wildfires.
EDIT
https://climate.mit.edu/ask-mit/how-do-we-know-how-long-carbon-dioxide-remains-atmosphere