Ages

Now you know how a swamp forest turns into coal!

What next?

Try it yourself ↓

How is coal formed?

▶ 5:56 video · Watch on YouTube

  1. 0:00 Start
  2. 0:40 The coal swamps
  3. 1:35 Too wet to rot
  4. 2:57 Buried and squeezed
  5. 3:55 Peat to anthracite
  6. 4:47 Buried sunshine

Your turn

Make coal yourself

Play with coal!

Each lab is one part of the video. Tap, slide and see what happens.

Each lab isolates one step. The models are simplified teaching sketches; depths, temperatures and ratios are typical values that vary from coal to coal.

Tap the buttons and slide the sliders.

1

A rock that burns

A combustible rock

Light it!

Light the coal, then try an ordinary rock. Which one burns?

Coal is a combustible sedimentary rock, high in carbon. Compare it with an ordinary rock.

Light the coal. Now try the plain rock!

2

Topple the swamp forest

Carboniferous swamp forest

Timber!

Tap the trees (or the button) to topple them. Watch the fallen plants pile up.

Lycopsids like Lepidodendron grew, died and fell into standing water. Topple them and watch the debris build up.

Tap a tree. Splash! It falls into the water.

3

Too wet to rot

Waterlogging and decay

Keep it wet

Lower the water, then raise it. When do the fallen plants rot, and when do they pile up as peat?

Peat accumulates only where debris piles up faster than it decays. Drain the swamp and oxygen lets it rot.

Slide the water down. Oh no, the wood rots! Slide it up again.

4

Pile on the rock

Burial and compaction

Squeeze it

Add rock layers. How thin and dark does the peat get? How warm is it down there?

Compaction shrinks the seam (about 11:1 in one Utah bed); depth brings heat at about 30 °C per km.

Add more rock on top. The peat gets thin and dark!

5

Peat to anthracite

Coal rank

Drag the rock down the column (or use the slider). Watch the carbon climb and the water drop.

Rank rises with temperature: water, oxygen and hydrogen go; carbon is concentrated.

6

Burn the coal

Carbon back to the air

Sunshine in a rock

Light the coal. Where does its ancient carbon go?

Combustion releases stored solar energy as heat and returns the carbon to the atmosphere as CO₂.

Light the coal. It gets warm, and a gas floats up into the air.

How is coal made?

Coal is a black rock that can burn. It is made from very, very old plants!

A giant swamp forest

Long ago, before the dinosaurs, there were huge swampy forests. It was warm and wet all year. Some trees were as tall as big buildings, and giant dragonfly bugs zoomed around.

Too wet to rot

On dry land, old wood rots away. Tiny living things eat it, and they work much faster when air can get in. But in the swamp, the fallen plants sank into still water with hardly any air. So they piled up into a soft, brown, squishy layer called peat.

Squeezed and baked

Then mud and sand covered the peat, again and again, and turned into rock. All that heavy rock squeezed the peat like a sponge. Deep down it is warm, like a very slow oven. Bit by bit, the peat turned hard and black. Now it's coal!

Sunshine in a rock

The plants used sunshine to grow. So coal is like sunshine saved in a rock. When it burns, it makes heat. Long ago, coal made trains and factories go.

Did you know? Peat is still growing in some wet places today! But new coal takes a super long time to make, so one day it could run out. And burning coal puts a gas called carbon dioxide into the air, which is warming our planet.

How is oil made? →

← More explainers

How is coal formed? The short answer

Coal forms from plants. Hundreds of millions of years ago, huge swampy forests grew on low, wet land.1 When the plants died, they fell into still, waterlogged ground where there was too little oxygen for them to rot completely, so they piled up as a spongy brown layer called peat.5 Mud and sand later buried the peat. Over millions of years, the weight of the rock above squeezed out the water, and the Earth's heat slowly "cooked" the plant material into coal.61

That's why the U.S. Geological Survey describes coal as a rock made of plant remains that have been "compacted, hardened, chemically altered, and metamorphosed by heat and pressure over geologic time."2 It's a combustible black or brownish-black sedimentary rock that's mostly carbon.1

Where does coal come from? The swamp forests

The Carboniferous period, about 359 to 299 million years ago, is literally named for coal: "Carboniferous" means "carbon-bearing". The geologist William Conybeare gave it that name in 1822 after Britain's thick coal beds.9 Much of the bituminous coal in eastern North America and Europe formed at this time.8

