Magnesium hydroxide is the form of magnesium with the strongest track record for controlling body odor. It’s the active ingredient in most magnesium-based deodorants on the market, and it’s the same compound found in milk of magnesia, which people have been dabbing on their underarms as a DIY deodorant for years. Other forms of magnesium sometimes get mentioned in the body-odor conversation, but the evidence and the product formulations converge on magnesium hydroxide for a reason worth understanding.
How Magnesium Hydroxide Fights Odor
Body odor doesn’t come from sweat itself. Fresh sweat is essentially odorless, composed mostly of water along with salts, fatty acids, amino acids, and other compounds secreted by the skin’s eccrine and apocrine glands.1PubMed Central. Understanding the microbial basis of body odor in pre-pubescent children and teenagers The smell comes from bacteria living on your skin, which feed on sweat components and produce volatile byproducts. Those byproducts, including short-chain fatty acids, sulfur-containing thiols, and certain steroids, are what your nose registers as body odor.2International Journal of Cosmetic Science. Body malodours and their topical treatment agents
Magnesium hydroxide works by raising the pH of the skin’s surface. When you apply it to your underarms, the environment shifts from its natural mildly acidic state to an alkaline one. Many of the bacteria responsible for odor thrive in slightly acidic conditions, so this pH shift makes the skin surface less hospitable to them. Research into natural deodorant formulations has confirmed that magnesium hydroxide contributes to skin-compatible pH values in the range of roughly 7.5 to 9.4 when incorporated into deodorant products.3Progress in Engineering Application and Technology. A Green Approach to Odour Control: Development of a Natural-Ingredient Deodorant Formulation Enriched with Plant-Based Bioactives That range is well above the natural skin pH of roughly 4.5 to 5.5, which is exactly the point.
This approach differs fundamentally from how conventional antiperspirants work. Aluminum-based antiperspirants form a physical plug in the sweat ducts, blocking sweat from reaching the skin surface.4PubMed Central. Deodorants and antiperspirants: New trends in their active agents and testing methods Magnesium hydroxide doesn’t reduce sweating at all. You’ll still perspire the same amount; the difference is that bacteria can’t convert the sweat into odor as readily.
Which Bacteria Are Actually Responsible
Not all underarm bacteria contribute equally to smell. Studies using genetic sequencing of armpit microbiomes have found that a few bacterial genera dominate. In one culture-independent study of non-antiperspirant users, roughly 96% of underarm bacterial sequences belonged to three genera: Staphylococcus, Corynebacterium, and Propionibacterium (now often called Cutibacterium).5PubMed Central. Mapping axillary microbiota responsible for body odours using a culture-independent approach Of those, Corynebacterium was positively correlated with body odor, while Propionibacterium was inversely correlated with it. Certain species within Staphylococcus went either way: some, like Staphylococcus hominis, were associated with stronger odor, while others were not.5PubMed Central. Mapping axillary microbiota responsible for body odours using a culture-independent approach
This matters for understanding magnesium hydroxide because the compound doesn’t target one species surgically. It shifts the entire environment. When you raise the underarm pH, you’re creating conditions that broadly discourage the growth of acid-loving bacteria, which includes many of the Corynebacterium species most associated with strong body odor. The trade-off is that you’re also shifting conditions for the bacteria that were doing you no harm, or even competing with the smelly ones. That said, for most people, the net result is noticeably less odor.
Other Magnesium Forms and the Transdermal Myth
Magnesium chloride is the form you’ll see in magnesium sprays, magnesium “oil” (which isn’t actually oil, just a concentrated solution that feels oily), and some bath products. It gets brought into body-odor discussions because some wellness communities claim that raising your body’s internal magnesium levels through skin absorption will reduce body odor from the inside out. The idea is that magnesium deficiency somehow worsens body odor, and that correcting it transdermally solves the problem.
The evidence for transdermal magnesium absorption is extremely weak. A review of the available literature concluded that the promotion of transdermal magnesium application is scientifically unsupported, finding no robust evidence that meaningful amounts of magnesium pass through intact skin into the bloodstream.6PubMed Central. Myth or Reality-Transdermal Magnesium? The skin is a barrier by design; it keeps things out. Magnesium chloride sprayed on your underarms may have some surface-level antimicrobial activity because of the chloride ions and the salt concentration, but the mechanism is not the same as magnesium hydroxide’s targeted pH shift, and it has not been studied with the same rigor for odor control.
Magnesium oxide and magnesium carbonate occasionally appear in natural deodorant formulations too. Magnesium oxide is mildly alkaline and can absorb moisture, which gives it some utility as both a pH-adjusting ingredient and a dry-feel agent. Magnesium carbonate is used more for texture and moisture absorption than for antibacterial action. Neither has the established profile that magnesium hydroxide does for odor control specifically. If you see a “magnesium deodorant” on a shelf and the ingredients list magnesium hydroxide, that’s the active form doing the heavy lifting. If it lists one of the others as the primary magnesium ingredient, the odor-fighting mechanism is less clear.
The Skin pH Trade-Off
Your skin has a naturally acidic surface, sometimes called the acid mantle, that sits at a pH of roughly 4.5 to 5.5. This acidity serves as a first line of defense, supporting enzymes that maintain the skin barrier and discouraging the overgrowth of pathogenic organisms. When this pH balance gets disrupted, the consequences can include increased water loss from the skin and greater vulnerability to irritation and inflammatory conditions.7Journal of Integrative Dermatology. From Discovery to Modern Understanding: The Acid Mantle in Dermatology
Magnesium hydroxide, by design, makes the skin more alkaline. For most people applying it only to the underarms, this isn’t a problem. The underarm skin is a small area, and the rest of the body’s acid mantle stays intact. But some people, especially those with sensitive skin, eczema, or a history of contact dermatitis, do report irritation from magnesium-hydroxide deodorants. The irritation usually shows up as redness, itching, or a mild burning sensation, and it’s more common right after shaving, when the skin barrier is already compromised.
If you experience irritation, a few adjustments can help. Applying the deodorant to dry skin rather than damp skin reduces the intensity of the pH shift at the surface. Waiting several hours after shaving before applying gives the skin time to recover. And some formulations buffer the magnesium hydroxide with other ingredients to moderate its alkalinity, so trying a different brand can sometimes solve the issue even if the active ingredient is the same. The irritation isn’t a sign that magnesium hydroxide is unsafe; it’s a sign that your particular skin responds to the alkaline environment, and that’s worth respecting rather than pushing through.
How Magnesium Stacks Up Against Aluminum
The most common reason people seek out magnesium deodorants is that they want to stop using aluminum-based antiperspirants. The two approaches solve different parts of the same problem. Aluminum salts work by physically blocking sweat ducts, reducing the amount of moisture that reaches the skin surface.4PubMed Central. Deodorants and antiperspirants: New trends in their active agents and testing methods This cuts off both wetness and the bacterial food supply. Magnesium hydroxide leaves sweat production untouched and instead makes the skin surface unfriendly to the bacteria that cause odor.
In practice, this means magnesium deodorants won’t keep you dry the way an antiperspirant will. If your primary concern is sweat stains or visible wetness, magnesium hydroxide alone won’t address that. If your primary concern is smell, it can work well, though the duration of effectiveness tends to be shorter than a strong antiperspirant. Metallic salts used in odor treatment generally act by inhibiting the growth of the bacteria that produce the smelly compounds.2International Journal of Cosmetic Science. Body malodours and their topical treatment agents Aluminum does this too, on top of reducing sweat volume, which is partly why it tends to last longer per application.
People who switch from aluminum antiperspirants to magnesium deodorants sometimes report a “transition period” of a few weeks where body odor seems to get worse before it improves. This isn’t a detox in any meaningful medical sense. What’s likely happening is that the underarm microbiome, previously suppressed by the antiperspirant, is re-establishing itself in a new equilibrium. The bacterial populations shift, and the composition that eventually stabilizes under a magnesium-based deodorant may be different from the one that existed under aluminum. During that reshuffling, odor can fluctuate.
Ingredients That Work Alongside Magnesium Hydroxide
Most magnesium deodorants don’t rely on magnesium hydroxide alone. Formulations that combine magnesium hydroxide with other natural antimicrobial agents tend to perform better than single-ingredient products. Research into natural deodorant development has specifically examined combinations of magnesium hydroxide with zinc ricinoleate (a zinc salt derived from castor oil that traps odor molecules) and essential oils such as tea tree oil, which has well-documented antibacterial properties.3Progress in Engineering Application and Technology. A Green Approach to Odour Control: Development of a Natural-Ingredient Deodorant Formulation Enriched with Plant-Based Bioactives
These ingredients work through different mechanisms. Zinc ricinoleate doesn’t kill bacteria or change pH; instead, it absorbs and neutralizes odor molecules after they’ve been produced. Essential oils like tea tree contribute direct antimicrobial activity. Putting them together with magnesium hydroxide creates a layered approach: magnesium hydroxide shifts the pH to suppress bacterial growth, zinc ricinoleate captures any odor that does get produced, and essential oils add an additional antibacterial layer. When you’re evaluating a magnesium deodorant product, checking whether it includes supporting ingredients like these can be more informative than just looking for the highest percentage of magnesium hydroxide listed.
Arrowroot powder and baking soda are two other common additions. Arrowroot absorbs moisture, partially compensating for the fact that magnesium deodorants don’t block sweat. Baking soda is alkaline and adds to the pH-shifting effect, but it’s also the ingredient most associated with underarm irritation in natural deodorants. Products that combine both magnesium hydroxide and baking soda can push the skin’s pH higher than magnesium hydroxide alone, which increases both effectiveness and the risk of irritation. If you’ve had trouble with “natural” deodorants causing rashes in the past, baking soda was likely the culprit, and a formula using magnesium hydroxide as the sole alkaline agent may be gentler.
When Magnesium Deodorants Aren’t Enough
For most people dealing with everyday body odor, a well-formulated magnesium hydroxide deodorant does the job. But body odor exists on a spectrum, and there are situations where topical deodorants of any kind fall short. People who experience excessive or persistently strong body odor despite good hygiene may have a condition called bromhidrosis, which involves overproduction or abnormal composition of apocrine sweat that bacteria convert into especially pungent compounds. Hormonal changes, certain medications, and some medical conditions can also intensify body odor beyond what any consumer deodorant can fully manage.
It’s also worth noting that the bacterial composition of your underarms is partly individual and partly shaped by your environment, diet, and genetics. Two people using the same magnesium deodorant can get very different results because the microbial communities living on their skin are different. Someone whose underarm microbiome is heavily dominated by Corynebacterium species, the genus most strongly linked to body odor,5PubMed Central. Mapping axillary microbiota responsible for body odours using a culture-independent approach may find that magnesium hydroxide helps but doesn’t eliminate the problem entirely. Someone whose microbiome skews more toward Staphylococcus epidermidis and Cutibacterium, which produce less pungent byproducts, may find that the same product works like a charm.
For people in the first group, combining a magnesium-based deodorant with other strategies can help. Wearing breathable fabrics, showering promptly after exercise, and using an antibacterial wash on the underarms (even a gentle one) reduces the bacterial load before the deodorant goes on. Some people find that applying the deodorant at night, when sweat production is lower and the product has more time to establish its pH effect on the skin, improves next-day performance.
Oral Magnesium Supplements and Body Odor
A persistent claim online is that taking magnesium supplements orally, whether as magnesium glycinate, citrate, or another chelated form, will reduce body odor by correcting a systemic deficiency. The logic usually goes something like: magnesium is involved in hundreds of enzymatic reactions, some of which influence detoxification pathways, and therefore low magnesium leads to more toxins being excreted through sweat, producing more odor.
There’s no clinical evidence supporting this chain of reasoning. No published study has demonstrated that oral magnesium supplementation reduces body odor. The enzymatic role of magnesium in the body is real, but the leap from “magnesium is involved in enzymes” to “taking more magnesium makes your sweat smell better” skips over biology that doesn’t actually connect those dots. Sweat composition is influenced by many factors, and there’s no established mechanism by which raising serum magnesium levels changes the specific precursors that skin bacteria convert into odorous compounds.
That doesn’t mean magnesium supplements are worthless for other reasons. Many people genuinely don’t get enough magnesium from their diets, and supplementation can improve sleep, muscle function, and other outcomes where the evidence is stronger. But if someone is selling you magnesium glycinate specifically for body odor, the claim is running ahead of the science. The magnesium that works for odor is the one you put on your skin, not the one you swallow.
Choosing a Product
When shopping for a magnesium deodorant, the ingredient list tells you more than the marketing copy. Look for magnesium hydroxide as one of the first several ingredients, which indicates it’s present in a meaningful concentration rather than a token amount. Products that list it as “milk of magnesia” or “magnesium hydroxide” are using the same compound. Some brands use the term “magnesium” loosely, and the actual active ingredient might be magnesium carbonate or magnesium oxide, which are less effective for odor control specifically.
Format matters too. Magnesium deodorants come as sticks, creams, roll-ons, and pastes. Creams and pastes tend to deliver more of the active ingredient per application because you can control the amount, but they take longer to dry and can feel heavy. Sticks and roll-ons are more convenient but may contain more filler ingredients to maintain their form. None of these formats is inherently better; it comes down to how much product actually contacts your skin and stays there.
One practical test that experienced users of natural deodorants swear by: if a magnesium deodorant works well for the first four to six hours but fades noticeably after that, a midday reapplication is more effective than switching to a stronger formula. The pH-shifting effect is temporary, and bacterial populations rebound once the alkalinity fades. A second application resets the clock rather than requiring you to escalate to a product that might irritate your skin. This is a meaningful difference from aluminum antiperspirants, which are designed for once-daily application because the physical sweat-duct plugs persist for many hours.