FREEOne easy experiment in your inbox every Friday. Sign up →

Earth & Weather

The 3 Types of Rocks (and How They Form)

Every rock on Earth is one of three types: igneous, sedimentary or metamorphic. Learn how each one forms, how to tell them apart and how rocks slowly change from one type to another in the rock cycle.

By Try Science Team ·

Quick answer

There are three types of rocks. Igneous rocks form when hot melted rock cools and hardens. Sedimentary rocks form when layers of sand, mud and shells get pressed together over a very long time. Metamorphic rocks form when heat and squeezing deep underground change one rock into a new one. Over millions of years, rocks keep changing from one type to another in the rock cycle.

Best forAges 5–12
Read time5 min
Big ideaEarth recycles its rocks

Pick up any rock, a pebble from the playground, a shiny countertop or a chunk of sidewalk, and it belongs to one of just three families. Geologists, the scientists who study rocks, sort them by how they were made. Once you know the three recipes, you can start reading the story hiding inside every rock.

1. Igneous rocks: made by fire

Deep underground, it’s hot enough to melt rock into a glowing liquid called magma. When magma cools and hardens, it becomes igneous rock. (Igneous comes from the Latin word for fire.)

  • Cooled slowly underground: the crystals have time to grow big, so you can see speckles. Example: granite.
  • Cooled fast on the surface: lava from a volcano cools quickly, so the crystals are tiny or there are none at all. Examples: basalt, shiny black obsidian and pumice, which is so full of gas bubbles it can float.

2. Sedimentary rocks: made in layers

Wind, rain and rivers slowly break rocks into tiny bits called sediment: sand, mud and pebbles. Water carries the bits to lakes and oceans, where they settle in layers, along with shells and bones. Over thousands to millions of years, new layers press down on the old ones and natural minerals glue the bits together into stone.

Look for stripes and grains you can feel. Examples: sandstone, shale and limestone. Sedimentary rock is where almost all fossils are found, because plants and animals get buried in the layers.

3. Metamorphic rocks: made by changing

Metamorphic means “changed form,” like a caterpillar turning into a butterfly. When a rock gets buried deep underground or squeezed where pieces of Earth’s crust push together, heat and pressure change it into a new rock without melting it. The minerals rearrange, often into bands or sparkly flat layers.

Examples: limestone turns into marble, shale turns into slate and granite can turn into gneiss (say it: “nice”).

The rock cycle: igneous rock wears down into sediment that becomes sedimentary rock; heat and pressure turn rock into metamorphic rock; melting turns it into magma, which cools into igneous rock again.Igneouscooled magmaSedimentarypressed layersMetamorphicheat + squeezeweathering, layers,pressingburied deep: heat + pressuremelts into magma,then coolsRocks slowly change from one type to another.
The rock cycle: Earth keeps turning old rocks into new ones.

Explain it like I’m 5

Think of three ways to make a cookie. Melt chocolate and let it harden: that’s igneous. Squish crumbs together into a bar: that’s sedimentary. Squeeze and warm a cookie until it changes shape: that’s metamorphic.

The rock cycle

Rocks don’t stay one type forever. A volcano’s igneous rock can be worn into sand that becomes sandstone. That sandstone can be buried and squeezed into metamorphic quartzite. If it sinks deep enough to melt, it becomes magma, and when it cools, it’s igneous rock again. This never-ending loop is called the rock cycle. It’s very slow: one trip around can take millions of years.

How to tell rocks apart

  • Crystals locked together, or glassy and bubbly? Probably igneous.
  • Layers, sandy grains or fossils? Probably sedimentary.
  • Wavy bands, or flat sparkly sheets that look squished? Probably metamorphic.

Try it: make a crayon rock cycle

  • Ages 5+
  • 30 minutes
  • Craft drawer stuff
  • A little mess

You need: 3 old crayons (peeled), a plastic knife or pencil sharpener, aluminum foil, a mug of hot tap water and a grown-up helper.

  1. Weathering: shave each crayon into little flakes. These are your “sediment.”
  2. Sedimentary: sprinkle the colors in layers on a square of foil. Fold the foil over and press hard with your hands or a book. Peek: you have a layered sedimentary “rock.”
  3. Metamorphic: fold it back up and have a grown-up set the packet on the hot mug for 1 to 2 minutes, then press again. The layers soften and swirl together without fully melting.
  4. Igneous: a grown-up warms the packet longer (in a foil cup in a sunny window or on the hot mug) until it melts into liquid. Let it cool and harden.

What’s happening: you used the same three tools Earth uses: breaking and pressing, heat with squeezing, and melting then cooling. Real rocks take millions of years. Your crayon took a few minutes.

Words to know

Igneous
Rock made when melted rock cools and hardens.
Sedimentary
Rock made from layers of sand, mud and shells pressed together.
Metamorphic
Rock changed by heat and pressure into a new kind of rock.
Magma
Melted rock underground. When it comes out of a volcano, it’s called lava.
Mineral
A natural solid made of crystals. Rocks are made of minerals.
Geologist
A scientist who studies rocks and how Earth works.
For grown-ups: the real science

Rocks are classified by origin. Igneous rocks crystallize from magma or lava; intrusive (plutonic) rocks like granite cool slowly at depth and are coarse-grained (phaneritic), while extrusive (volcanic) rocks like basalt cool quickly and are fine-grained (aphanitic) or glassy (obsidian). Sedimentary rocks form through weathering, erosion, deposition, compaction and cementation; they are clastic (sandstone, shale), chemical (rock salt, some limestones) or biochemical (most limestone, coal).

Metamorphic rocks recrystallize in the solid state under elevated temperature and pressure, through regional metamorphism (mountain building, producing foliated rocks like slate, schist and gneiss) or contact metamorphism near intrusions (producing non-foliated rocks like hornfels; marble and quartzite are also non-foliated). The rock cycle is driven by plate tectonics and Earth’s internal heat, plus surface processes powered by the Sun and gravity. Not every rock follows the loop in order: any type can be weathered, metamorphosed or melted.

Questions kids ask next

What is the most common type of rock?

Most of Earth’s crust is igneous and metamorphic rock, but sedimentary rock covers most of the land surface, like a thin blanket on top.

Are crystals and gems rocks?

Crystals and gems are usually minerals, the building blocks of rocks. A rock is often a mix of several minerals stuck together.

How old are rocks?

Some are brand new, like lava that cooled last year. The oldest known bits of Earth, tiny zircon crystals from Australia, are about 4.4 billion years old.

Is a rock from space a fourth type?

Meteorites come from space, but they’re still made of minerals, and most are similar to igneous rock or are chunks of metal. Geologists study them as their own special group.