Inside tiny droplets of ancient Hawaiian lava, researchers have found a clue to where Earth got much of its carbon: meteorites from the distant outer solar system.

Carbon is a basic ingredient of life, but scientists have long had a hard time tracing how it became part of our planet. The new study offers what its authors describe as the first observational estimate of the carbon’s isotopic makeup in Earth’s core. Isotopes are forms of the same element that differ slightly in weight. Their proportions can act like a chemical fingerprint, helping researchers compare material from Earth with possible sources elsewhere in the solar system.

The team examined melt inclusions: tiny pockets of once-molten rock sealed inside crystals. These droplets preserve a snapshot of magma from deep underground. The samples came from historic eruptions in Hawaii, including the Keanakākoʻi eruptions between 1500 and 1840 and the 1959 Kīlauea Iki eruption.

Researchers led by Yves Moussallam of Columbia University’s Lamont-Doherty Earth Observatory developed a way to use Hawaiian lavas to study material carried up from different parts of volcanic plumes, the hot columns of rock and gas that rise during eruptions. In some inclusions, the team found an unusually high proportion of the heavier carbon isotope, carbon-13. They believe the signal came from magma near the boundary between Earth’s core and mantle, the rocky layer above the core. That pattern, they said, points to carbon escaping from the core into the plume.

The carbon’s fingerprint also offered a possible answer to where it came from before becoming part of Earth. It did not match the rocky, carbon-poor material from the inner solar system that made up most of the planet. Instead, it matched carbonaceous chondrites: carbon-rich meteorites from the outer solar system that also contain water and organic compounds.

The researchers argue that this material must have joined Earth during a narrow window, near the end of the planet’s main formation. If the meteorites had arrived earlier, later collisions could have thrown much of their carbon back into space. If they arrived later, Earth’s core would already have been closed off, leaving the carbon unable to become part of it.

The findings, led by researchers at Yale and Columbia, were published in the Proceedings of the National Academy of Sciences. They address a long-running question about the origins of Earth’s carbon and may also help scientists understand whether carbon stored in the core plays a part in periods of intense volcanic activity. That role remains a subject for further study. For now, the Hawaiian lava droplets provide a rare window into a deep part of the planet—and suggest that some of Earth’s essential ingredients arrived from far beyond its neighborhood, just as the planet was nearing completion.