Ever stared at a chemical formula and wondered what on earth scientists were thinking when they named it? You're not alone. Some chemical names are so tangled up with numbers, letters, and symbols that they look more like a password than a real word. MgSO4·7H2O is one of those.
But here's the thing — once you know what it's called and why, you'll probably never forget it. Let's break it down.
What Is MgSO4·7H2O?
Let's get the technical bit out of the way first. The "·7H2O" part means that seven water molecules are chemically attached to each unit of magnesium sulfate. The compound written as MgSO4·7H2O is a hydrated salt. Even so, the "MgSO4" part is magnesium sulfate — a combination of magnesium (Mg), sulfur (S), and oxygen (O). That water is built right into the crystal structure, and it's not just wet — it's part of the molecule itself.
So what is the name* of MgSO4·7H2O? That said, seven waters. Still, that word "heptahydrate" comes from Greek — hepta* meaning seven, and hydrate* meaning water. So naturally, it's magnesium sulfate heptahydrate. Simple, once you know the trick.
But that's just the chemical name. There's another, friendlier name you'll definitely recognize.
The Common Name: Epsom Salt
Most people know this compound as Epsom salt. And no, it's not actually the kind of salt you'd sprinkle on your dinner. The "salt" here is used loosely — it just means an ionic compound, the same way we call table salt "salt" even though, chemically, many different compounds are salts.
Epsom salt gets its name from a town in England called Epsom, where the compound was first distilled from natural mineral springs way back in the 1600s. People noticed that the bitter-tasting water from these springs had some pretty interesting effects on the body — and Epsom salt's reputation stuck around for centuries.
What Does It Look Like?
If you've ever seen Epsom salt, you know exactly what it looks like: small, colorless or white crystals that look a lot like table salt or coarse sugar. Think about it: no color, no smell. On the flip side, dissolve it in water, and it disappears into a clear solution. Just a slightly bitter taste, if you ever happen to try it (most people don't, but some gardeners and bath enthusiasts are very familiar with it).
Why It Matters
Okay, so why should anyone care about a hydrated salt with a long name? Turns out, magnesium sulfate heptahydrate is one of those quiet, behind-the-scenes compounds that shows up in way more places than you'd expect.
In Medicine
In healthcare, this compound is used for a few important things. Doctors may use it to treat magnesium deficiency, to control seizures in certain conditions like eclampsia during pregnancy, and as a laxative or topical soak. The hydrated form is what's typically used because it's stable, easy to store, and dissolves reliably in water.
In Agriculture
Magnesium is a key nutrient for plants — it's actually at the center of every chlorophyll molecule, which is how plants turn sunlight into energy. When soil is low in magnesium, plants turn yellow between the veins of their leaves, a condition called interveinal chlorosis. Farmers and gardeners often apply Epsom salt directly to soil or as a foliar spray to correct this deficiency quickly.
In Bath Soaks and Home Remedies
You've probably seen Epsom salt sold in big bags next to the bath products. People dissolve it in warm bathwater to soothe sore muscles, reduce swelling, and just generally relax. And whether it's the magnesium absorbing through the skin or just the warm water doing the work, plenty of people swear by it. The science is still a little fuzzy on exactly how much magnesium actually makes it through your skin, but the tradition isn't going anywhere.
In Chemistry Labs
In a lab setting, magnesium sulfate heptahydrate is frequently used as a drying agent. Because of its strong attraction to water, chemists use the anhydrous* form (MgSO4 without the 7H2O) to remove trace water from organic solutions. The heptahydrate itself isn't the drying agent — but it's the starting material that's heated to produce the anhydrous version.
How Hydration Works (Without Getting Too Nerdy)
Here's a part of the story that's actually pretty fascinating. On the flip side, when you see "7H2O" tacked onto the end of a formula, that's not contamination or moisture. It's part of the crystal itself.
Crystal Water vs. Just Water
Think of it like this: when magnesium sulfate crystallizes out of a water solution, it grabs seven water molecules and locks them into the structure as the crystals form. These water molecules sit in specific spots inside the crystal lattice, holding the whole thing together. If you heat the crystals, that water eventually boils off — and you're left with a fine white powder that's anhydrous magnesium sulfate. You can actually watch this happen. The crystals lose their shape, steam rises, and the mass gets noticeably lighter.
This isn't unique to magnesium sulfate. That one is a bright blue crystal, and when you dehydrate it, it turns into a pale gray-white powder. But a lot of salts form hydrates — copper sulfate pentahydrate (CuSO4·5H2O) is another famous one. Same idea, different numbers.
Why the Number Matters
The "7" isn't random. It's specific to magnesium sulfate under normal conditions. Other compounds pick up different numbers of water molecules — sometimes three, sometimes five, sometimes ten — depending on the size of the ions and how they pack together. Chemists can often predict how many water molecules a salt will hold, but the only way to be sure is to actually grow the crystals and analyze them.
For more on this topic, read our article on how did vera drake perform abortions or check out how to determine relative reactivity of metals.
Common Mistakes People Make With the Name
Here's where things get a little messy — and where a lot of confusion happens online.
Calling It "Magnesium" or Just "Sulfate"
People sometimes shorten the name so much it loses meaning. Day to day, magnesium sulfate is not the same as magnesium, and it's not the same as sulfate. The whole compound is what matters. Pure magnesium is a metal, pure sulfate is a polyatomic ion — together, they form a salt with its own unique properties.
Confusing Hydrated and Anhydrous Forms
This is a big one. Magnesium sulfate heptahydrate and anhydrous magnesium sulfate behave very differently in certain contexts. Day to day, the heptahydrate is heavier, takes up more volume, and has different solubility characteristics. If a recipe or procedure calls for one specifically, you can't just substitute the other without adjusting quantities.
Thinking the "7H2O" Means It's 7% Water
Nope. The actual water content by mass in magnesium sulfate heptahydrate is about 51% — over half the weight of the crystal is water. The 7 refers to the number of water molecules* per formula unit, not a percentage. That's a lot more than most people guess.
Practical Tips for Using Epsom Salt
If you're thinking of using magnesium sulfate heptahydrate at home — whether for plants, baths, or something else — a few things are worth knowing.
For bath soaks, about one to two cups dissolved in a standard bathtub of warm water is the usual amount. Some people add essential oils for scent, though the salt itself has a slightly mineral smell. Don't eat it, even if you find recipes online that suggest it as a laxative — talk to a doctor first.
For plants, a tablespoon or two dissolved in a gallon of water works well as a soil drench for magnesium-deficient plants like tomatoes, roses, and peppers. Consider this: apply it once a month during the growing season and see if you notice a difference. It's cheap, easy, and won't burn plants the way some synthetic fertilizers can.
For lab use, always make sure you're using the form that's appropriate. Practically speaking, the heptahydrate is fine for preparing solutions, but if you need a drying agent, you need the anhydrous form. Heating the heptahydrate in an oven at around 200°C for a couple of hours will drive off the water — though in professional settings, it's usually done more carefully.
FAQ
Is magnesium sulfate heptahydrate the same as Epsom salt? Yes. Epsom salt is the common name for magnesium sulfate heptahydrate. If a product is labeled Epsom salt and the ingredient list shows MgSO4·7H2O, they're the same
compound.
Can you substitute anhydrous magnesium sulfate for the heptahydrate in a bath? Technically yes, since the compound itself is the same once dissolved, but you'd need to use less by weight to account for the missing water molecules. For most home applications though, the heptahydrate is what you'll find and what's typically meant by "Epsom salt."
Why is it called Epsom salt if it comes from many places? The name stuck from the town of Epsom in Surrey, England, where the compound was first distilled from local mineral waters in the 1600s. Even though it's now produced worldwide, the historical name has endured for centuries.
Is it safe to use Epsom salt on skin? For most people, yes. A bath soak is generally safe, though those with very sensitive skin or open wounds should be cautious. If you experience any irritation, rinse off and discontinue use.
Does Epsom salt actually help plants, or is it a myth? The evidence is mixed. Some gardeners swear by it, and there's science supporting its use for specific magnesium deficiencies. Even so, if your soil already has adequate magnesium, adding more won't help and could even disrupt the balance of other nutrients.
How should Epsom salt be stored? Keep it in a cool, dry place in a sealed container. While it's stable under normal conditions, it can absorb moisture from humid air over time, which can cause clumping. The anhydrous form is especially hygroscopic and should be stored carefully.
Why It Matters
Magnesium sulfate heptahydrate is one of those quietly important substances that shows up in more places than most people realize — from a relaxing Sunday bath to a chemistry lab to a bag of fertilizer at the garden center. Understanding what it actually is, beyond the marketing and shorthand, makes it easier to use effectively and safely.
The confusion that surrounds it — whether it's the "magnesium" or the "sulfate" that matters, whether the water is "extra" or essential, whether it works for plants or doesn't — usually comes down to oversimplification. Chemistry doesn't always lend itself to quick summaries, and a compound is more than the sum of its parts. The heptahydrate isn't magnesium with some water tacked on; it's a specific arrangement of atoms that has its own identity, its own properties, and its own uses.
Getting comfortable with that idea — that MgSO4·7H2O is a real thing with a name and a history and a role to play — is worth a little effort. In real terms, whether you encounter it in a formula, a product label, or a recipe, you'll know what you're actually looking at. And that makes everything from dosing a garden to reading a chemistry textbook just a little bit easier.