MgSO4

Magnesium sulfate · magnesium sulphate, anhydrous magnesium sulfate, sulfuric acid magnesium salt

Magnesium sulfate (MgSO4) is an inorganic salt made of magnesium cations and sulfate anions. It is a wide-band-gap insulating solid. Anhydrous MgSO4 has several polymorphs: orthorhombic alpha-MgSO4 is the stable form at ambient conditions, and beta-MgSO4 is a high-temperature form. Chemists know it as a drying agent for organic solutions, and its heptahydrate is sold as Epsom salt.

MgOS
Crystal structure of MgSO4 (orthorhombic, Pnma (No. 62))
Ground-state structure · Materials Project
Overview

About Magnesium sulfate

What is MgSO4 and what structure does it have?

MgSO4 is an ionic alkaline-earth sulfate made of divalent magnesium cations and tetrahedral sulfate anions. Anhydrous MgSO4 has orthorhombic polymorphs. Alpha-MgSO4 (space group Cmcm, the CrVO4-type structure) is the stable form at ambient conditions. Beta-MgSO4 (space group Pbnm) is a high-temperature form. In both, MgO6 octahedra are linked through corner-sharing SO4 tetrahedra. MgSO4 also forms a large series of hydrates, the best known being the monoclinic monohydrate kieserite and the orthorhombic heptahydrate epsomite. Calculations put anhydrous MgSO4 at the thermodynamic ground state for this composition.

What is magnesium sulfate used for?

Magnesium sulfate is used in laboratory chemistry, agriculture, and medicine. The anhydrous form is a common drying agent in organic synthesis because it takes up water strongly. The hydrated forms, such as Epsom salt, are used as fertilizer to correct magnesium and sulfur deficiencies in crops. In medicine, it is given by mouth as a laxative and intravenously as an anticonvulsant. It is also used as a brewing salt and as a coagulant in food processing, for example in making tofu. Researchers are also studying its hydration–dehydration cycle for seasonal thermochemical heat storage.

How stable and synthesizable is MgSO4?

MgSO4 is thermodynamically stable and easy to prepare. It can be made by reacting sulfuric acid with magnesium oxide, magnesium hydroxide, or magnesium carbonate, then dehydrating the product. The anhydrous phase is strongly hygroscopic and picks up moisture from the air to form hydrates such as the monohydrate and heptahydrate. Heating the hydrates drives off water step by step until the anhydrous salt remains. At much higher temperatures, it decomposes into magnesium oxide and sulfur oxides.

Is MgSO4 an insulator or a conductor?

MgSO4 is an electronic insulator with a wide band gap. The Mg2+ cation and the sulfate anion both have closed-shell electronic configurations, so there are no partially filled bands to carry current. The crystalline solid does not conduct electricity, and it is colorless because it does not absorb visible light. When it dissolves in water, it splits into free ions, and the resulting solution conducts electricity.

How does MgSO4 compare to related sulfates?

Among the common alkaline-earth sulfates (magnesium through barium), MgSO4 has the smallest cation. It is highly soluble in water and forms many crystalline hydrates. Calcium sulfate is much less soluble and occurs as gypsum (the dihydrate) and anhydrite. Strontium sulfate (celestine) is only sparingly soluble, and barium sulfate (barite) is practically insoluble. Beryllium sulfate, with an even smaller cation, is also highly soluble.

At a glance

Key Properties

Cross-validated computational properties for Magnesium sulfate, aggregated across 3 databases.

Band Gap

5.63–6.11 eV
Range across DFT structures · ground state: insulator

Energy Above Hull

0.000 eV/atom
Best (lowest) across sources

Stability

Stable
3 DFT sources

Structures

15
3 databases, 2 space groups
Validation

Cross-Source DFT Agreement

How well independent DFT databases agree on the thermodynamics of MgSO4. Tight agreement means computed properties can be trusted without re-running calculations.

Agreement Score

1.00 / 1.00
Trust tier: high

Hull Spread

0.000 eV
EAH spread across sources

Sources Compared

3
jarvis, materials_project, oqmd

Space Group Consensus

All match
Crystallography

Reported Structures

Lowest-energy structures reported for MgSO4, ranked by energy above hull.

Space GroupCrystal SystemBand Gap (eV)E above hull (eV/atom)E/atom (eV)Density (g/cm³)
——6.110.0000-2.274—
Cmcm (No. 63)orthorhombic6.050.0000-2.071—
Cmcm (No. 63)orthorhombic5.490.0000-6.6623.04
——5.900.0007-2.273—
Pnma (No. 62)orthorhombic5.540.0053-6.6572.95
Pnma (No. 62)orthorhombic6.110.0070-2.063—
——5.630.0132-2.260—
——5.980.0291-2.244—
——0.000.0309-2.243—
——6.020.0614-2.212—
——0.000.1138-2.160—
P21/c (No. 14)monoclinic0.360.7923-5.8702.24
Synthesis

