How is Oil Formed?

Science — James William Steven Parker

Oil, in the geological sense of crude petroleum, forms from organic matter that was deposited in sediments, preserved under conditions that limited complete decomposition, buried progressively deeper and transformed by heat and pressure over geological timescales. Much petroleum source material originated from microscopic aquatic organisms such as algae and plankton, although terrestrial organic matter can contribute in some petroleum systems.

When organisms die, their remains may settle into oxygen poor environments where a portion of the organic material escapes complete decomposition. Sediments accumulate over the organic rich material, increasing burial depth and pressure. During early burial, biological and chemical processes transform the organic matter into a complex solid organic substance called kerogen. As temperature increases with deeper burial, kerogen undergoes thermal maturation. Within an appropriate temperature range, often called the oil window, chemical bonds break and generate liquid hydrocarbons. These hydrocarbons can migrate out of the source rock through pores and fractures and may eventually accumulate in porous reservoir rocks beneath impermeable seals. Oil formation is therefore a multistage geological process rather than a direct transformation of dead organisms into liquid fuel.

The source rock is fundamental to oil formation. A source rock is a sedimentary rock containing sufficient organic matter of suitable type and maturity to generate petroleum. Organic rich mudstones and shales are common source rocks because fine sediments can accumulate with organic matter in environments where oxygen availability is limited. The nature of the original organic material affects the type of hydrocarbons that can form. Geologists commonly use kerogen classifications based on organic composition and hydrogen to carbon characteristics.

Some kerogen types are particularly oil prone, while others favour gas generation. As burial continues, increasing temperature causes progressive thermal maturation. Immature organic matter has not generated significant petroleum, whereas mature source rock can generate hydrocarbons and overmature material may have generated most of its liquid potential and become more gas prone or carbon rich. The thermal history of a sedimentary basin therefore determines whether a source rock becomes a productive petroleum source.

The oil window describes the range of underground temperatures and geological conditions in which substantial liquid petroleum can be generated from suitable kerogen. The exact temperature range is not a universal fixed interval because it depends on kerogen type, heating history, pressure, reaction kinetics and geological conditions. In many petroleum systems, oil generation occurs broadly within a moderate temperature range below the conditions that strongly favour dry gas generation.

As temperature continues to rise, previously generated liquid hydrocarbons can undergo further cracking and produce lighter hydrocarbons and natural gas. The depth corresponding to the oil window varies because geothermal gradients differ among basins. Burial history is therefore more informative than simply stating a particular depth. Petroleum geologists reconstruct temperature and burial histories using geological data, geochemical analysis and basin modelling to determine whether a source rock reached suitable maturity and when hydrocarbon generation may have occurred.

After hydrocarbons are generated, they may migrate through the subsurface. Primary migration refers broadly to movement out of the source rock, while secondary migration describes movement through carrier beds and other permeable geological pathways towards potential traps. Oil and gas are generally less dense than formation water, so buoyancy contributes to upward migration through permeable rocks. Petroleum accumulations can form where hydrocarbons encounter geological structures or stratigraphic conditions that prevent further migration.

A conventional petroleum trap commonly consists of a reservoir rock with sufficient porosity and permeability overlain or surrounded by an impermeable seal. Anticlinal folds, faults, salt structures and stratigraphic pinch outs can create traps. If the trap contains both oil and gas, gas generally occupies the upper part because it is less dense, oil lies below the gas, and formation water commonly lies below the oil. This arrangement is a simplified representation and actual reservoirs can be much more complex.

Reservoir rock does not generate oil simply because it contains petroleum. Generation usually occurs in a source rock, while a reservoir is a separate rock body capable of storing and transmitting hydrocarbons. Sandstones and carbonate rocks are common reservoir rocks because they can contain interconnected pore spaces. Porosity determines how much fluid the rock can store, while permeability determines how easily fluids can move through connected pores. A cap rock or seal is needed to prevent hydrocarbons from escaping.

Shale and evaporite rocks can provide effective seals because of their very low permeability. A complete petroleum system therefore requires several linked elements, including a mature source rock, migration pathway, reservoir, seal and trap, together with appropriate timing. The timing relationship is crucial because a trap must exist when hydrocarbons migrate into it. A reservoir that forms after hydrocarbons have already migrated elsewhere may not accumulate a commercially useful quantity.

Oil formation differs from the abiogenic petroleum hypothesis that proposes hydrocarbons can form through non biological geological processes. Abiogenic hydrocarbons do exist in geological settings and can form through inorganic chemical reactions, but the overwhelming basis of conventional petroleum geology is the extensive evidence linking economically significant petroleum deposits to ancient organic rich source rocks. Biomarker molecules, isotopic patterns, kerogen composition, sedimentary environments and petroleum system studies provide evidence for biological origins of most conventional petroleum.

This distinction is important because the statement that oil is formed from ancient biological material is a general geological explanation for conventional petroleum systems, not a claim that every hydrocarbon molecule in Earth has a biological origin. Petroleum itself is also not a single substance. Crude oils differ substantially in density, viscosity, sulfur content and molecular composition depending on their source and geological history.

Oil accumulations are not necessarily underground lakes or enormous hollow cavities filled with liquid. Petroleum commonly occupies interconnected microscopic pores within reservoir rock. The rock framework remains present, and oil, gas and water share the available pore spaces according to pressure, saturation, capillary forces and fluid properties. Wells are drilled into reservoirs to allow pressure driven flow of hydrocarbons towards the surface. Natural reservoir pressure may initially drive production, but pressure can decline as fluids are extracted.

Water injection, gas injection and other enhanced recovery techniques can help maintain pressure or improve displacement of oil through the reservoir. In unconventional resources such as some tight oil formations, hydrocarbons remain in very low permeability rocks and may require horizontal drilling and hydraulic fracturing to create flow pathways. These technologies do not change how the hydrocarbons originally formed but change how accessible they are for extraction.

Oil formation is therefore best understood as the geological transformation of preserved organic matter into hydrocarbons followed by migration and accumulation. Organic matter is deposited and preserved, sediment burial converts it into kerogen, increasing temperature causes thermal maturation and hydrocarbon generation, and the resulting fluids migrate through geological pathways. Suitable reservoir and seal rocks can trap the hydrocarbons, producing an accumulation that may eventually become an economically recoverable petroleum resource.

The process generally takes millions of years and depends on a rare combination of biological productivity, preservation, sedimentation, burial, temperature history, migration and trapping. This explains why petroleum is classified as a fossil fuel and why naturally occurring oil is not renewable on human timescales. It also explains why petroleum exploration is fundamentally a geological science involving sedimentology, structural geology, organic geochemistry, geophysics, basin analysis and reservoir engineering.