Magnesium is one of the most reactive metals in common use, sitting high in the electrochemical activity series and readily giving up electrons to form stable compounds with oxygen, water, acids, and even carbon dioxide. Its standard electrode potential of roughly −2.37 V makes it far more eager to corrode than metals like iron or zinc, which is both its greatest engineering headache and the basis for many of its most useful applications. That reactivity plays out differently depending on what magnesium encounters and in what form, from a lazy tarnish in dry air to a blinding white flame that cannot be smothered with water.
How Magnesium Reacts with Air and Moisture
Freshly exposed magnesium has a bright, silvery surface, but it does not stay that way for long. In dry air, a thin film of magnesium oxide forms almost immediately. This oxide layer is only a few nanometers thick and, on its own, provides modest protection against further attack. What changes the picture dramatically is humidity. Researchers studying magnesium oxide surfaces found that hydrated phases form rapidly when humidity rises, but the growth of this reaction layer slows after its initial formation, likely because the newly formed layer itself acts as a barrier. At about 75% relative humidity the reaction layer was noticeably denser than at 33% humidity or in nominally dry gas, meaning wetter environments produce a thicker, more complex coating on the surface.1PubMed. Reaction Layer Formation on MgO in the Presence of Humidity This layer is disordered and poorly crystalline at first, though it gradually becomes denser over days of exposure, hinting at a slow march toward more organized crystal structures.
This self-passivation is a double-edged sword. In structural applications, the oxide-hydroxide film slows further degradation and gives magnesium alloys a fighting chance in outdoor environments. But unlike the tight, self-healing oxide film on aluminum, the film on magnesium is porous enough that aggressive species, especially chloride ions from road salt or seawater, can punch through it and restart the corrosion cycle underneath.
Burning in Air and Even Carbon Dioxide
Anyone who has seen a magnesium ribbon lit in a chemistry class remembers the intensity of the flame. The metal burns in air with a brilliant white light and reaches temperatures in the range of roughly 1820–1930 K (around 1550–1660 °C). The flame’s distinctive brightness comes from strong emissions in the blue-green part of the spectrum, produced when magnesium vapor and magnesium oxide molecules are energized during combustion. These chemiluminescent emissions combine to give the flame its characteristic white appearance, bright enough to cause eye damage at close range.2ScienceDirect. The anomalous brightness of magnesium-Air flames
What surprises many people is that magnesium can also burn in carbon dioxide, a gas normally used to extinguish fires. In this reaction the metal strips oxygen from CO₂, producing magnesium oxide and carbon monoxide. Molten magnesium on the particle surface further reacts with that carbon monoxide, yielding additional magnesium oxide plus solid carbon. After combustion in CO₂, magnesium particles end up as a porous shell of MgO and carbon, roughly the same size as the original particle.3ScienceDirect. Combustion of single micron-sized magnesium particles in carbon dioxide This is why standard CO₂ fire extinguishers are useless, and even dangerous, on a magnesium fire. The only reliable approaches are smothering the fire with dry sand or a Class D extinguishing powder designed specifically for metal fires.
Reactions with Water and Steam
Magnesium’s reaction with water is real but context-dependent. A solid lump of magnesium sitting in cold water reacts only slowly because the oxide-hydroxide film on its surface limits contact. Things speed up if you scratch the surface, raise the temperature, or shrink the particle size. Molecular dynamics simulations of magnesium nanoparticles interacting with water show that at room temperature, water molecules split on the magnesium surface and form Mg–H bonds. Above about 1200 K those bonds start to break apart, releasing hydrogen radicals. Actual hydrogen gas (H₂) does not form in significant amounts until temperatures climb past roughly 2000 K, because only then do the radicals combine efficiently.4International Journal of Hydrogen Energy. Mechanistic investigation of hydrogen generation from water and magnesium catalyst reaction: Advanced reactive molecular dynamics simulation
At lower temperatures, the reaction products, mainly magnesium hydroxide and hydrogen, form stable chains on the metal surface that clog the reaction and slow it down. This is a recurring theme with magnesium reactivity: the very products of its reactions tend to coat the surface and reduce the rate, which is helpful in some applications and infuriating in others.
Steam changes the calculation. Hot magnesium reacts vigorously with steam, producing magnesium oxide and hydrogen gas. In bulk form this reaction is fast enough to be dangerous in industrial settings where hot magnesium contacts water leaks. The hydrogen gas produced is flammable, creating a secondary explosion risk on top of the metal fire itself.
Why Acids Attack Magnesium So Aggressively
Drop a strip of magnesium into dilute hydrochloric acid and you will see vigorous bubbling within seconds. The protective oxide film dissolves almost immediately in acidic solutions, leaving the bare metal exposed. The resulting reaction produces a magnesium salt and hydrogen gas. In hydrochloric acid, for instance, the products are magnesium chloride dissolved in the solution and hydrogen bubbles escaping from the surface. The reaction is fast, exothermic, and proceeds until either the acid is consumed or the magnesium runs out.
Sulfuric acid gives a similar result, though the speed depends on concentration. Dilute sulfuric acid reacts briskly, producing magnesium sulfate and hydrogen gas. Concentrated sulfuric acid is a different story: its oxidizing character can form sulfur dioxide instead of hydrogen, and the reaction becomes more complex. Nitric acid, another strong acid, also reacts readily but tends to produce nitrogen oxides rather than hydrogen, especially when concentrated. The general pattern is clear: any environment acidic enough to dissolve the surface film unleashes magnesium’s full reactivity.
Corrosion in Salt Solutions
Magnesium’s behavior in salt water is one of its most studied and most frustrating properties. Corrosion studies have shown that a partially protective surface film plays an important role in how magnesium dissolves in chloride and sulfate solutions. At imperfections in that film, or on film-free areas, magnesium first oxidizes to an unusual intermediate species (a short-lived, singly-charged magnesium ion) before that intermediate reacts with water to produce hydrogen gas and the familiar doubly-charged magnesium ion that dissolves into solution.5Corrosion Science. The anodic dissolution of magnesium in chloride and sulphate solutions
Chloride ions make everything worse. They increase the film-free area on the metal surface and speed up the underlying electrochemical reaction. This is why magnesium alloys suffer badly in marine environments or anywhere road salt is used. The presence of chloride does not just poke holes in the protective film; it actively accelerates the dissolution process once the metal is exposed. Engineers working with magnesium alloys in cars and aircraft have to account for this sensitivity with protective coatings, careful alloy design, and avoidance of contact with more noble metals that would set up galvanic corrosion cells.
Turning Reactivity into a Shield for Other Metals
The same property that makes magnesium corrode easily makes it excellent at protecting other metals from corrosion. Because magnesium is far more electrochemically active than steel, connecting a magnesium anode to a steel structure causes the magnesium to corrode preferentially while the steel remains intact. This principle, called cathodic protection, is used on underground pipelines, ship hulls, water heaters, and reinforced concrete.
In concrete structures, researchers found that a magnesium alloy anode shifted the electric potential of embedded steel to more negative values, effectively drawing corrosive attack away from the steel. Over time, the chloride concentration around the steel decreased at all measured locations, meaning the sacrificial anode was not just taking the hit but also helping to remove the corrosive ions from the vicinity of the steel.6Corrosion Science. Cathodic protection of steel in concrete using magnesium alloy anode The magnesium anode slowly dissolves and needs periodic replacement, but the tradeoff is well worth it when the alternative is replacing a bridge deck or a buried pipeline.
Grignard Reagents and Organic Chemistry
One of magnesium’s most celebrated reactions has nothing to do with fire or corrosion. When magnesium metal is stirred with an organic halide (like methyl chloride) in a dry ether solvent, it inserts itself into the carbon-halogen bond, forming a so-called Grignard reagent. These reagents are powerhouse tools in synthetic chemistry, used to build carbon-carbon bonds and construct complex molecules. The Grignard reaction earned its discoverer a Nobel Prize in 1912 and remains a staple of pharmaceutical and materials synthesis.
Remarkably, the exact mechanism is still debated more than a century later. Quantum-chemical calculations have shown that multiple organomagnesium species coexist in solution, and competing pathways can operate simultaneously. One pathway involves straightforward addition to a substrate, while another involves the formation of radical intermediates that require the magnesium-carbon bond to break apart. Whether the radical route happens depends on the electronic properties of the substrate: only when a substrate with a low-lying orbital coordinates to the magnesium center does the radical pathway become accessible.7PubMed. The Grignard Reaction – Unraveling a Chemical Puzzle The fact that such a foundational reaction can still harbor mechanistic surprises speaks to the richness of magnesium’s chemistry.
Reducing Other Metals at High Temperatures
Magnesium’s strong drive to give up electrons makes it a powerful reducing agent in metallurgy. The best-known example is the Kroll process for producing titanium. Titanium tetrachloride is reduced with pure magnesium at about 1000 °C in an argon atmosphere, stripping the chlorine atoms away and leaving behind metallic titanium.8Transactions of The Electrochemical Society. The Production of Ductile Titanium Variations on this theme use titanium trichloride instead, where the magnesium-driven reduction proceeds rapidly once the temperature climbs above about 700 °C.9Materials Transactions. High-Speed Titanium Production by Magnesiothermic Reduction of Titanium Trichloride
Without magnesium’s reactivity, the commercial production of titanium, zirconium, and several other metals would be far more difficult and expensive. The process works because magnesium’s affinity for chlorine is strong enough to rip it away from the target metal, but the reaction temperature can be controlled well enough to avoid contaminating the product. Magnesium itself ends up as magnesium chloride, which can be electrolyzed to recover both the magnesium and the chlorine for reuse.
Biodegradable Implants That Dissolve on Schedule
Medical engineers have turned magnesium’s notorious tendency to corrode into a feature rather than a bug. Magnesium alloys are being developed as biodegradable orthopedic implants: screws, plates, and pins that hold a broken bone together while it heals and then gradually dissolve in the body, eliminating the need for a second surgery to remove the hardware. The body already contains magnesium as an essential mineral, so the dissolved ions are metabolized normally rather than accumulating as a toxic foreign substance.
The challenge is controlling the timing. Magnesium alloys corrode in biological fluids, but the degradation can be too rapid, causing the implant to lose mechanical strength before the bone has fully healed.10PubMed Central. Biodegradable magnesium alloys for orthopaedic applications Another concern is hydrogen gas: the same hydrogen-producing reaction that happens in salt water also happens inside the body, and if the gas forms faster than surrounding tissues can absorb it, pockets can develop near the implant. Researchers are addressing both issues by alloying magnesium with elements like zinc, calcium, and rare earths, and by applying surface coatings that slow the initial corrosion rate without preventing eventual dissolution.
Magnesium’s Role Inside Living Cells
Magnesium’s reactivity extends into biochemistry, though in a subtler form than burning or corroding. As an ion (Mg²⁺), magnesium is essential for hundreds of enzymatic reactions in the body. Its primary job in many of these is electrostatic: it stabilizes the negative charges on molecules like ATP, the cell’s main energy currency, making them easier for enzymes to work with. But recent structural biology work has revealed that Mg²⁺ does more than just hold charges in place. In the enzyme adenylate kinase, researchers found that Mg²⁺ induces a conformational rearrangement of the substrates ATP and ADP, adjusting the angle between them by about 30° to optimize the geometry for phosphoryl transfer.11PubMed Central. Magnesium induced structural reorganization in the active site of adenylate kinase In other words, magnesium is not a passive bystander in the reaction; it actively reshapes the molecules to make the chemistry work better.
This is just one enzyme among many. Magnesium is involved in DNA replication, protein synthesis, muscle contraction, and nerve signaling. Its reactivity at the ionic level, its ability to coordinate with oxygen and nitrogen atoms in biological molecules, is what makes all of these processes possible. A magnesium deficiency disrupts cellular energy production before it causes any visible symptoms, which is why it sometimes goes unrecognized until it becomes severe.
Hydrogen Storage and Future Energy
Magnesium’s appetite for hydrogen has attracted interest from energy researchers. Magnesium hydride (MgH₂) can store a large amount of hydrogen relative to its weight, making it a candidate for solid-state hydrogen storage in fuel-cell vehicles and portable power systems.12PubMed Central. Magnesium-Based Hydrogen Storage Alloys: Advances, Strategies, and Future Outlook for Clean Energy Applications The material is abundant and inexpensive compared to alternatives based on rare metals. But the thermodynamics work against easy use: magnesium binds hydrogen so tightly that releasing it requires heating to several hundred degrees Celsius, and the absorption-desorption cycle is sluggish without catalysts to speed it up.13PubMed Central. Advances in Catalysts for Magnesium-Based Hydrogen Storage Materials
Current research focuses on nanostructuring the magnesium, adding catalytic additives, and alloying it with transition metals to lower the temperature needed for hydrogen release and improve the speed of cycling. The goal is a system that absorbs hydrogen quickly at moderate pressures and releases it at temperatures compatible with the waste heat from a fuel cell. Progress has been steady but the practical targets have not yet been fully met for consumer applications.
The Magnesium Battery Problem
Rechargeable magnesium batteries are another area where the metal’s reactivity is both the promise and the obstacle. Magnesium can theoretically offer higher energy density than lithium in some configurations, and it does not form dangerous dendrites the way lithium metal does, which makes it inherently safer. The catch is that same passivation problem that protects magnesium in air. When magnesium deposits and dissolves in typical battery electrolytes, it forms a surface film of magnesium oxide, hydroxide, and hydride that blocks the movement of Mg²⁺ ions.14PubMed Central. An Overview on Anodes for Magnesium Batteries: Challenges towards a Promising Storage Solution for Renewables
Even trace amounts of water in the electrolyte can trigger severe passivation. Calculations show that the compounds formed, MgH₂, Mg(OH)₂, and MgO, are all poor at letting Mg²⁺ through. Their coexistence in the passivation layer creates intense resistance at the electrode surface, driving up the voltage needed to operate the battery and causing rapid failure.15Nature Communications. Toward waterproof magnesium metal anodes by uncovering water-induced passivation and drawing water-tolerant interphases Researchers are experimenting with specially designed electrolytes and artificial surface layers that allow ions through while keeping water and other contaminants out. A working magnesium battery would be a significant step for grid-scale energy storage, where safety and material abundance matter more than squeezing out every last watt-hour per kilogram.
Magnesium Dust in Cosmic Chemistry
Magnesium’s reactivity is not confined to laboratories and factories. In the outflows of dying stars, magnesium atoms react with silicon and oxygen to form magnesium-rich silicate dust, the same mineral family as olivine and forsterite found on Earth. Computational studies of these tiny clusters suggest that their nucleation rates in stellar environments depend sensitively on temperature and pressure, and that the classical models used to predict dust formation tend to overestimate how readily these grains assemble under most conditions.16ScienceDirect. The formation of astrophysical Mg-rich silicate dust The dust grains that do form become the raw material for rocky planets like ours. In a real sense, magnesium’s chemical eagerness to bond with oxygen and silicon billions of years ago is the reason Earth has a mantle and a crust. The same reactivity that makes a magnesium ribbon flare up in a teaching lab built the ground under your feet.