Magma vs Lava: What's the Difference?

Magma and lava are the same material below and above ground. Learn how magma forms, what its composition tells us, and why the three tectonic settings make different kinds of melt.

Uni Year 1Earth science
⏱️ About 16 min
Magma vs Lava: What's the Difference? — illustration
Illustrative image (AI-generated).

Stand on a volcano and the rock beneath your feet is solid. Descend a few kilometres and it is not. That molten rock — called magma when it is underground, lava when it breaks the surface — is the raw material for every igneous rock on Earth. But magma does not appear everywhere; it forms in three specific tectonic settings, and the kind of magma each setting produces determines whether the eruption will be a gentle lava flow or an explosive blast.

💡
The big idea: Magma is molten rock beneath Earth's surface; lava is magma that has erupted. Magma forms when solid rock melts, and the three dominant melting mechanisms — decompression melting, flux melting, and heat-transfer melting — are tied to plate-tectonic settings, though decompression melting dominates at more than one of them. The resulting magma's composition (especially silica content and dissolved gases) controls its viscosity and how it will behave when it reaches the surface.
🎯 By the end, you'll be able to
  • Distinguish magma from lava and explain why the location (below vs above ground) matters
  • Describe the three main magma-generation mechanisms and the tectonic settings where each is important
  • Relate magma composition (silica content, dissolved gases) to viscosity and eruptive potential
  • Name the three principal tectonic settings where magma is generated and identify which mechanism dominates in each

What is magma?

Magma is molten rock stored beneath Earth's surface. It is not pure liquid — most magma is a mush of liquid, solid crystals, and dissolved gases (mostly water vapour and carbon dioxide). The liquid portion is called the melt; the suspended crystals are minerals that have already started to solidify. When magma reaches the surface, we call it lava.

The difference is purely location. Magma crystallises underground to make intrusive (plutonic) igneous rocks. Lava cools above ground to make extrusive (volcanic) igneous rocks. The chemistry can be identical; only the cooling environment changes.

🔑 Magma = below; lava = above
The only difference between magma and lava is where it sits. Both are molten rock; magma is underground, lava is erupted. This distinction matters because pressure, temperature, and gas content change dramatically as magma rises toward the surface.

Three ways to make magma

Most of the mantle and crust are solid, so melting requires a special combination of temperature, pressure, and composition. Geologists recognise three main mechanisms, each tied to a tectonic setting:

  • Decompression melting — lowering the pressure on hot mantle rock so it crosses its melting point.
  • Flux melting — adding water or other volatiles, which lower the melting temperature of rock.
  • Heat-transfer melting — hot magma rising from deep in the mantle transfers enough heat to melt the surrounding crustal rock.

Decompression melting: mid-ocean ridges and rifts

At divergent boundaries, tectonic plates pull apart and the hot mantle rises to fill the gap. As the mantle rock rises, the pressure on it drops (decompresses). Because melting point depends on pressure, the rock can now melt without getting any hotter. This is decompression melting, and it produces the basaltic magma that builds new oceanic crust at mid-ocean ridges and fills rift valleys on continents.

The magma here is typically low in silica (~45–55 % SiO₂), low in dissolved gases, and low in viscosity — it flows easily.

Flux melting: subduction zones

At convergent boundaries, an oceanic plate sinks (subducts) into the mantle. The subducting slab carries water-rich sediments and altered oceanic crust down with it. As the slab descends, heat and pressure drive water out of the rock. This water rises into the hot mantle wedge above the slab and acts as a flux — it lowers the melting temperature of the mantle rock, much like salt lowers the freezing point of water on a winter road.

The resulting magma is generally richer in silica (~55–65 % SiO₂) and dissolved gases than ridge basalt. It is more viscous and more prone to explosive eruptions. This is the magma that feeds the volcanic arcs of the Pacific Ring of Fire.

Hotspots: decompression melting (with a heat-transfer twist)

At hotspots, a plume of unusually hot mantle rock rises from deep within Earth — possibly from the core–mantle boundary. Like the mantle beneath a mid-ocean ridge, the rising plume decompresses as it ascends, and decompression melting dominates, generating basaltic magma. This is why Hawaiian hotspot lavas are basaltic (~45–52 % SiO₂) even though they erupt in the middle of a plate, far from any ridge.

