Plural magmata or magmas The molten rock material that originates under the Earth's crust and forms igneous rock when it has cooled. When magma cools and solidifies beneath the Earth's surface, it forms what are known as intrusive rocks. When it reaches the Earth's surface, it flows out as lava and forms extrusive (or volcanic) rocks.