These were some of Earth's first great forests.9 They didn't look like forests today. The tallest trees were giant relatives of club mosses, such as Lepidodendron, which grew around 30 metres (about 100 feet) tall or more, with bark covered in a diamond pattern.814 Tree-sized horsetails called Calamites, ferns and seed ferns grew alongside them,8 and giant dragonfly-like insects called griffinflies, with wings up to 71 centimetres across, flew over the wetlands.13

The Carboniferous wasn't the only coal age. A younger era of coal formation started around 145 million years ago and peaked between about 66 and 2.6 million years ago. Most of those younger coals are lignite and subbituminous coal, like the big coalfields of the western United States.8

Step 1: why the plants didn't rot (peat)

Normally a fallen tree rots away: bacteria and fungi break it down, and most of them need oxygen. In a swamp, dead plants sink into still, murky water. The bacteria there use up the oxygen, and without oxygen, decay slows down a lot.5 Peat builds up only where plant debris piles up faster than it rots. That's why not every swamp makes coal; only peat-forming wetlands, also called mires, bogs or fens, do.54

Peat is still forming today. Peat in northern Canada and Siberia can be more than 15 feet (about 5 metres) thick, and some tropical peat in Sumatra, Indonesia, is over 50 feet (about 15 metres) thick. If it were buried deep enough, under the right conditions, it could one day become coal.5

Step 2: buried and squeezed

For peat to become coal, it has to be buried. As the land slowly sinks, rivers and seas spread mud and sand on top, and those layers harden into rock. Their weight squeezes water out of the peat and shrinks it, a process called compaction.69 The shrinking is dramatic: for one bituminous coal bed in central Utah, geologists worked out that about 11 metres of peat made roughly 1 metre of coal. The exact ratio varies from bed to bed.11

Burial also brings heat. On average the ground gets about 30 °C warmer for every kilometre you go down, and temperatures below 200 °C are enough to make even the highest-rank coal.8 Geologists say that heat does most of the work of turning peat into coal, with time and pressure playing a smaller part.6 This slow change is called coalification.3

Step 3: the types of coal, from peat to anthracite

As coal is buried deeper and heated more, it moves up through a series of stages called ranks. Each step drives out more water, oxygen and hydrogen, so the coal becomes denser, drier, harder and richer in carbon.37

StageCarbonWhat it's like
Peat (not yet coal)–soft, spongy, over 75% water; can be cut with a knife8
Lignite25–35%brown and crumbly, lots of moisture, lowest energy; usually young coal1
Subbituminous35–45%black and mostly dull13
Bituminous45–86%blocky, with thin shiny and dull bands; the most common rank in the U.S.13
Anthracite86–97%hard, brittle and shiny ("hard coal"); highest heating value13

plants → peat → lignite → subbituminous → bituminous → anthracite
more heat and pressure → more carbon, less water

The carbon percentages in the table come from the U.S. Energy Information Administration. Other countries use slightly different categories, and geologists usually need lab tests to tell ranks apart.14

Why did so much coal form in the Carboniferous?

This is a real scientific puzzle. For many years, a popular explanation was that the fungi that are best at breaking down lignin, the tough stuff that makes wood woody, hadn't evolved or spread yet. Without these lignin-eating fungi, the idea goes, tough woody material broke down slowly and piled up.910

In 2016, a team led by Matthew Nelsen of Stanford challenged that idea in the journal PNAS. They pointed out that much Carboniferous coal comes from the bark of giant club mosses, which had little lignin, and that coal kept piling up at similar rates even as the main types of plants changed. They argued that the real reason was a mix of an always-wet tropical climate and huge areas of sinking land as the continents crunched together into the supercontinent Pangaea.109 Lots of coal also formed much later, long after wood-rotting fungi were around.9 Scientists still debate how much each factor mattered.

How was coal formed? (for kids)

Imagine a giant, soggy forest 300 million years ago. When trees fall into the swamp, the water is so still that there's hardly any oxygen, so they don't rot away. They pile up like a thick, wet, brown carpet called peat. Then mud and sand cover it, like blankets piling up on a bed, for millions of years. The blankets turn to rock and press down hard, squeezing out the water, and deep underground it's warm, so the peat slowly bakes. First it becomes soft brown coal, and after more heat, hard, shiny black coal.

Why coal matters: buried sunshine

Plants build their bodies from carbon dioxide they take out of the air, using the energy of sunlight.16 Coal contains the energy stored by plants that lived hundreds of millions of years ago,1 so burning it releases ancient sunlight as heat. That energy powered factories and steam engines during the Industrial Revolution.12

