Igneous rock and sedimentary rock are two of the three major rock types that make up Earth’s crust, the third being metamorphic rock, and each forms through a distinctly different geological process. Igneous rock forms when molten material, either magma beneath Earth’s surface or lava that has erupted onto the surface, cools and solidifies into a crystalline or glassy solid. Sedimentary rock, by contrast, forms when fragments of pre-existing rock, mineral grains, or organic material accumulate in layers, usually in water, and are gradually compacted and cemented together over long periods of time. These two formation processes, crystallization from melt versus accumulation and compaction of particles, give the two rock types very different physical characteristics, textures, and geological significance.
| Feature | Igneous Rock | Sedimentary Rock |
|---|---|---|
| Formation process | Cooling and solidification of molten magma or lava | Accumulation, compaction, and cementation of sediment layers |
| Texture | Crystalline, interlocking mineral grains | Layered (stratified), often grainy or clastic |
| Fossil content | Rare to absent (heat destroys organic material) | Common; the primary rock type where fossils are preserved |
| Common examples | Granite, basalt, obsidian, pumice | Sandstone, limestone, shale, conglomerate |
| Formation location | Intrusive (underground) or extrusive (at/above surface) | At or near Earth’s surface, often in water |
| Relative age of layers | Not layered in the same stratigraphic sense | Oldest layers typically at the bottom (law of superposition) |
What Is Igneous Rock?
Igneous rock, from the Latin “ignis” meaning fire, forms when molten rock material cools and crystallizes into a solid. This molten material originates as magma deep within Earth’s crust or upper mantle, where temperatures and pressures are high enough to keep rock in a liquid or semi-liquid state. Igneous rocks are divided into two major categories based on where cooling occurs. Intrusive, or plutonic, igneous rocks form when magma cools slowly beneath Earth’s surface, often over thousands to millions of years, allowing large, visible mineral crystals to grow; granite, with its characteristic speckled appearance of quartz, feldspar, and mica crystals, is the classic example. Extrusive, or volcanic, igneous rocks form when lava cools rapidly at or above Earth’s surface after a volcanic eruption, producing much smaller crystals or, in cases of extremely fast cooling, a glassy texture with no crystals at all, as seen in obsidian.
The mineral composition and cooling rate of igneous rock determine its texture and classification. Basalt, a fine-grained extrusive rock, makes up most of the ocean floor and is also common in volcanic regions on land. Pumice, formed when gas-rich lava cools so rapidly that trapped gas bubbles become frozen in place, is so porous that some varieties float on water. Because igneous rocks form from intense heat, they generally do not contain fossils, since any organic material would be destroyed in the molten source material before solidification.
What Is Sedimentary Rock?
Sedimentary rock forms through an entirely different process: the accumulation and consolidation of sediment, which may consist of fragments of other rocks (clasts), mineral grains, organic remains, or chemical precipitates. This process typically unfolds over a sequence of stages known as weathering, erosion, transportation, deposition, and lithification. Weathering breaks down existing rock into smaller particles; erosion and transportation, carried out by water, wind, or ice, move these particles to a new location; deposition allows the particles to settle, often in layers, in locations such as riverbeds, lake bottoms, ocean floors, or desert basins; and lithification, the final hardening process, occurs as accumulated layers are compacted under the weight of overlying material and cemented together by minerals precipitating from groundwater, such as calcite or silica.
Sedimentary rocks are classified into three broad categories. Clastic sedimentary rocks, such as sandstone, shale, and conglomerate, form from compacted and cemented rock and mineral fragments, classified by particle size. Chemical sedimentary rocks, such as rock salt and some limestones, form when dissolved minerals precipitate directly out of water. Organic (or biochemical) sedimentary rocks, including coal and many limestones, form from the accumulated remains of plants or marine organisms. Because sedimentary rocks form through gradual, low-temperature accumulation rather than intense heat, they are the primary rock type in which fossils are preserved, making them essential to paleontology and to reconstructing Earth’s geological and biological history. Sedimentary rocks are also typically deposited in layers, or strata, with the principle known as the law of superposition stating that, in an undisturbed sequence, the oldest layers lie at the bottom and the youngest at the top.
Key Differences Between Igneous and Sedimentary Rock
The defining difference is the formation process itself: igneous rock crystallizes from molten material, while sedimentary rock accumulates from particles and is compacted over time, without ever passing through a molten phase. This fundamental difference produces distinct textures: igneous rocks typically display interlocking crystal grains formed as minerals solidified from melt, while sedimentary rocks display a layered, often grainy or clastic texture reflecting the accumulation of distinct sediment particles over time. The presence of fossils is one of the clearest practical distinctions in the field; because igneous rock formation involves intense heat that destroys organic matter, fossils are essentially never found in igneous rock, whereas sedimentary rock is the primary host of the fossil record precisely because its low-temperature formation process allows organic remains to be preserved intact within the accumulating layers.
The two rock types also differ in where and how they typically form. Igneous rock can form both underground, as magma slowly cools within the crust, or at the surface, as lava erupts and cools quickly, while sedimentary rock forms almost exclusively at or very near Earth’s surface, in environments where sediment can accumulate, such as river deltas, ocean basins, and desert floors. Geologists also use each rock type differently as evidence: igneous rocks, and their cooling rates and mineral compositions, provide information about volcanic activity, magma chemistry, and the thermal history of a region, while sedimentary rock layers provide a chronological record of past environments, climate conditions, and biological history, read through principles such as superposition and the fossils and sediment characteristics preserved within each layer.
Why This Distinction Matters
Understanding the difference between igneous and sedimentary rock underpins much of practical and economic geology. Many of the world’s fossil fuel reserves, including coal, oil, and natural gas, are found within or associated with sedimentary rock formations, since these fuels form from the accumulated and transformed remains of ancient organisms trapped within sedimentary layers; petroleum geologists rely heavily on an understanding of sedimentary basin formation and rock porosity to locate viable reserves. Groundwater, too, is typically stored within porous sedimentary rock formations known as aquifers, making knowledge of sedimentary geology central to water-resource management.
Igneous rock, meanwhile, plays a central role in understanding volcanic hazards, plate tectonics, and the formation of valuable mineral deposits; many metallic ore deposits, including those of copper, gold, and other metals, form in association with igneous intrusions and the hydrothermal fluids they generate. In construction and engineering, the two rock types also behave differently: igneous rocks such as granite are prized for their hardness and durability in building stone and countertops, while certain sedimentary rocks, such as limestone, are valued both as building material and as the raw material for cement production. Recognizing which rock type underlies a region therefore has direct consequences for resource exploration, hazard assessment, and construction planning.
Common Misconceptions
A common misconception is that all rock layers visible in cliffs or canyon walls are sedimentary; while sedimentary rock is the most commonly layered type, igneous rock can also display layering in certain contexts, such as repeated lava flows, though this layering reflects a different process (sequential eruptions) rather than particle accumulation. Another misconception holds that igneous rock is always associated with active volcanoes, when in fact intrusive igneous rock, such as the granite that forms the core of many mountain ranges, cools slowly underground and may only become visible at the surface millions of years later through erosion, with no volcanic eruption required at all. Some people also assume that rock type alone determines whether fossils can be found in a given location, when in practice the near-total absence of fossils in igneous rock, versus their relative abundance in sedimentary rock, is specifically a consequence of each rock type’s formation temperature, not a random distribution.
Frequently Asked Questions
Can igneous rock ever contain fossils?
Essentially no, because the intense heat required to melt rock into magma or lava destroys any organic material; any fossils found near igneous rock formations typically belong to adjacent sedimentary layers rather than the igneous rock itself.
What is the difference between intrusive and extrusive igneous rock?
Intrusive igneous rock cools slowly underground, producing large visible crystals (such as granite), while extrusive igneous rock cools quickly at or above the surface after a volcanic eruption, producing small crystals or a glassy texture (such as basalt or obsidian).
Why are sedimentary rocks usually found in layers?
Sedimentary rock forms as successive layers of sediment are deposited over time, typically in water or other depositional environments, with each new layer settling on top of the previous one, creating the visible stratification seen in many rock formations.
Is limestone igneous or sedimentary?
Limestone is a sedimentary rock, typically formed from the accumulated skeletal remains of marine organisms or through direct chemical precipitation of calcium carbonate from water.
More in Science & Mathematics
Key facts
- Igneous rock crystallizes from molten magma or lava; sedimentary rock forms from accumulated, compacted sediment.
- Igneous rocks have interlocking crystal textures; sedimentary rocks have layered, clastic textures.
- Fossils are essentially absent in igneous rock but common in sedimentary rock.
- Examples of igneous rock: granite, basalt, obsidian. Examples of sedimentary rock: sandstone, limestone, shale.
- Sedimentary layers follow the law of superposition: oldest layers at the bottom in an undisturbed sequence.
Quick checkWhy are fossils almost never found in igneous rock?Show answer
Igneous rock forms from molten material, and the intense heat required to melt rock destroys any organic matter before the rock solidifies, so fossils cannot survive the process.
Sources
- USGS; National Park Service geology resources; Encyclopaedia Britannica
Editorially reviewed by Specialty Digest Editorial TeamLast reviewed November 30, 2026Researched and drafted with AI assistanceReport an issue