A secondary process — heat-transfer melting — kicks in wherever hot, mantle-derived basaltic magma stalls and ponds at the base of the crust. The intruding magma transfers heat to the surrounding solid country rock, melting it (this is also called contact melting). If that country rock is thick continental crust, the new melt is far richer in silica — which is why Yellowstone's hotspot produces rhyolitic magma rather than basalt. Heat-transfer melting is distinct from assimilation: heat-transfer melting melts the country rock, whereas assimilation is the magma physically digesting and incorporating that melted material into itself.

✨ Tectonic settings map to melting mechanisms
Divergent boundaries → decompression melting → basaltic magma. Convergent boundaries (subduction) → flux melting → intermediate magma with high gas content. Hotspots → decompression melting (the rising plume) → basaltic magma, with heat-transfer melting adding silicic melt where that basalt ponds at the base of continental crust. This maps directly onto the plate-boundary lesson and is the key to predicting eruption style.
⚠️ Misconception: "Magma and lava are the same"
Magma and lava are the same material — molten rock — but they are not the same thing in geologic usage. Magma is below the surface; lava is magma that has erupted. The distinction is not pedantic: pressure drops during ascent let dissolved gases expand, which is why some lavas fountain and others explode. Calling everything "lava" loses that critical phase of the journey.

What magma is made of

The two most important compositional controls on magma behaviour are:

  • Silica (SiO₂) content — silica forms long, chain-like molecules in molten rock. High-silica magma is thick and sticky (high viscosity); low-silica magma is thin and runny (low viscosity).
  • Dissolved gases — mainly H₂O and CO₂. Gases stay dissolved under high pressure underground, but as magma rises and pressure drops, bubbles form. The more gas and the thicker the magma, the more explosive the eruption.

These two properties — viscosity and gas content — are what determine whether a volcano will ooze quiet lava flows or blast ash kilometres into the sky.

📝 Worked example: A basaltic magma contains 48 % SiO₂ and has very low dissolved-gas content. A rhyolitic magma contains 72 % SiO₂ and is rich in dissolved water. Which will erupt more explosively, and why?
  1. Silica forms long molecular chains. The rhyolitic magma (72 % SiO₂) has far more chain-forming material than the basaltic magma (48 % SiO₂).
  2. More silica → higher viscosity. The rhyolitic magma is thick and resists flow.
  3. High viscosity traps expanding gas bubbles. Instead of escaping gently, pressure builds until the magma shatters into tiny fragments (ash and pumice).
  4. The basaltic magma is runny; gas bubbles escape easily, so eruptions are effusive (lava flows) rather than explosive.
✓ The rhyolitic magma will erupt more explosively because its high silica content makes it viscous, trapping dissolved gases until they burst.

Check your understanding

1. What is the only difference between magma and lava?
Magma and lava are the same molten rock; the only difference is whether it is still beneath the surface (magma) or has erupted (lava).
2. Which melting mechanism dominates at mid-ocean ridges?
As hot mantle rises beneath a divergent boundary, pressure drops and the rock melts without getting hotter — decompression melting.
3. Why does subduction-zone magma tend to be more explosive than ridge magma?
Subduction zones involve water released from the sinking slab, which both lowers the melting point (flux melting) and adds dissolved gases. The resulting magma is more viscous and gas-rich, leading to more explosive eruptions.
✅ Key takeaways
  • Magma is molten rock beneath the surface; lava is magma that has erupted.
  • Three mechanisms generate magma: decompression melting (ridges, rifts, and hotspots), flux melting (subduction zones), and heat-transfer melting (wherever mantle-derived magma ponds in the crust, e.g. continental hotspots and volcanic arcs).
  • Decompression melting dominates at two settings (ridges and hotspots); flux and heat-transfer melting each dominate in their own settings, and all produce magma with different composition and gas content.
  • Silica content controls viscosity: high silica = sticky magma; low silica = runny magma.
  • Dissolved gases expand as pressure drops during ascent; high viscosity traps gases, leading to explosive eruptions.
➡️ Now we know where magma comes from and what controls its behaviour. The next question is what happens when it cools — and how the cooling environment writes itself into the rock's texture.
Want to test yourself on this? Try the Science practice tests →
🎓 Go deeper: university courses & trusted references

Handpicked external material for this module — for when you want the full university treatment of igneous rocks & volcanism.

External sites are listed for reference only. This course is independent and has no affiliation with, or endorsement from, the institutions named.