Synthesis Routes

Literature-extracted synthesis procedures targeting MgSO4.

Sol Gel
Procedure available · ceder_sol_gel
Solid State
Procedure available · ceder_solid_state
Uses

Applications

Where Magnesium sulfate is used.

Desiccant and drying agent in organic synthesisFertilizer and agricultural soil amendment for magnesium and sulfurMedical laxative and intravenous anticonvulsantFood additive, brewing salt, and tofu coagulantThermochemical heat storage material (research)
Intellectual Property

Patent Landscape

1 patent reference MgSO4 or close compositional variants.

PatentTitleAssigneeGranted
4195070Preparation of a MgCl.sub.2 solution for Nalco's MgCl.sub.2 process from MgSO.sub.4 and other MgSO.sub.4 salts——
Reference

Frequently Asked Questions

Common questions about Magnesium sulfate, answered from cross-validated data and the published literature.

Is anhydrous MgSO4 the same thing as Epsom salt?

No. Epsom salt is magnesium sulfate heptahydrate (MgSO4·7H2O). Anhydrous MgSO4 contains no water of crystallization.

More questions
Is magnesium sulfate soluble in water?
Yes. Magnesium sulfate is highly soluble in water, unlike the heavier alkaline-earth sulfates of calcium, strontium, and barium.
What happens when you heat MgSO4 hydrates?
Heating hydrated magnesium sulfate drives off water step by step until anhydrous MgSO4 remains. At much higher temperatures, the anhydrous salt decomposes into magnesium oxide and sulfur oxides.
Why is anhydrous MgSO4 commonly used in organic chemistry?
Anhydrous MgSO4 is strongly hygroscopic and absorbs water quickly without reacting with most organic compounds. That makes it a standard drying agent in the lab.
Does solid MgSO4 conduct electricity?
No. Solid MgSO4 is an insulator with a wide band gap. Its solutions in water do conduct electricity, because the dissolved ions carry the current.
What is MgSO4?
Magnesium sulfate is a stable, insulating inorganic salt widely used in agriculture, medicine, and industrial chemical processes.
What is MgSO4 used for?
Magnesium sulfate (MgSO4) is used in agriculture as a fertilizer, medical use as an anticonvulsant, food processing, industrial desiccant, and bath salts.
What is the band gap of MgSO4?
Magnesium sulfate (MgSO4) has a DFT-computed band gap of 5.63–6.11 eV across 15 reported structures. Standard DFT underestimates band gaps, so the measured gap is typically larger.
Is MgSO4 a metal, semiconductor, or insulator?
DFT predicts a wide band gap of up to 6.11 eV (an insulator or wide-band-gap material).
Is MgSO4 thermodynamically stable?
Yes — Magnesium sulfate (MgSO4) sits on the convex hull (energy above hull 0 eV/atom), i.e. stable.
What is the crystal structure of MgSO4?
The reference structure of Magnesium sulfate (MgSO4) is orthorhombic symmetry, space group Pnma (No. 62).
What is the density of MgSO4?
The computed density of the ground-state structure of Magnesium sulfate (MgSO4) is 2.95 g/cm³.
How many polymorphs of MgSO4 are known?
15 structures of MgSO4 are reported across 3 databases, spanning 2 distinct space groups.
How is MgSO4 synthesized?
Literature-reported routes for MgSO4 include sol gel, solid state (2 procedures documented).
What elements does MgSO4 contain?
Magnesium sulfate (MgSO4) contains Mg, O, and S (3 elements).
Where does the data for MgSO4 come from?
MgSO4 data is cross-referenced from oqmd, jarvis, materials_project, cod, mpaloe.
Data sources & attribution
  • oqmd — Data from the OQMD (oqmd.org). Cite: Saal et al., JOM 65, 1501 (2013); Kirklin et al., npj Comp. Mater. 1, 15010 (2015). (CC-BY-4.0)
  • jarvis — Data from JARVIS (jarvis.nist.gov), NIST. Cite: Choudhary et al., npj Comp. Mater. 6, 173 (2020). (LicenseRef-US-Gov-PD)
  • materials_project — Data from the Materials Project (materialsproject.org). Cite: Jain et al., APL Materials 1, 011002 (2013). (CC-BY-4.0)
  • cod — Data from the Crystallography Open Database (crystallography.net/cod/). Cite: Grazulis et al., J. Appl. Cryst. 42, 726 (2009). (CC0-1.0)
  • mpaloe — Data from MP-ALOE. Cite: Kuner et al., npj Comput. Mater. (2025), doi:10.1038/s41524-025-01834-9.

Analyze MgSO4 in the Lattice Graph platform

Polymorph comparison, confidence scoring, supply-chain risk, and patent monitoring — across 85 source databases.

Explore the Platform →
Results are informational and should be validated by qualified professionals. See Terms of Service