Crude oil comes from the remains of microscopic marine organisms, primarily plankton, algae, and bacteria, that lived in warm, shallow seas hundreds of millions of years ago. These tiny creatures died, sank to the ocean floor, and were buried under layers of sediment. Over millions of years, heat and pressure transformed their organic matter into the liquid hydrocarbons we pump out of the ground today.
The Organisms Behind Oil
The source material for crude oil isn’t dinosaurs, despite the common association with the phrase “fossil fuels.” It’s far smaller and far older. The primary contributors were microscopic plankton, single-celled algae, and marine bacteria that thrived in ancient oceans long before dinosaurs existed. These organisms lived in enormous numbers near the surface of shallow seas, and when they died, their bodies drifted down and accumulated in oxygen-poor sediment on the seafloor.
This is what separates oil from coal. Coal forms from fossilized land plants, the kind that grew in ancient swamps and forests. Oil and natural gas form from marine life. The environment makes all the difference: swamp vegetation becomes coal, while ocean plankton becomes petroleum.
How Dead Plankton Becomes Oil
The transformation from organic muck to crude oil takes millions of years and happens in stages. First, dead organisms accumulate in fine-grained sediment, typically mudstone or shale, on the ocean floor. In oxygen-poor conditions, bacteria partially break down this organic material, but decomposition stops before the material fully disintegrates. Over time, more sediment piles on top, burying the organic layer deeper and deeper.
As burial continues, the organic material converts into a waxy, solid substance called kerogen. This is the critical intermediate step. Kerogen is not yet oil. It’s locked in the rock, waiting for the right conditions.
Those conditions arrive when the rock is buried several kilometers deep. At that depth, temperatures reach between 60 and 120 degrees Celsius, and pressures climb to 300 to 1,500 bars. This range is known as the “oil window,” the sweet spot where heat and pressure crack kerogen molecules apart and rearrange them into liquid hydrocarbons. If temperatures push past 120 degrees Celsius, the organic material converts into natural gas instead. Go even hotter, above roughly 220 degrees Celsius, and the hydrocarbons break down entirely.
Where Oil Ends Up Underground
Oil doesn’t stay in the rock where it forms. Because it’s lighter than the surrounding water-saturated rock, it migrates upward through tiny pores and fractures in the earth’s crust. This journey can cover hundreds of kilometers laterally and thousands of feet vertically. It only stops when it hits an impermeable barrier, a layer of rock it can’t pass through.
The geological structures that trap oil come in several forms. Anticlines are arch-shaped folds in rock layers where oil collects at the peak. Fault traps form when shifting rock layers place a porous, oil-bearing layer against an impermeable one. Salt domes, massive columns of salt that push upward through surrounding sediment, create traps by deforming and sealing off nearby rock layers. In every case, you need three ingredients: a porous rock to hold the oil (the reservoir), an impermeable rock above to seal it in (the cap), and a structural shape that prevents the oil from continuing to migrate.
Most of the world’s oil reservoirs sit between 5,000 and 15,000 feet below the surface. In Brazil’s Santos Basin, about 64 percent of discovered oil lies between 10,000 and 15,000 feet deep. In Libya’s Sirte Basin, 60 percent sits between 5,000 and 10,000 feet. Some deepwater fields off Brazil’s coast have been found nearly 20,000 feet below the seafloor, beneath thousands of additional feet of ocean water.
When Most Oil Formed
Not all geological periods produced oil equally. According to a major analysis published in the AAPG Bulletin, six time intervals containing just one-third of the last 540 million years account for more than 90 percent of the world’s discovered oil and gas reserves. The two most productive periods were the middle Cretaceous (roughly 100 million years ago), which generated 29 percent of global reserves, and the Upper Jurassic (around 150 million years ago), responsible for 25 percent. The Oligocene-Miocene period, roughly 15 to 35 million years ago, contributed another 12.5 percent.
These prolific intervals share common features: warm global climates, high sea levels that flooded continental margins with shallow seas, and abundant marine life. The Cretaceous, for example, was a greenhouse world with no polar ice caps and vast inland seas covering parts of what is now North America, the Middle East, and North Africa. Those conditions created perfect environments for massive plankton blooms and the oxygen-poor seafloor sediments needed to preserve organic material.
What Crude Oil Is Made Of
Chemically, crude oil is a complex mixture of hydrocarbons, molecules built from carbon and hydrogen atoms arranged in chains and rings of varying lengths. A typical crude contains about 84.5 percent carbon and 13 percent hydrogen by weight. The remaining fraction includes 1 to 3 percent sulfur and less than 1 percent each of nitrogen, oxygen, and trace metals.
The exact makeup varies from field to field, which is why crude oil ranges from thin, pale “light sweet” varieties (low sulfur, shorter carbon chains) to thick, dark “heavy sour” types (high sulfur, longer and more complex molecules). Light crudes are easier and cheaper to refine into gasoline and diesel. Heavy crudes require more processing but are more abundant in certain regions, particularly Venezuela and parts of Canada.
Every barrel of crude oil traces back to those ancient microscopic organisms. The carbon atoms in a gallon of gasoline were once part of plankton floating in a Cretaceous sea or Jurassic ocean, captured through photosynthesis, buried under miles of sediment, and slowly cooked over tens of millions of years into the substance that powers modern civilization.

