CompoundSolutions and mixtures

Magnesium Sulfate (MgSO4): Epsom Salt Formula and Uses

Needle-like epsomite crystals growing on the wall of a cave
Needle-like epsomite crystals growing on the wall of a cave. Image: WTucker (CC BY-SA 3.0), via Wikimedia Commons

Magnesium sulfate (MgSO4) is an ionic salt made of magnesium and sulfate ions. It is best known as Epsom salt, the bitter white crystals used in bath salts and garden care. The anhydrous form absorbs water from the air, so chemists also use it as a drying agent in the laboratory.

Contents

What is Magnesium sulfate?

Magnesium sulfate is a compound of the elements magnesium, sulfur and oxygen. Its formula, MgSO4, shows one magnesium atom for every sulfate group. Each sulfate group, SO4²⁻, contains one sulfur atom and four oxygen atoms. The molar mass is about 120.37 g/mol, the sum of the atomic masses of those three elements.

Like sodium chloride, magnesium sulfate is an ionic compound. It is built from positive magnesium ions, Mg²⁺, and negative sulfate ions, SO4²⁻, held together by electrical attraction. Each magnesium ion carries two positive charges and each sulfate ion carries two negative charges, so the two ions combine in a one-to-one ratio and the total charge is zero.

The name Epsom salt comes from Epsom in Surrey, England, where a bitter mineral spring was found in the 1600s. Epsom salt is usually sold as the heptahydrate, MgSO4·7H2O, which contains seven water molecules for every formula unit. This water is called water of crystallization, because it is locked into the crystal. A solid that holds water this way is a hydrate, and the prefix hepta in the name means seven.

Magnesium sulfate is an everyday product rather than a dangerous chemical. It is sold in pharmacies, garden centers and supermarkets in many countries, and its crystals are easy to recognize by their needle shape and bitter taste.

Structure and bonding

A magnesium atom has the electron arrangement 2, 8, 2. It gives up its two outer electrons easily and becomes a Mg²⁺ ion with the same arrangement as neon. The sulfate ion is different: a sulfur atom sits at the center of four oxygen atoms, arranged in a tetrahedron, and the bonds inside the ion are covalent. Sulfur and oxygen share electrons, and the whole ion carries a 2- charge.

The bond between the magnesium ion and the sulfate ion is ionic. On the Pauling scale, magnesium has an electronegativity of 1.31 and oxygen has 3.44, so the electrons are pulled strongly toward the oxygen atoms. This large difference makes the magnesium-oxygen contact in the crystal strongly ionic, with the metal giving up electrons to the sulfate group.

In the heptahydrate, the water molecules are not just filling gaps. Six water molecules surround each magnesium ion and bond to it through their oxygen atoms, while the seventh water molecule sits in the crystal and is held by hydrogen bonds. This is why Epsom salt loses its water when heated in steps, and why the last water molecules leave only at a higher temperature.

Physical properties

PropertyAnhydrous MgSO4Epsom salt, MgSO4·7H2O
Molar mass120.37 g/mol246.47 g/mol
AppearanceWhite powder or crystalsColorless, needle-like crystals
Density2.66 g/cm³1.68 g/cm³
Thermal behaviorDecomposes above about 1,100 °C (2,000 °F)Loses water from about 150 °C (302 °F)
Solubility in water at 20 °Cabout 35 g per 100 g of water (as anhydrous salt)about 71 g per 100 g of water

Magnesium sulfate dissolves easily in water because water molecules are polar. Their slightly positive hydrogen ends and slightly negative oxygen ends surround each ion and pull it out of the crystal. The solution tastes bitter, a taste that many magnesium salts share.

The solid does not conduct electricity, because its ions are fixed in place. The solution does conduct electricity, because the ions can move freely through the water. The anhydrous salt does not melt in ordinary heating; at very high temperature it breaks down into other compounds instead.

Epsom salt crystals are less dense than the anhydrous powder because they contain water within their structure. When kept in dry air, the heptahydrate can slowly lose water and crumble into powder, a process called efflorescence. The anhydrous form does the reverse and takes up water from humid air.

Chemical properties and reactions

Magnesium sulfate is stable and does not burn. Its most important chemical behavior involves water. Heating the heptahydrate drives off the water, leaving the anhydrous salt:

MgSO4·7H2O → MgSO4 + 7H2O

The reverse process happens when the anhydrous salt meets water: it takes up water and reforms the hydrate, which is why it works as a drying agent. This change is reversible, and the amount of water the salt holds depends on temperature and humidity.

Magnesium sulfate also takes part in precipitation and neutralization reactions. When sodium hydroxide is added to a magnesium sulfate solution, a white precipitate of magnesium hydroxide forms, while sodium sulfate stays dissolved:

