Igneous rock is the type of rock that originated as magma, though the magma itself forms in the mantle and lower crust rather than the metallic core. As molten rock cools and crystallizes, it locks its minerals into place—either underground as intrusive rock like granite, or at the surface as extrusive rock like basalt. This cooling-and-freezing process is the first step in the rock cycle, and it produced the planet's original crust.

To understand which rock type began as magma, you need to separate two ideas that popular science often blurs. The first is where molten rock comes from. The second is what happens when it solidifies. The core matters to the story, but not in the way most people assume.

How molten rock forms and freezes into igneous rock

Magma is not a single substance. It is a hot silicate liquid carrying dissolved gases and suspended crystals. Its formation depends on three levers: temperature, pressure, and water content. Geologists call the process partial melting, because rock rarely melts all at once.

Decompression melting drives most of Earth's volcanism. Hot mantle rock rises toward the surface, pressure drops, and its melting point falls with it. Mid-ocean ridges and hotspots work this way. Adding water does something similar at subduction zones, where seawater-rich sediment lowers the melting point of the overlying mantle wedge. Heat transfer from rising magma melts crust above it in other settings.

Once magma exists, crystallization runs the process in reverse. Minerals freeze in a sequence governed by their chemistry, a pattern formalized as Bowen's reaction series. High-temperature minerals such as olivine and calcium-rich plagioclase crystallize first. Quartz and potassium feldspar form last, at lower temperatures.

Cooling rate then decides crystal size. Slow cooling deep underground gives crystals decades to grow, producing coarse-grained intrusive rock. Fast cooling at the surface quenches the melt before crystals can develop, producing fine-grained extrusive rock. Very rapid quenching, such as contact with water or air, can produce glass with no crystals at all.

The key point is that igneous texture records cooling history, not origin depth alone. A slowly cooled body can sit kilometers underground or stall just beneath a volcano. The rock type follows the recipe, not the address.

Quantified context: where magma actually comes from

The core is the wrong source for magma. Earth's core is an iron-nickel alloy, and it is not molten throughout. The outer core is liquid, but it sits roughly 1,800 miles below the surface and never reaches the crust as magma. The inner core is solid metal under immense pressure.

Crustal magma originates in the mantle and lower crust, mostly between about 30 and 120 miles deep. Mantle temperatures there run roughly 2,200 to 2,700 degrees Fahrenheit, well below the melting point of mantle rock at those pressures. That gap is why partial melting, aided by water or decompression, is required.

Igneous rock dominates the planet's volume. Oceanic crust is almost entirely basalt, an extrusive igneous rock, and it covers about 70 percent of Earth's surface. Continental crust is richer in granite and related intrusive rocks. Basalt also makes up the bulk of the oceanic lithosphere, so igneous material underlies most of the seafloor.

Eruption temperatures give a practical sense of the range. Basaltic lava typically erupts around 1,800 to 2,200 degrees Fahrenheit. Rhyolitic lava, richer in silica, is cooler and far more viscous, often around 1,300 to 1,600 degrees Fahrenheit. Silica content also raises viscosity, which is why rhyolitic eruptions tend to be explosive rather than fluid.

Grain size, mineral makeup, and the comparison table

Classifying igneous rock rests on two axes: texture, set by cooling rate, and composition, set by silica and mineral content. The table below reconciles these alternatives.

Rock Texture Silica level Typical setting Cooling rate
Basalt Fine-grained Low (mafic) Ocean floor, hotspots Fast, surface
Gabbro Coarse-grained Low (mafic) Deep magma chambers Slow, underground
Andesite Fine-grained Intermediate Subduction volcanoes Fast, surface
Diorite Coarse-grained Intermediate Deep intrusions Slow, underground
Rhyolite Fine-grained High (felsic) Continental volcanoes Fast, surface
Granite Coarse-grained High (felsic) Continental crust Slow, underground
Obsidian Glassy High (felsic) Rapid quenching Extremely fast

Notice the pairing. Basalt and gabbro share chemistry but differ in texture. Rhyolite and granite do the same. This is the professional caveat worth flagging: rock names encode both composition and cooling history, so a single magma can yield two different named rocks depending on where it froze.

Edge cases: when the simple story breaks

Not every igneous rock fits neatly. Some magmas mix, and some rocks record that mixing. Magma mingling can leave blobs of one composition inside another, visible as dark enclaves in lighter granite.

Some igneous rocks form without a liquid magma stage in the ordinary sense. Tuff and volcanic breccia are made of fragmented material ejected during eruptions and then welded or compacted. They are classified as volcaniclastic and pyroclastic, and geologists treat their origins separately from melt-crystallization.

Hydrothermal alteration blurs boundaries further. Hot fluids can recrystallize igneous rock into something that looks metamorphic while preserving igneous structures. Distinguishing primary igneous texture from later alteration is a routine field problem, not a textbook certainty.

Then there is the core question itself. The liquid outer core is not magma in the petrological sense. It is molten metal, and its convection generates Earth's magnetic field, not crustal rock. No igneous rock in the crust crystallized from core metal.

Misconceptions that persist

The most common error is assuming the core supplies magma to volcanoes. It does not. Core heat drives mantle convection indirectly, but the melt that erupts is silicate rock from the mantle and crust.

A second misconception treats all igneous rock as volcanic. Most magma never erupts. It stalls, cools, and crystallizes underground as intrusive rock, which is exposed only after erosion strips away the overlying layers.

A third error conflates lava and magma. Magma is molten rock beneath the surface. Lava is the same material after it reaches the surface and loses gases. The chemistry changes slightly during eruption as volatiles escape.

A fourth myth says igneous rock is always dark and heavy. Granite is typically light-colored and rich in silica. Obsidian is dark glass but chemically felsic. Color alone is an unreliable guide.

Practical actions for reading igneous rock

If you want to identify or interpret igneous rock in the field, work through texture and composition systematically rather than guessing from color.

Check grain size first. Visible interlocking crystals mean slow cooling and intrusive origin; a sugary or glassy look points to rapid cooling. Test hardness with a steel nail or knife. Quartz resists scratching; calcite and many alteration minerals do not. Look for vesicles, the gas bubbles preserved in some volcanic rock. Abundant vesicles signal near-surface eruption under low pressure. Note color and density together. Dark, dense rock suggests mafic composition, but confirm with mineral content. Watch for cross-cutting relationships. An igneous intrusion that cuts across layered rock is younger than the layers it cuts. Flag alteration. Rusty staining, clay minerals, or bleached zones warn that primary igneous chemistry has been changed by fluids.

For teaching or field kits, practical thresholds matter. A hand lens at 10x magnification resolves most crystal textures. Rock samples above roughly 2 inches across show texture better than chips. Geologic maps at 1:24,000 scale are the standard field reference in the United States.

Limits of the evidence and what the rock cycle leaves out

The rock cycle diagram implies neat recycling. Reality is messier. Igneous rock can be buried, metamorphosed, melted again, or weathered into sediment, and each path erases some earlier record.

Dating igneous rock relies on radioactive isotopes in specific minerals, and the method has limits. Zircon dates crystallization well because it resists alteration. Whole-rock dates can be reset by later heating, so a single number is not always a reliable age.

Sampling bias shapes what we know. Ocean floor basalt is young and well sampled near ridges, while ancient continental intrusions are exposed only where erosion reveals them. The visible record overrepresents what survived, not what formed.

Nothing in this article substitutes for hands-on instruction in petrology or field geology. Rock identification is a skill built through practice with real specimens, guided by a qualified geologist or earth science instructor.