Igneous rocks
Igneous rocks form when molten rock cools and solidifies. Molten rock is called magma when it is underground and lava when it reaches the surface. It forms in the lower crust and upper mantle, where temperatures or changes in pressure and water content allow rock to melt.
The size of the crystals in an igneous rock depends on how fast the molten rock cooled, and geologists use this to split igneous rocks into two groups.
Intrusive rocks form when magma cools slowly deep underground, sometimes over thousands to millions of years. The slow cooling gives crystals time to grow, so the rock has large crystals that can be seen without a microscope. Granite is the best-known example. It is made mostly of quartz, feldspar, and mica, and the interlocking crystals are easy to see in countertops and building stone.
Extrusive rocks form when lava cools quickly at the surface, which leaves little time for crystals to grow. They are fine-grained, and in some cases they have no crystals at all. Basalt is the most common extrusive rock and forms the bulk of the ocean floor, so a large part of Earth's surface is made of volcanic rock. Obsidian is a volcanic glass that cooled so fast that no crystals formed, and pumice is a frothy rock full of gas bubbles that formed when gas-rich lava erupted.
Because they come directly from the interior, igneous rocks give geologists information about the temperature and chemistry of the crust and mantle.
Sedimentary rocks
Sedimentary rocks form from pieces of other rocks, from minerals that precipitate out of water, or from the remains of living things. They are formed at the surface or at shallow depth, at much lower temperatures than the other two types.
The process begins with weathering and erosion. Rain, ice, wind, and chemical reactions break rock into smaller pieces, called sediment, and rivers, glaciers, or wind carry them away. When the transporting medium slows down, the sediment is deposited, often in layers on the bottom of a lake, river, or ocean. Over time, more layers pile up on top. The weight of the upper layers compacts the lower ones, and minerals dissolved in groundwater, such as calcite and silica, crystallize between the grains and cement them together. This process of turning loose sediment into rock is called lithification.
Sedimentary rocks come in three main kinds:
Clastic rocks are made of fragments of older rocks. Sandstone is formed from sand grains, shale from very fine mud and clay, and conglomerate from rounded pebbles and gravel.
Chemical rocks form when minerals crystallize out of water, as when seawater evaporates. Rock salt and gypsum are examples.
Biochemical or organic rocks are made from the remains of living things. Limestone is often made of the shells and skeletons of marine organisms, and coal is made from compressed plant material.
Each type reflects the place where it formed. Sandstone is typical of beaches, rivers, and deserts, while shale forms in quiet water, such as lakes and deep ocean basins, where fine particles slowly settle. Limestone forms in warm, shallow seas.
Because sediments are laid down in layers, the oldest layer is usually at the bottom, an idea known as the law of superposition, first described by Nicolaus Steno in the 1600s. Layers also preserve fossils, ripple marks, and mud cracks. This is why sedimentary rocks are the main source of information about past life and past environments. The walls of the Grand Canyon, for example, expose a stack of layers that record nearly two billion years of history.
Sedimentary rocks make up only a small fraction of the crust by volume, about 5 percent, but they form a thin cover over roughly three quarters of the continental surface, so they are the rocks that people see most often.
Metamorphic rocks
Metamorphic rocks form when an existing rock is changed by heat, pressure, or hot fluids without melting. The starting rock, called the parent rock, can be igneous, sedimentary, or even another metamorphic rock. The word comes from Greek and means "change of form."
Metamorphism takes place when rock is buried deep underground, squeezed during mountain building, or heated by nearby magma. It usually begins at temperatures of about 200 degrees Celsius and continues up to the point where the rock begins to melt, at roughly 700 to 900 degrees depending on the composition. Under those conditions the minerals recrystallize into new minerals and textures that are stable at the higher temperature and pressure, while the rock stays solid.
Geologists describe two main types.
Contact metamorphism happens near a body of magma, where heat alters the surrounding rock over a limited area.
Regional metamorphism happens over very large areas, usually where tectonic plates collide and build mountain ranges. The rocks are subjected to directed pressure as well as heat.
Directed pressure often makes minerals line up in parallel bands, which gives the rock a layered or banded texture called foliation. Foliated rocks form a sequence as the metamorphism becomes more intense. Shale turns into slate, which splits into flat sheets and is used for roofing and tiles. With more heat and pressure, slate becomes phyllite, then schist, which has visible shiny mica flakes, and then gneiss, which has distinct light and dark bands. Non-foliated rocks have no layering. Limestone turns into marble, in which small calcite crystals grow into an interlocking mass, and quartz sandstone becomes quartzite, an extremely hard rock.
Metamorphic rocks show that the interior of Earth is not static, and they record the conditions that existed deep in the crust long ago.
Telling them apart
A few simple features are often enough to make a first guess about which group a rock belongs to.
Type
How it forms
What to look for
Examples
Igneous
Cooling of magma or lava
Interlocking crystals, or a glassy or bubbly texture, with no layers
Granite, basalt, obsidian, pumice
Sedimentary
Cemented sediment, mineral precipitation, or organic remains
Layers, rounded grains, fossils, a crumbly or gritty feel
Sandstone, shale, limestone, coal
Metamorphic
Heat and pressure changing an existing rock
Bands or aligned minerals, or a dense crystalline texture
Slate, schist, gneiss, marble, quartzite
These are rules of thumb and not hard rules. Geologists also test the hardness of a rock, examine its minerals with a hand lens, and sometimes apply a drop of dilute acid, which fizzes on limestone and marble because they contain calcite.
How the rock cycle works
The rock cycle describes how rocks of each type can be turned into the others. It is not a fixed loop with one path, because any rock can take several routes depending on what happens to it.
Igneous rock exposed at the surface can be weathered and eroded into sediment, which becomes sedimentary rock.
Sedimentary rock that is buried and heated can become metamorphic rock.
Metamorphic rock that is heated enough can melt into magma, which later cools into igneous rock.
Shortcuts are common. An igneous rock can be metamorphosed without first being weathered, and a metamorphic rock can be uplifted and eroded into sediment.
Two sets of processes drive the cycle. Heat from Earth's interior powers plate tectonics, which builds mountains, buries rock, and pushes oceanic crust back into the mantle at subduction zones. At the surface, the Sun's energy drives the weather and the water cycle, which break rock down and move sediment. The two are connected, because tectonic uplift raises rock to the surface where it can be eroded, and erosion in turn moves weight around and affects what happens below.
The cycle is slow, with most steps taking millions of years, but it is constantly happening. Because of it, very old rock is rare. The oldest ocean floor is only about 180 million years old, since it is continually recycled into the mantle, and the oldest known rocks on the continents are about 4 billion years old. A few tiny grains of the mineral zircon found in Western Australia are about 4.4 billion years old, which makes them among the oldest pieces of Earth's crust that have survived. Earth itself is about 4.5 billion years old.
Why rocks matter
Rocks are the main source of evidence about Earth's history. Igneous rocks can be dated with radioactive isotopes, and they help scientists work out when volcanoes erupted and mountains formed. Sedimentary rocks preserve fossils and show where ancient seas, rivers, and deserts once were. Metamorphic rocks show how deep and how hot parts of the crust once were. Together, they allow geologists to reconstruct past climates, the movement of continents, and the history of life.
Rocks are also useful. Granite, marble, slate, and sandstone are used for buildings, monuments, floors, and roofs. Crushed basalt and limestone are used in roads and concrete, and limestone is the main ingredient in cement. Most of the world's coal, oil, and natural gas are found in sedimentary rocks, as are large iron ore deposits, and many metals are mined from rocks formed by igneous and metamorphic processes.