MgSO4 + 2NaOH → Mg(OH)2 + Na2SO4

Magnesium hydroxide, the active ingredient of the familiar milk of magnesia suspension, is an insoluble base. It reacts with acids to give a salt and water, as the equation near the top of this section shows for sulfuric acid. Chemists use such reactions to make magnesium salts in the laboratory and in industry.

Where Magnesium sulfate comes from

Magnesium sulfate occurs naturally as the mineral epsomite, which forms when magnesium-rich water evaporates. It appears as white crusts or needle-shaped crystals in dry lake beds, on cave walls and in old mine workings. Seawater contains both magnesium and sulfate ions, and sulfate is one of the most abundant negative ions in the ocean.

Another mineral, kieserite (MgSO4·H2O), is found in thick salt deposits, such as the ancient evaporite beds of central Germany. Mining companies recover magnesium sulfate from these deposits and from magnesium-rich brines. The salt is then dissolved, purified and crystallized under controlled conditions.

Magnesium sulfate can also be made from common raw materials. Industry reacts magnesium hydroxide or magnesium carbonate with sulfuric acid, then crystallizes the product from solution. The chemistry is simple, but the process runs in large, carefully controlled plants.

Uses of Magnesium sulfate

Most people meet magnesium sulfate as the main ingredient in bath salts. Dissolved in warm water, it is sold for soaking tired feet and muscles. The evidence that a bath relieves soreness is limited, but the salt is harmless when used this way.

  • Agriculture: magnesium is the central atom of chlorophyll, the green pigment that captures sunlight, and sulfur is needed to make amino acids. Gardeners use magnesium sulfate on soils or plants that show a magnesium shortage.
  • Laboratories: the anhydrous salt is a common drying agent. It removes water from organic liquids before they are distilled or analyzed.
  • Medicine: hospitals give magnesium sulfate by injection or drip to correct low blood magnesium and to treat some serious conditions, including certain seizures. Medical staff control this use strictly.
  • Industry: magnesium sulfate is a starting material for other magnesium chemicals and is used in several manufacturing processes.

Magnesium sulfate shows how a simple salt can serve very different needs, from a warm bath to a chemical plant.

Safety and the environment

Magnesium sulfate has a low hazard in normal use. Solid crystals and solutions can irritate the eyes, and a bath can sting broken skin. Swallowing large amounts causes diarrhea and loss of body fluid, so the salt should never be taken as a drink or medicine without advice from a health professional.

In the laboratory, the salt should be handled like any chemical: keep the container closed, avoid getting powder in the eyes, and wash the hands after use. Because the anhydrous form takes up water quickly, it should be stored in a dry container.

The main environmental concern is runoff. Magnesium and sulfate from fertilizers and from mining can wash into rivers and lakes. High sulfate levels can affect water taste and harm some aquatic plants and animals, so careful use of fertilizers helps protect waterways.

Frequently asked questions

Is Epsom salt the same as magnesium sulfate?

Yes. Epsom salt is the common name for magnesium sulfate, usually sold as the hydrate MgSO4·7H2O. The name comes from Epsom in Surrey, England, where a bitter mineral spring was found in the 1600s.

What is the formula of Epsom salt?

The formula of Epsom salt is MgSO4·7H2O, which contains seven water molecules for every magnesium sulfate unit. Anhydrous magnesium sulfate, with no water, is written MgSO4.

Does magnesium sulfate dissolve in water?

Yes, it dissolves easily in water, about 35 g of the anhydrous salt in 100 g of water at 20 °C. The solution tastes bitter, which is one reason the salt is named as it is.

Why is magnesium sulfate used as a drying agent?

The anhydrous form absorbs water from the air and from solvents, forming the hydrate. This makes it useful for removing traces of water from organic liquids in a laboratory.

Is magnesium sulfate safe to use in a bath?

Epsom salt baths are common and low in hazard for most adults, though the water may irritate broken skin. Large amounts swallowed can cause diarrhea, so the salt should never be taken as a drink or medicine without advice from a health professional.

More on Big World List

Sources and further reading

  • W. M. Haynes (ed.), "CRC Handbook of Chemistry and Physics"
  • N. N. Greenwood and A. Earnshaw, "Chemistry of the Elements" (2nd ed., 1997)
  • OpenStax, "Chemistry 2e"
  • USGS, "Mineral Commodity Summaries"

Cite this page

“Magnesium Sulfate (MgSO4): Epsom Salt Formula and Uses.” Atoms & Forces, https://science.bigworldlist.com/compounds/magnesium-sulfate/.