Magnesium shows real promise for eczema in early research, but the evidence is scattered across small studies rather than anchored in large clinical trials. Bathing in magnesium-rich solutions can improve skin hydration and reduce inflammation, and a cream combining magnesium with ceramides performed as well as hydrocortisone in one randomized trial. The picture gets complicated, though, because magnesium in your tap water may actually worsen eczema through a completely different mechanism, and whether magnesium even penetrates healthy skin in meaningful amounts is still debated.
What Magnesium Does for the Skin Barrier
Eczema is fundamentally a skin barrier problem. When the outermost layer of skin cannot hold moisture in and keep irritants out, you get the dry, cracked, inflamed patches that define the condition. Magnesium appears to play a role in keeping that barrier intact. It is involved in how skin cells mature and produce the specialized fats (ceramides, fatty acids) that seal gaps between cells. When researchers knocked out a magnesium transporter gene called NIPAL4 in mice, the animals developed dramatic changes in their skin lipid composition, including drops in the specific ceramide types that are essential for barrier function.1Journal of Lipid Research. Alteration of epidermal lipid composition as a result of deficiency in the magnesium transporter Nipal4 That gene, incidentally, is the same one responsible for a form of congenital ichthyosis in humans, a condition characterized by severely dry, scaly skin.
Beyond barrier lipids, magnesium is considered essential for epidermal differentiation and immune regulation more broadly.2Dermatology Online Journal. Magnesium dysregulation and risk of inflammatory skin disease: A multicenter cohort study That dual role matters for eczema, where the immune system is overreacting at the same time the barrier is failing. Whether correcting a magnesium shortfall in real patients translates to measurable skin improvements is the harder question, and the one the clinical studies attempt to answer.
Dead Sea Salt Baths and Skin Hydration
The best-known link between magnesium and eczema comes from Dead Sea balneotherapy. Dead Sea water contains unusually high concentrations of magnesium chloride compared with ordinary seawater. In a controlled study of people with atopic dry skin, bathing in a Dead Sea salt solution improved skin barrier function, increased hydration in the outer skin layer, and reduced both roughness and redness. The treatment was well tolerated, and the researchers attributed the benefits primarily to the high magnesium content.3PubMed. Bathing in a magnesium-rich Dead Sea salt solution improves skin barrier function, enhances skin hydration, and reduces inflammation in atopic dry skin Magnesium salts bind water, which partly explains the moisturizing effect, and they also appear to influence how skin cells proliferate and differentiate.
Mineral-rich baths have a long therapeutic history. A broader review of thermal and mineral water therapy found that water treatments are practiced in many countries with different mineral compositions, and that a re-assessment of their use for chronic skin diseases has been gaining traction in recent decades.4PubMed Central. The Role of Thermal Water in Chronic Skin Diseases Management: A Review of the Literature The challenge with Dead Sea studies specifically is separating magnesium’s contribution from everything else in the water, including other minerals, UV exposure, and the stress-reduction effects of being on vacation at a spa. Still, the hydration and anti-inflammatory results are consistent enough that magnesium-rich bath salts have become a common home remedy for eczema flares.
A Magnesium Cream That Rivaled Hydrocortisone
One of the more striking clinical findings comes from a randomized, double-blind trial of 100 patients with mild to moderate atopic dermatitis. Researchers tested a cream containing ceramides and magnesium against both hydrocortisone (a standard topical steroid) and a plain emollient. Each patient used two products simultaneously on different sides of the body, which made for a direct head-to-head comparison. After six weeks, the ceramide-magnesium cream produced improvements in eczema severity scores and water loss through the skin that were comparable to hydrocortisone. Against the plain emollient, the ceramide-magnesium cream performed significantly better. It was also more effective at improving skin hydration and maintaining the skin’s natural moisturizing factors than either the steroid or the emollient.5PubMed. Efficacy of a Cream Containing Ceramides and Magnesium in the Treatment of Mild to Moderate Atopic Dermatitis: A Randomized, Double-blind, Emollient- and Hydrocortisone-controlled Trial
This is encouraging, but it is one trial, and the cream combined magnesium with ceramides, so it is impossible to know how much each ingredient contributed. A separate study testing a combination of mineral salts and natural antioxidants in atopic dermatitis patients found significant improvements in all clinical measurements, a reduction in skin thickness, and decreased immune cell infiltration, with no adverse events reported.6PubMed Central. The Combination of Mineral Salts and Natural Antioxidants Agents Is Highly Effective in Atopic Dermatitis Again, magnesium was part of a formulation rather than isolated, so teasing apart its solo contribution remains difficult.
Can Magnesium Help With the Itch?
For many people with eczema, the itch is worse than the visible rash. Scratching damages the skin barrier further, triggering more inflammation, which triggers more itch. Breaking that cycle is one of the hardest parts of eczema management. Magnesium appears to interfere with itch signaling at the cellular level by modulating the ion channels that transmit itch signals along nerve fibers.7PubMed Central. Itching, Ionic Channels, Immune System, Magnesium and Antioxidants Researchers have proposed that combining magnesium with antioxidants could offer a low-side-effect approach to treating itch, since antioxidants block the excess reactive oxygen species that also feed into inflammatory itch pathways.
There is also evidence from animal models that magnesium reduces mast cell degranulation, the process where mast cells release histamine and other inflammatory mediators. In a rat model of inflammation, magnesium cut mast cell degranulation by roughly 23% in the acute phase and about 40% in the later phase.8PubMed Central. The Interactions of Magnesium Sulfate and Cromoglycate in a Rat Model of Orofacial Pain; The Role of Magnesium on Mast Cell Degranulation in Neuroinflammation Mast cells are heavily involved in eczema flares, so if this effect translates to human skin, it could partly explain why magnesium-rich baths feel soothing beyond simple moisturization. The caveat is that rat inflammatory models are not the same as human eczema, and no clinical trial has specifically measured magnesium’s anti-itch effects in eczema patients in a controlled setting.
The Hard Water Paradox
Here is where the magnesium story gets genuinely confusing. While bathing in magnesium salt solutions appears helpful, living in an area with hard tap water, which contains dissolved calcium and magnesium, is associated with higher eczema rates. A large analysis using UK Biobank data found that higher concentrations of calcium carbonate in domestic water were linked to increased eczema risk in adults.9PubMed Central. The association between domestic hard water and eczema in adults from the UK Biobank cohort study The proposed explanation involves two separate mechanisms: the dissolved calcium and magnesium raise the pH of the water, pushing it away from the skin’s preferred mildly acidic environment, and the mineral ions may alter calcium signaling in the skin in ways that weaken the barrier.
But there is another, perhaps more important, factor. When you wash with soap in hard water, the mineral ions cause more surfactant (the cleaning agent in soap) to deposit on the skin and stay there after rinsing. One study found that hard water left nearly three times as much of the irritating surfactant sodium lauryl sulfate on skin compared to deionized water. Softening the water to remove calcium and magnesium significantly reduced that surfactant deposition.10Journal of Investigative Dermatology. The Effect of Water Hardness on Surfactant Deposition after Washing and Subsequent Skin Irritation in Atopic Dermatitis Patients and Healthy Control Subjects So the problem with hard water is likely less about magnesium itself harming the skin and more about magnesium and calcium ions making soap residue stick around and irritate the skin. This distinction matters: soaking in a magnesium bath without soap is a very different exposure than washing with soap in mineral-rich tap water every day.
Does Magnesium Even Absorb Through Skin?
A persistent claim in the wellness world is that you can raise your magnesium levels by bathing in Epsom salts or applying magnesium oil to your skin. The research on this is less encouraging than marketers suggest. A recent ex vivo study (using real human skin samples in a lab) found minimal magnesium permeation across intact skin, with no significant difference between magnesium-treated and untreated samples after 24 hours.11PubMed. Does magnesium permeate the skin? An ex vivo investigation of magnesium ion delivery through intact and barrier-disrupted skin The outer layer of skin, the stratum corneum, acts as a strong barrier to magnesium ions under normal conditions.
The twist relevant to eczema is that when the researchers disrupted that barrier by tape-stripping (removing layers of the stratum corneum), magnesium permeation jumped by several orders of magnitude. Eczema skin, by definition, has a compromised barrier. That means eczema-affected patches may actually absorb far more magnesium from a bath or topical product than healthy skin would. This could explain why Dead Sea salt baths show benefits in eczema patients even though transdermal magnesium delivery is negligible through normal skin. The mineral may be getting in precisely where it is needed most, through the broken-barrier areas. Whether the absorbed amounts are enough to produce systemic effects or just local ones remains an open question.
Dietary Magnesium and Eczema Prevention
While most attention goes to topical magnesium, there is an interesting thread of evidence around dietary intake, particularly during pregnancy. A Dutch cohort study found that higher maternal magnesium intake during pregnancy was independently associated with a lower risk of eczema in offspring.12PubMed Central. Intake of antioxidants during pregnancy and the risk of allergies and asthma in the offspring A later meta-analysis of prospective cohort studies confirmed this association, estimating about a 22% reduction in eczema risk among children of mothers with higher magnesium intake during pregnancy.13Food Science and Human Wellness. Association of nutrients intake during pregnancy with the risk of allergic disease in offspring: a meta-analysis of prospective cohort studies
That said, when it comes to people who already have eczema, the evidence for oral magnesium supplementation is thin. A systematic review of micronutrients in atopic dermatitis concluded that the available reports were not sufficient to confidently determine the role of trace minerals on the condition.14PubMed. Micronutrients in Atopic Dermatitis: A Systematic Review There are no large randomized trials testing magnesium pills as an eczema treatment. So while eating a magnesium-rich diet during pregnancy may offer some protective effect for the child, and adequate magnesium intake is important for immune regulation generally, there is no solid basis for recommending magnesium supplements specifically to treat existing eczema.
Which Type of Magnesium Product Matters
If you do want to try topical magnesium, the specific salt form makes a real difference. Magnesium chloride and magnesium sulfate (Epsom salt) are the two most commonly used forms. Magnesium chloride is more soluble and dissociates more readily in solution, which means it releases more free magnesium ions that could interact with the skin. Less soluble forms like magnesium oxide are less effective at delivering usable magnesium topically.15JAAD Reviews. The role of magnesium in dermatology
The counter ion, the other half of the salt molecule, also matters for skin barrier recovery. In mouse studies, most magnesium salts accelerated barrier repair after disruption, but magnesium bis(dihydrogen phosphate) did not, suggesting the form is not interchangeable.16PubMed. Some magnesium salts and a mixture of magnesium and calcium salts accelerate skin barrier recovery For bath use, magnesium chloride flakes or Dead Sea salt (which is naturally high in magnesium chloride) are likely better choices than Epsom salt if barrier support is the goal, though Epsom salt is far cheaper and more widely available. The pH of the solution matters too, since overly alkaline preparations can weaken the skin barrier even as the magnesium itself tries to help.
The Staph Colonization Wrinkle
One underappreciated aspect of eczema is the role of Staphylococcus aureus. This bacterium colonizes the skin of the vast majority of eczema patients, and its presence worsens inflammation and flares. Here, magnesium’s relationship with eczema takes yet another unexpected turn. Researchers found that depleting calcium and magnesium from culture media significantly suppressed S. aureus growth. When bacteria were applied to the skin of mice using water with typical mineral levels versus ultra-pure water with minimal calcium and magnesium, the mineral-depleted water suppressed bacterial colonization on the skin surface.17PubMed. Reduction in the colonization of Staphylococcus aureus on the skin surface under calcium-/magnesium-depleted conditions
This creates an apparent contradiction: magnesium in bath salts helps eczema through hydration and barrier support, but magnesium on the skin surface may also feed the very bacteria that worsen eczema. The practical takeaway is probably about context. A controlled soak in a magnesium bath, followed by rinsing and moisturizing, delivers temporary exposure that benefits the barrier. Constant exposure to moderate mineral levels in everyday washing water is a different scenario, one where the minerals linger alongside soap residue and provide an ongoing environment favorable to Staph growth. This nuance rarely appears in the marketing materials for magnesium bath products, but it is worth understanding if you are managing eczema prone to bacterial infections.
Bathing Practices for Children With Eczema
Parents of children with eczema often wonder whether bath additives could help. A review of bathing in pediatric atopic dermatitis found that several additives, including bath salts, appear to be promising adjunctive therapies due to their anti-inflammatory, antibacterial, anti-itch, and skin barrier repair properties. However, the review also cautioned that the efficacy and safety of some of these additives are not fully understood.18PubMed Central. Bathing in Atopic Dermatitis in Pediatric Age: Why, How and When For children, the basic principles still apply: lukewarm water, brief soak times, and immediate moisturizer application afterward. If you add magnesium salts to a child’s bath, start with a lower concentration than you would use for an adult and watch for any irritation, since children’s skin is thinner and more permeable.
The broader point with pediatric eczema is that no bath additive replaces the fundamentals of daily moisturizing and, when needed, medically prescribed treatments. Magnesium baths sit in the “potentially helpful, unlikely to hurt” category for most kids, but they should not delay or replace treatment that a dermatologist has recommended for moderate-to-severe disease.
Why the Evidence Stays Frustratingly Incomplete
If magnesium seems to help eczema through so many plausible mechanisms, why isn’t the evidence stronger? Part of the answer is economic. Magnesium is a cheap, unpatentable mineral, which means there is little financial incentive for pharmaceutical companies to fund the kind of large, multi-center trials that would produce definitive answers. Most studies are small, use different formulations, and measure different outcomes, making them hard to compare or pool into meta-analyses.
There is also the problem of isolating magnesium’s effects. Dead Sea salt contains potassium, calcium, bromide, and other minerals alongside magnesium. Ceramide-magnesium creams combine two active ingredients. Mineral-antioxidant combinations add yet another variable. A clean study testing magnesium alone against placebo in a large group of eczema patients, using a standardized formulation and validated outcome measures, simply has not been done. Until it is, dermatologists are left recommending magnesium-containing products as reasonable add-ons to standard care rather than as evidence-based first-line treatments. The biological rationale is strong, the small clinical studies are encouraging, but the gold-standard evidence that changes clinical guidelines is still missing.