Burning coal also sends that ancient carbon back into the air as carbon dioxide, a greenhouse gas that traps heat and drives human-caused climate change.12 And because coal takes millions of years to form, it's a nonrenewable energy source.1 Oil formed mainly from tiny ancient sea organisms such as algae; natural gas can form from that material and also from buried plants, including while coal forms (see how oil is formed).

Coal isn't just fuel for geologists. The rocks around coal seams are full of fossils: leaf prints, stems and casts of roots and trunks, the same evidence that first showed coal was made of plants.8

Where is coal found?

Coal is found in long layers called seams, where ancient forests and marshes were buried.122 Coal mostly stays where it formed, and when the rock above it wears away, a seam can end up close to the surface.15 In the U.S., the largest deposits are in the Appalachian basin, the Illinois basin and western basins such as the Powder River Basin in Wyoming and Montana.2 U.S. bituminous coal is between 100 and 300 million years old, and all U.S. anthracite mines are in northeastern Pennsylvania.1

Common misconceptions

"Coal is made from dinosaurs." Coal is made from plants. Most classic coal formed in the Carboniferous, before dinosaurs existed.89
"Any swamp can make coal." Only waterlogged wetlands where plants pile up faster than they rot form peat, and only peat can become coal.5
"Pressure is what makes coal." Pressure squeezes out water, but heat does most of the chemical work.6
"Diamonds are squeezed coal." Most natural diamonds form much deeper, in the mantle, about 150–200 km down; squeezing coal does not make diamonds. See how diamonds are made.
"Coal only formed in the distant past." Younger coals formed just a few million years ago, and peat is building up right now.85

FAQ

How is coal formed, in simple words?

Plants in ancient swamps died and fell into still, oxygen-poor water, so they didn't fully rot. They piled up as a spongy layer called peat. Mud and sand buried the peat, and over millions of years the weight and the Earth's heat squeezed out water and gases and turned it into coal.

Is coal still being formed?

Yes, the first step is happening now. Peat is building up today in bogs and swamp forests from northern Canada and Siberia to Indonesia. But turning peat into coal takes burial and millions of years, far slower than we burn it, which is why coal counts as nonrenewable.

Is coal dead wood?

Sort of. Coal is made from plant remains: trunks, bark, roots, leaves and spores that piled up as peat. Heat and pressure changed them chemically, driving off water, oxygen and hydrogen, so what's left is mostly carbon. Low-rank coal like lignite often still shows recognizable bits of plants.

Is coal made from dinosaurs?

No. Coal is made from plants, not animals. Much of the world's classic coal, including most bituminous coal in eastern North America and Europe, formed in the Carboniferous period, around 359 to 299 million years ago, before the first dinosaurs appeared.

What are the four types of coal?

From lowest to highest rank: lignite (25–35% carbon, soft and brown), subbituminous (35–45%, dull black), bituminous (45–86%, blocky and banded) and anthracite (86–97%, hard and shiny). Higher rank means the coal was heated more and holds more energy.

Where does the US get coal from?

The biggest deposits are in the Appalachian basin in the east, the Illinois basin in the middle of the country and western basins such as the Powder River Basin in Wyoming and Montana. In 2022 Wyoming produced about 89% of the country's subbituminous coal, and all US anthracite mines are in northeastern Pennsylvania.

Do diamonds come from coal?

No. Coal forms in the Earth's crust from plants, while most natural diamonds form far deeper, in the mantle, about 150–200 km down. Squeezing a lump of coal won't make a diamond.

Did this help it click?

Sources

  1. U.S. Energy Information Administration, Coal explained
  2. U.S. Geological Survey, What is coal?
  3. U.S. Geological Survey, What are the types of coal?
  4. Kentucky Geological Survey, How Is Coal Formed? and Coal Rank
  5. Kentucky Geological Survey, Peat and Peatification
  6. Kentucky Geological Survey, Coalification
  7. Wyoming State Geological Survey, What is Coal
  8. Encyclopaedia Britannica, Coal: Origin of coal (and Peat)
  9. John Long (Flinders University), The Conversation: Coal's formation is a window on an ancient world
  10. Nelsen et al. (2016), Delayed fungal evolution did not cause the Paleozoic peak in coal production, PNAS 113(9)
  11. Ryer & Langer (1980), Thickness change involved in the peat-to-coal transformation (USGS Publications Warehouse)
  12. National Geographic Education, Coal
  13. Natural History Museum (London), Griffinflies: the earliest flying insects
  14. Encyclopaedia Britannica, Lepidodendron
  15. Penn State EARTH 104, How Nature Makes Coal, Oil and Gas
  16. OpenStax Biology 2e, 8.1 Overview of Photosynthesis