Magma and lava are two forms of molten rock associated with volcanic activity. The difference between them is simple: magma is molten rock beneath Earth’s surface, while lava is molten rock that has reached the surface. Although the terms describe the same basic material in different settings, the change from magma to lava can affect its temperature, gas content, movement, and eventual solidification.
Understanding the distinction helps explain how volcanoes erupt, why some eruptions produce flowing rivers of molten rock while others generate explosive blasts, and how volcanic activity shapes Earth’s surface.
What is magma?
Magma is a mixture of molten rock, solid mineral crystals, and dissolved gases found beneath Earth’s surface. It forms when rocks in the mantle or crust partially melt under suitable conditions. The resulting material can collect in underground reservoirs, move through fractures, or rise toward the surface.
Despite the common image of an enormous underground lake of liquid rock, magma is not always a vast, completely molten pool. Many magma reservoirs contain a mixture of liquid, crystals, and gas. Some are better understood as regions of hot, partially molten rock through which magma can move when conditions allow.
Magma forms through several geological processes. One occurs when hot rock experiences a reduction in pressure as it rises through the mantle. Even without gaining heat, the rock can begin to melt because lower pressure changes the conditions under which melting occurs. This process, called decompression melting, is common beneath mid-ocean ridges and some volcanic regions.
Another process occurs when water and other volatile substances enter hot rock. These substances lower the temperature at which certain minerals begin to melt, allowing magma to form without requiring the surrounding rock to become hotter. This mechanism is especially important at subduction zones, where one tectonic plate sinks beneath another and releases water into the overlying mantle.
Heat transfer can also cause melting. Hot magma moving into cooler crustal rocks may supply enough energy to melt some of the surrounding material, producing magma with a different chemical composition.
Magma temperatures vary with composition and geological setting, but many types fall roughly between 700 and 1,300 degrees Celsius. Silica-rich magma tends to be cooler and more viscous, while many iron- and magnesium-rich magmas are hotter and flow more readily.
What is lava?
Lava is magma that has erupted onto Earth’s surface. It may emerge from a volcanic crater, a long fissure, or an opening on the seafloor. Once exposed, it begins interacting with the surrounding air, water, or ground.
Like magma, lava contains molten rock and may carry crystals and gas bubbles. Its composition depends on the magma from which it formed. However, its surface environment changes how it behaves.
Lava loses heat to its surroundings, causing it to cool and eventually solidify. Depending on its composition, temperature, and rate of cooling, it may form a thin, mobile flow or a thick mass that advances slowly. Lava can also build up into layers, creating new land and adding to the height or width of a volcano.
When lava cools, its minerals crystallize as the liquid becomes solid rock. Rapid cooling can produce very small crystals or volcanic glass, while slower cooling generally allows larger crystals to grow. The resulting rock is called an igneous rock, meaning rock formed from molten material that has cooled and solidified.
Basalt is a common rock formed from lava, particularly at shield volcanoes and along mid-ocean ridges. Other volcanic rocks, including andesite, dacite, and rhyolite, form from lava with different chemical compositions.
Why does magma rise toward the surface?
Magma can rise because it is often less dense than the surrounding solid rock. This buoyancy creates an upward force, much as a less-dense fluid rises through a denser one. Pressure differences and movement along fractures also help magma travel through the crust.
As magma rises, the surrounding pressure decreases. This change can allow dissolved gases to form bubbles, much as carbon dioxide escapes from a carbonated drink when its pressure is released. The gases commonly include water vapor, carbon dioxide, and sulfur dioxide.
The formation and expansion of gas bubbles can influence magma’s movement and the nature of a volcanic eruption. If magma reaches the surface, it becomes lava. If it stalls underground, it may cool and crystallize without erupting, eventually forming intrusive igneous rock.
Not all magma reaches the surface, and not all volcanic activity produces lava flows. Some magma solidifies within the crust, where it can form large bodies of rock called intrusions. Granite, for example, commonly forms when silica-rich magma cools slowly underground, allowing relatively large mineral crystals to develop.
How magma and lava differ in temperature, pressure, and gas content
The distinction between magma and lava is based primarily on location, not on a fundamental difference in chemical identity. Nevertheless, moving from underground to the surface changes the conditions that govern their behavior.
Pressure is one of the most important differences. Deep underground, the weight of overlying rock creates substantial pressure. This pressure helps keep gases dissolved in magma. As magma rises and pressure drops, gases can separate from the liquid and form bubbles. If gas escapes relatively easily, the magma may erupt without a highly explosive release. If gas becomes trapped, pressure can build and contribute to an explosive eruption.
Temperature also changes. Magma generally loses heat as it moves through cooler surrounding rock, and lava loses heat after eruption. The amount of cooling depends on factors such as the thickness of the flow, the temperature of the environment, and whether the lava contacts air, water, or cold ground.
Gas content can change during ascent and eruption. Magma may contain dissolved gases before it reaches the surface, while lava often loses some of those gases during eruption. However, the distinction is not absolute: lava can still contain abundant bubbles, and some gas may remain trapped as the rock solidifies.
These differences help determine whether volcanic material flows easily, builds up near a vent, or fragments into ash and other particles during an explosive eruption.
Why some magma eruptions are explosive while others produce flowing lava
Volcanic eruptions vary widely in intensity. Some produce relatively steady lava flows, while others generate violent explosions that propel ash, rock fragments, and hot gas into the atmosphere. The contrast depends largely on magma composition, viscosity, and the behavior of dissolved gases.
Viscosity is a fluid’s resistance to flowing. Low-viscosity magma moves readily, while high-viscosity magma resists movement. Silica content is an important factor: magma rich in silica generally forms more interconnected structures within the melt, making it more viscous than many silica-poor magmas.
Basaltic magma, which typically has relatively low silica content and high temperatures, often produces fluid lava flows. Gas can escape from such magma relatively easily under favorable conditions, allowing some eruptions to proceed with comparatively little explosive fragmentation.
Silica-rich magma, such as rhyolitic magma, is generally more viscous. Bubbles may have difficulty escaping, allowing gas pressure to build. If the pressure becomes great enough, the magma can fragment explosively, producing ash, pumice, and other volcanic debris.
Andesitic and dacitic magmas can also produce explosive eruptions, depending on their temperature, gas content, ascent rate, and other conditions.
Composition alone does not determine an eruption’s behavior. Even basaltic magma can erupt explosively when gas release is restricted or when magma interacts with external water. Conversely, some more viscous magma can extrude gradually under certain conditions.
The key is how readily gas escapes compared with how quickly pressure builds. When gas escapes efficiently, magma may produce relatively gentle lava effusion. When gas becomes trapped and expands rapidly, an eruption can become explosive.
What happens when lava cools?
Once lava reaches the surface, it begins transferring heat to the environment. The cooling process can occur over different timescales depending on the lava’s thickness, composition, and surroundings.
A thin lava flow may cool relatively quickly, forming a solid crust while hotter material continues moving beneath it. Thick flows can remain molten inside long after their surfaces have hardened. As cooling continues, the remaining liquid crystallizes and the flow becomes solid rock.
Lava’s appearance and texture depend partly on how it moves. Fluid basaltic lava can form smooth, folded surfaces or rough, broken crusts. In Hawaii, these textures are known by the terms pāhoehoe and ʻaʻā, respectively. Pāhoehoe generally has a smooth or rope-like surface, while ʻaʻā has a rough, jagged surface made of loose fragments.
The same general cooling process can produce very different rocks. Rapidly cooled lava often develops fine-grained textures because crystals have little time to grow. Extremely rapid cooling, especially when lava contacts water, can produce volcanic glass. Slower cooling permits larger crystals to form, although lava at the surface usually cools more quickly than magma that remains deep underground.
Lava can also transform landscapes. Flows may bury roads, buildings, forests, and farmland, but they can create new land where they reach the sea. Over time, repeated eruptions build volcanic islands, extend coastlines, and construct the slopes of volcanic mountains.
Can magma exist without a volcano erupting?
Yes. Magma can remain underground without reaching the surface. It may cool and solidify within the crust, feed an intrusion, or become part of a larger body of igneous rock. In other cases, magma may remain partially molten for extended periods, depending on its temperature, composition, and surrounding conditions.
An underground magma reservoir does not necessarily mean that an eruption is imminent. Magma movement is only one part of the process that can lead to an eruption. The ability of magma to rise, the development of fractures, changes in gas pressure, and the properties of the surrounding rock all influence whether an eruption occurs.
When magma solidifies underground, it generally cools more slowly than lava because surrounding rock insulates it from rapid heat loss. This slower cooling can allow larger mineral crystals to form. Granite and diorite are examples of intrusive igneous rocks that commonly develop this way.
By contrast, volcanic rocks form when magma erupts and cools at or near the surface. Basalt, andesite, and rhyolite can all occur as volcanic rocks, depending on the composition of the erupted material and its cooling history.
The distinction between intrusive and volcanic rocks therefore reflects not only what the molten material contains, but also where and how it cools.
What is the difference between magma, lava, and volcanic ash?
Magma and lava are molten or partially molten rock material, but volcanic ash is something different. Volcanic ash consists of tiny fragments of rock, mineral crystals, and volcanic glass produced when magma or existing volcanic rock is fragmented during an eruption.
Despite its name, volcanic ash is not the soft, powdery residue produced by burning wood. Its particles are often hard, abrasive, and irregularly shaped. They can irritate the eyes and respiratory system, damage machinery, and reduce visibility.
Ash commonly forms during explosive eruptions when expanding gases fragment magma into small particles. It can also form when magma interacts with water or when an eruption breaks apart older volcanic material.
Larger fragments may be classified as lapilli, volcanic blocks, or volcanic bombs, depending on their size and how they form. Together with ash and gases, these materials can produce hazards that differ substantially from those associated with lava flows.
Lava flows typically threaten areas in their immediate path by burying or burning structures and vegetation. Explosive eruptions can distribute ash over much broader regions and may generate pyroclastic density currents: fast-moving mixtures of hot gas, ash, and rock fragments that travel along the ground. These currents are among the most dangerous volcanic hazards.
Understanding the difference between molten rock and fragmented volcanic material helps explain why the hazards associated with one eruption can be very different from those of another.
Why the distinction matters
Magma and lava describe different stages or settings in the movement of molten rock, but the distinction helps scientists explain volcanic processes and assess hazards.
Magma provides clues about conditions deep within Earth’s crust and mantle. Its chemical composition, crystal content, temperature, and dissolved gases can reveal how it formed and how it may behave as it rises. Changes in seismic activity, ground deformation, and volcanic gas emissions can also help scientists monitor a volcano for signs of changing activity, although no single observation can reliably predict every eruption.
Lava reveals what happens when magma reaches the surface. Its flow patterns, composition, and cooling behavior help geologists reconstruct past eruptions and understand how volcanic landscapes develop.
Both are part of Earth’s ongoing geological activity. Heat from within the planet drives melting and magma movement, while eruptions transfer material and energy to the surface. As volcanic products cool and weather, they contribute to the formation of new rocks and soils and help reshape the environment.
The essential distinction remains straightforward: magma is molten rock beneath Earth’s surface; once that material erupts onto the surface, it is called lava. The difference in location marks a transition that can change how the material loses heat, releases gas, moves, and affects the world around it.

