Magma viscosity is controlled primarily by silica content, temperature, and dissolved volatile concentration. Higher silica content produces more viscous (andesitic to rhyolitic) magmas that generate explosive eruptions, while lower silica (basaltic) magmas are fluid and produce effusive eruptions. This composition-behavior relationship explains observed volcanic phenomena.
From your study of igneous rock classification, you know that igneous rocks are categorized by their mineral and chemical composition — from silica-poor (mafic) basalts to silica-rich (felsic) rhyolites. What determines whether a volcano gently oozes lava flows or violently explodes is not just *what* the magma is made of, but how that composition controls the magma's physical behavior — especially its viscosity, the resistance to flow.
Silica content is the master variable. Silicon and oxygen atoms form silicate tetrahedra (SiO₄ units) that link together into chains, sheets, and three-dimensional networks through shared oxygen atoms — a process called polymerization. In silica-rich magmas (65–75% SiO₂, like rhyolite), extensive polymerization creates a tangled molecular structure that resists flow, producing viscosities up to 10⁸ Pa·s — roughly the consistency of cold tar. In silica-poor magmas (45–52% SiO₂, like basalt), fewer linkages leave the melt more fluid, with viscosities as low as 10¹ Pa·s — comparable to warm honey. This difference of seven orders of magnitude in viscosity is the single most important factor separating gentle Hawaiian-style eruptions from catastrophic explosive eruptions like Mount St. Helens.
Temperature works against polymerization. Higher temperatures provide thermal energy that breaks silicate bonds and allows atoms to move past each other more freely, reducing viscosity. Basaltic magmas erupt at roughly 1100–1250°C, while rhyolitic magmas erupt at 700–900°C. The lower eruption temperature of felsic magmas compounds their already high viscosity from polymerization — they are both more polymerized *and* cooler, making them far more resistant to flow. This is why mafic magmas typically form long, thin lava flows that travel kilometers from the vent, while felsic magmas pile up in steep-sided domes or fragment explosively.
Dissolved volatiles — primarily water (H₂O) and carbon dioxide (CO₂) — have a dual role. While dissolved in the melt at depth, water actually *decreases* viscosity by breaking Si-O-Si bridges in the silicate network, inserting OH groups that disrupt polymerization. A rhyolite with 5% dissolved water is dramatically less viscous than the same composition when dry. But as magma rises toward the surface and pressure drops, these volatiles come out of solution and form gas bubbles — a process called exsolution or vesiculation. In low-viscosity basaltic magma, gas bubbles rise freely through the melt and escape at the surface (think of bubbles rising in a pot of water). In high-viscosity rhyolitic magma, gas cannot escape; pressure builds within the bubbles until the magma fragments explosively into ash, pumice, and pyroclastic flows. This is why the most dangerous volcanic eruptions are associated with silica-rich, volatile-rich magmas — the combination of high viscosity and trapped gas creates the conditions for violent fragmentation.