Coal comes from ancient plants that lived hundreds of millions of years ago, buried and compressed over geologic time into the dense, carbon-rich rock we mine today. Most of the world’s coal traces back to a period roughly 360 to 280 million years ago, when vast tropical swamps covered much of the Earth’s land surface. The plants that thrived in those swamps died, accumulated in waterlogged layers, and were gradually transformed by heat and pressure into the fuel that powered the Industrial Revolution and still generates electricity worldwide.
The Ancient Swamps That Built Coal
Coal formation requires warm, humid conditions and a very specific kind of environment: a swamp where dead plant material stays waterlogged instead of rotting away. Under normal conditions, fallen trees and leaves decompose quickly because bacteria and fungi break them down in the presence of oxygen. But in a waterlogged swamp, oxygen levels are low enough that decomposition stalls. Dead plant material piles up year after year, forming thick layers of peat, a spongy brown material you can still find in modern bogs.
The geological record shows coals dating as far back as 410 million years ago, during the Early Devonian period. But the real heyday of coal formation was the late Paleozoic era, spanning roughly 360 to 280 million years ago. During this stretch, which includes the Carboniferous period (literally named for carbon), Earth’s tropical regions were dominated by enormous swamp forests. The climate was warm and wet, and the continents were positioned in ways that created vast lowland areas prone to flooding.
The Plants That Became Coal
The trees in these ancient swamps looked nothing like modern forests. Five major types of tropical and subtropical trees contributed to the peat beds that eventually became coal: lycopods, tree ferns, calamites (giant relatives of modern horsetails), seed ferns, and cordaites (early relatives of conifers). Of these, lycopods were the dominant players. These were not the small club mosses you might see on a forest floor today. Ancient lycopods were massive trees, some reaching over 100 feet tall, with thick bark that made up most of their structural tissue.
Studies of preserved coal balls (chunks of peat that were mineralized before full compression) reveal that much of the material in lycopod-dominated coal beds is bark and root tissue. When tree ferns dominated instead, the peat was composed more of roots and foliage. Later periods saw conifers like ancient sequoias and early flowering plants contributing to coal deposits, reflecting how Earth’s vegetation evolved over hundreds of millions of years.
How Plants Turn Into Rock
The transformation from swamp peat to hard coal happens in three broad stages: plant growth, peat accumulation, and lithification (the process of turning into rock). Each stage depends on different conditions.
First, plant productivity needs to be high, which requires warm temperatures and plenty of rainfall. Second, the dead plant material needs a stable, water-covered environment to prevent it from drying out and oxidizing. Third, the peat needs to be buried under layers of sediment, sometimes thousands of feet of it, over millions of years. As sediment piles on top, the weight squeezes water out of the peat and compresses it dramatically. A layer of peat 10 to 20 feet thick might compress into a coal seam just a few feet thick.
The real transformation, though, comes from heat. As the peat is buried deeper into the Earth’s crust, temperatures rise. This heat drives chemical changes that concentrate the carbon in the material while driving off moisture, oxygen, and hydrogen. Time and pressure play supporting roles, but heat is the primary engine of coalification. Once coal reaches a certain rank through heating, the process is permanent. It cannot reverse.
The Ranks of Coal
Not all coal is the same. The longer and more intensely the original peat was heated and compressed, the higher its “rank,” meaning it contains more carbon and produces more energy when burned. There are four main ranks, each representing a different stage in the coalification process.
- Lignite contains 25% to 35% carbon. It’s brown, crumbly, and has the lowest energy content. It still looks somewhat like compressed peat and retains visible plant structures.
- Sub-bituminous coal contains 35% to 45% carbon. It’s darker and denser than lignite, with moderate energy content.
- Bituminous coal contains 45% to 86% carbon. This is the most commonly mined type, black and relatively hard, widely used for electricity generation and steel production.
- Anthracite contains 86% to 97% carbon. It’s the hardest, densest, and highest-energy coal, with a glossy black appearance. It represents the most extreme transformation from the original plant material.
The rank a coal deposit reaches depends largely on how deep it was buried and how much heat it experienced. Coal near the surface that was never deeply buried tends to be lignite or sub-bituminous. Coal that was pushed deep into the crust by tectonic activity or massive sediment accumulation can reach bituminous or anthracite rank.
Where Coal Is Found Today
Coal deposits exist on every continent, including Antarctica, because the continents have drifted dramatically since the Carboniferous period. Regions that were once tropical swamps near the equator have since moved to temperate or even polar latitudes. This is why you find coal in places like Pennsylvania, northern England, and Siberia, locations that were positioned very differently on the globe 300 million years ago.
Coal seams vary enormously in thickness and depth. Some sit close to the surface, while others are buried hundreds of meters down. In the United States, about two-thirds of coal production comes from surface mines, where the coal sits less than 200 feet underground. Large machines strip away the topsoil and overlying rock to expose the seams. Mountaintop removal is one form of this approach, where entire mountain peaks are taken off to reach coal beneath them.
When coal is deeper than about 200 feet, underground mining is necessary. Miners dig shafts or tunnels into the earth to reach the seams directly. This method is more expensive and more dangerous, which is why surface mining dominates U.S. production wherever geology allows it.
Why Coal Formed Then but Not Now
Peat is still forming in bogs and wetlands around the world today, and given enough time and the right geological conditions, some of it could theoretically become coal millions of years from now. But the massive coal deposits we rely on formed during a unique window in Earth’s history. During the Carboniferous period, several factors converged: warm global temperatures, high atmospheric carbon dioxide, vast lowland swamp forests, and, crucially, the relative scarcity of organisms that could efficiently decompose wood. Fungi that break down lignin, the tough structural compound in wood, had not yet fully evolved, which allowed dead plant material to pile up in extraordinary quantities without rotting.
By the time decomposers caught up evolutionarily, the conditions that created the great coal swamps were already shifting. Later coal deposits did form during the Mesozoic and Cenozoic eras, often from conifers and flowering plants rather than lycopods and ferns, but none matched the sheer scale of the Carboniferous coal beds. The coal we burn today is, in a very real sense, ancient sunlight captured by plants that lived before dinosaurs walked the Earth, compressed into rock over a span of time almost impossible to comprehend.

