Fossil fuels

How Fossil Fuels Form Over Millions of Years

Vibrant layers of red and grey rocks in Utah's rugged terrain, showcasing geological history
Photo by Rafael DeSoto on Pexels. A general illustration, not evidence for any number.

Coal, oil and natural gas formed from the remains of living things that were buried and then slowly changed by heat and pressure over millions of years. Coal came mostly from land plants. Oil came mostly from tiny organisms that lived in water. Natural gas comes from several routes, the main one thought to be heat breaking oil down into smaller molecules.

The popular version of this story, "fossil fuels are dead dinosaurs," is wrong, and the correct version explains something useful: the starting material and the amount of cooking decide whether you end up with a solid, a liquid or a gas. This article follows each fuel from living matter to fuel, and then shows how that origin still shows up in the numbers when the fuel burns.

What the three fuels have in common

The U.S. Energy Information Administration (EIA) describes crude oil as a mixture of hydrocarbons formed from the remains of plants and animals, such as diatoms, that lived in marine environments millions of years ago, before dinosaurs existed. Coal is described as storing energy from plants that lived in swampy forests, and natural gas as coming from the same kind of buried layers as coal and oil.

Three ingredients are needed. First, dead organic matter has to be buried. Second, more sediment has to pile on top. A Penn State course explains that bacteria first consume some of the chemicals in the buried material and that Earth's heat then "cooks" what remains as the sediment grows deeper. Third, the process needs time. How much heat the material gets, and what it was made of, decide the result.

How coal forms

Coal starts on land. Tree trunks, leaves, twigs and roots pile up in swamps. The first stage is peat, which the U.S. Geological Survey (USGS) defines as a soft, organic material made of partly decayed plant and mineral matter.

Burial then turns peat into rock in steps. USGS orders the sequence as plant material, peat, lignite, subbituminous coal, bituminous coal and anthracite, with more heat and pressure at each step. The Penn State course ties the stages to the surrounding rock: peat forms in sediment that has not yet hardened, lignite in soft sedimentary rock, bituminous coal in harder sedimentary rock and anthracite in metamorphic rock. EIA gives an idea of the time involved by listing bituminous coal in the United States as 100 to 300 million years old, and lignite deposits as relatively young. The coal ranks article covers what each stage means for energy content.

Coal mostly stays where it formed. Oil and gas are different, because they move.

How oil and natural gas form

The source of oil is not trees. The Penn State course names algae and similar water organisms, and EIA gives diatoms and tiny sea organisms, that settled on the ocean floor and were buried under sand and silt. The mud that holds them hardens into a fine-grained rock such as shale, called source rock. As burial deepens, heat breaks the organic matter into the smaller molecules that make up oil.

More heat produces gas. The Penn State course says excess heat breaks oil down into methane. USGS adds that natural gas is thought to form mainly from the thermal breakdown of oil in reservoirs and, to a lesser extent, from the organic matter in the shale that produced the oil. The course adds two other routes: some bacteria in low-oxygen, organic-rich mud make methane, and gas is also produced as coal forms. That is why natural gas turns up in so many settings. EIA lists conventional gas in cracks and spaces between rock layers, shale gas and tight gas in the pores of shale and sandstone, associated gas found with crude oil, and coalbed methane found in coal deposits.

Oil and gas do not stay in the source rock. Pressure builds as the smaller molecules take up more room, the rock cracks, and the fluids migrate into rock with bigger spaces, such as sandstone. According to the course, the great majority of oil and gas eventually reaches the surface as seeps. A trap holds some back: an impermeable shale layer lying over sandstone at the top of a fold, so that oil and gas collect beneath it. EIA describes the result as pools called reservoirs, located in tiny spaces within sedimentary rock, not as caverns of liquid. How crude oil is refined picks up the story after the oil is pumped out.

What the origin leaves in the fuel

Origin shapes chemistry. Coal is rich in carbon. Natural gas is mostly methane, with one carbon for every four hydrogens. Gasoline, made from crude oil, lands between the two in the table below. EIA explains that the CO2 made when a fuel burns depends on its carbon content, while its heat comes mainly from carbon and hydrogen. Water, sulfur and other noncombustible material lower a fuel's heating value and raise its CO2 per unit of heat.

Starting material, setting and combustion CO2 for coal, oil-based gasoline and natural gas (EPA factors, per million Btu of energy as published).
FuelStarting materialSettingFormCO2 from burning (kg per million Btu)
Coal (bituminous)Land plants from swampsBuried under dirt and rockSolid93.28
Gasoline (made from crude oil)Algae and tiny sea organismsBuried in ocean-floor sedimentLiquid70.22
Natural gasOil broken down by heat; also bacteria and coal formationHot burial for the main route; low-oxygen mud for the bacterial oneGas53.06

Coal releases about 76 percent more CO2 than natural gas for the same energy (93.28 ÷ 53.06 is about 1.76). These are combustion figures, not life-cycle ones. The comparison of coal, gasoline and CNG shows the sourced numbers, and CO2 emissions per unit of energy examines them further.

Time is the last link. EIA calls coal nonrenewable because it takes millions of years to form, and the same logic applies to oil and gas. For how that word is defined, see renewable vs nonrenewable energy sources.

Common mistakes

  • Blaming dinosaurs. EIA says oil formed from marine organisms that lived before dinosaurs existed, and coal came from plants.
  • Giving all three fuels one origin. Land plants are the main source of coal, sea organisms of oil, and gas comes from several routes including heat acting on oil.
  • Picturing underground lakes. Oil and gas sit in the tiny spaces inside rock, in pools called reservoirs.
  • Linking natural gas only to oil wells. Gas also occurs alone in shale and tight rock, and inside coal deposits as coalbed methane.
  • Assuming new deposits refill the supply. Formation takes millions of years, far longer than the time over which people use the fuels.

Frequently asked questions

How long does it take for fossil fuels to form?

Millions of years. EIA lists bituminous coal in the United States as 100 to 300 million years old, and its illustration places the burial of the sea organisms behind oil at about 300 to 400 million years ago. Exact timing depends on the deposit, the burial depth and the temperature.

Are fossil fuels made from dinosaurs?

No. EIA says the organisms behind crude oil lived before dinosaurs existed. They were mostly tiny sea plants and animals such as diatoms. Coal came mainly from land plants that grew in swamps, so dinosaurs are not the source of either fuel.

Why is natural gas often found with oil or coal?

Because the same processes make it. Heat that breaks organic matter down into oil can keep going and produce methane, and gas is also produced as coal forms. EIA calls the gas found with oil associated gas, and gas found in coal seams coalbed methane.

What turns oil into natural gas?

Heat. As burial goes deeper, the temperature rises, and large oil molecules break into smaller ones, with methane the smallest of them. USGS describes this thermal breakdown of oil as thought to be the main source of natural gas.

Sources

Spotted something wrong or out of date? Tell us through the corrections page. We answer within 10 business days.