Instalab
logoInstalab

Magnesium

Hair Test
Explore how mineral levels in hair relate to heart and blood sugar health, with evidence still at an early stage.
4.9 (4,064 reviews)
Tested by Doctor's Data
Physician-reviewed results
How it works
Order from Instalab
No prescription or your own doctor's order needed
Self-collect at home
Kit shipped directly to you
Get results
Explained with clear next steps, no medical jargon

Should you take a Magnesium test?

This test is most useful if any of these apply to you.

Taking Magnesium Supplements
Hair measurements are exploratory; blood results and your clinical context are more useful for guiding replacement.
Taking Acid Reducers or Water Pills
These medicines can affect magnesium balance; a hair result alone can't show whether you're deficient.
Living With Gut Inflammation
Hair findings in bowel disease are preliminary, and blood testing remains the usual starting point for suspected deficiency.
Curious About Mineral Research
Explore an emerging measurement whose links to heart and metabolic health are still being tested.

About Magnesium

Hair magnesium measures the mineral in a strand of hair, but interpreting that number as your body's magnesium supply is still experimental. Hair contains magnesium incorporated during growth and magnesium deposited afterward by water, products and other outside sources. A low reading doesn't establish deficiency, and a high reading doesn't establish excess.

Studies have found differences in hair magnesium between groups with and without certain diseases. Those findings make it a subject of research, but there are no validated thresholds for diagnosing magnesium deficiency or predicting disease from your hair result.

What Your Hair Contains

Magnesium comes from your diet, is absorbed through your gut, and is regulated largely by your kidneys. It helps hundreds of chemical reactions involved in energy production, muscle and nerve function, and the maintenance of DNA. Most of your body's magnesium is in bone and soft tissues; less than 1% is in serum. The circulating concentration can remain normal while tissue stores decline, so serum magnesium is useful clinically but doesn't provide a complete inventory of your stores.

This measurement reports total elemental magnesium in a cut scalp-hair sample, expressed in µg/g. Hair grows over weeks and months, but its mineral content can change after it leaves the scalp. The result therefore combines material incorporated during growth with external deposits that remain after sample preparation. It isn't a calibrated record of your magnesium intake or body stores over a specific period.

Hair and Blood Measure Different Things

In a small study of 30 generally healthy adults, hair magnesium and serum magnesium did not correlate meaningfully. Their laboratory classifications also showed little agreement. That finding establishes that the measurements can disagree; it doesn't establish that hair detects a deficiency missed by blood.

Serum magnesium has an established role in evaluating suspected deficiency and monitoring treatment. Hair magnesium's relationship to total body stores remains uncertain. The limitations of serum testing don't, by themselves, validate hair as a replacement.

Heart and Blood Vessels

In a study of adults referred for coronary angiography, people with coronary artery disease had lower hair magnesium than those without significant coronary narrowing. Lower concentrations also went along with a greater number of affected arteries. Another study of 79 men receiving hemodialysis found that lower hair magnesium was associated with thicker walls in the heart's main pumping chamber. Serum magnesium showed no corresponding association in that study.

A separate study associated a higher calcium-to-magnesium ratio in hair with more coronary artery calcium. That ratio is a combined measurement: it can rise because calcium increases, magnesium decreases, or both. Its findings cannot be attributed to magnesium alone.

These hair studies compared people at one point in time. They cannot establish whether the mineral differences preceded disease, resulted from disease or treatment, or reflected other differences between the groups. They also didn't establish that hair magnesium predicts a future heart attack or stroke.

The longer-term outcome evidence concerns serum magnesium. Among 14,353 US adults followed for a median of 28.6 years, the lowest serum category was associated with about a third higher risk of death than the middle category. The estimated risk of death from stroke was about two and a half times as high, although that estimate was imprecise. A separate pooled analysis of eight serum-magnesium cohorts found roughly a quarter fewer cardiovascular events in the highest category than in the lowest.

Those blood-based associations support studying magnesium in cardiovascular health. They don't establish the risk attached to a hair concentration or show that increasing hair magnesium prevents cardiovascular events.

Blood Sugar and Metabolic Health

Metabolic syndrome combines abdominal obesity, high blood pressure, high blood sugar and abnormal blood fats. In a cross-sectional study of 343 adults, the group with metabolic syndrome had lower hair magnesium. People in the third quarter of the hair-magnesium distribution had lower odds of metabolic syndrome than those in the lowest quarter. The findings didn't establish a consistent pattern in which each higher quarter carried less risk.

Another study in Korean men found a weak association between a higher calcium-to-magnesium ratio in hair and greater insulin resistance. Insulin resistance occurs when your cells respond less effectively to insulin. As with the coronary-calcium study, this was evidence about a ratio, and it didn't establish that low hair magnesium causes metabolic disease.

Gut Inflammation and Sleep

A small study of adults with inflammatory bowel disease found lower hair magnesium than in healthy controls. Lower measurements were associated with active disease, taking longer to fall asleep and shorter sleep duration.

The researchers used an X-ray technique to examine small areas of hair. That differs from measuring the total magnesium concentration in the whole sample, as this test does, so the results aren't directly interchangeable. The study didn't establish that hair testing detects chronic malabsorption better than serum testing or that a low hair result explains poor sleep.

Attention and Brain Health

A pooled analysis of four studies found lower hair magnesium in children with attention deficit hyperactivity disorder than in children without it. These were group differences, with substantial uncertainty around their size. They don't provide a diagnostic test for ADHD or establish that magnesium deficiency caused the attention symptoms.

Why Results Differ Between People

Age and sex are associated with differences in hair magnesium. A conference report involving over a thousand adults found a median concentration nearly three times higher in women than in men. Other studies have found differences during childhood and adolescence. These observations don't mean that women or older children necessarily have larger magnesium stores.

One pregnancy study found lower hair magnesium later in gestation, but it also reported inadequate dietary magnesium intake. It couldn't separate pregnancy-related changes from nutritional differences. Hair color and cosmetic treatment can further complicate comparisons between people.

Body-weight findings also depend on the population and specimen. One study found lower scalp-hair magnesium in women with obesity than in women of normal weight. Another found higher magnesium in pubic hair in women with overweight or obesity. Pubic hair has different growth and exposure conditions, so that result isn't direct evidence about scalp hair. These studies don't establish a useful higher-is-better target for weight or metabolic health.

When Results Can Be Misleading

  • External deposits: Water, dust, sweat and hair products can contribute minerals to hair. Research mapping individual strands found that external magnesium can reach both the outer and inner layers, so washing doesn't necessarily remove it all.
  • Distance from the scalp: Older sections have had more time for outside exposure. In a study of children, magnesium concentrations increased substantially in segments farther from the scalp. Combining long ends with newly grown hair changes the sample being measured.
  • Dyes, bleach and other treatments: Cosmetic treatments can change mineral concentrations and how hair takes up material from its surroundings. A difference between two samples may reflect hair care.
  • Sample preparation and laboratory differences: Washing and preparation procedures affect the amount recovered. In a historical study, split samples sent to six commercial laboratories produced conflicting interpretations, with more than tenfold differences for some elements. That wasn't a magnesium-specific finding, but it shows why results from different laboratories shouldn't be assumed to be interchangeable.
  • Population comparisons: Age, sex, hair characteristics and collection site can influence results. A laboratory flag doesn't establish nutritional deficiency or toxicity.

What a Trend Can Show

Repeated measurements can document changes in hair concentration, but there is no validated amount of change that proves your magnesium stores have improved or declined. Consistent sampling and analysis reduce some sources of variation. They don't establish that the remaining change has clinical meaning, and a rising hair result isn't a proven measure of supplement benefit.

What Moves This Biomarker

Evidence-backed interventions that affect your Magnesium level

↑ Increase
Oral magnesium supplementation in children with documented magnesium deficiency
An older, nonrandomized controlled study in children with ADHD and low magnesium in blood and hair reported increased hair magnesium after six months of supplementation. Replacing confirmed deficiency is beneficial, but this study doesn't establish a hair target or show that adjusting doses to hair results improves health.
SupplementModest Evidence

Frequently Asked Questions

References

30 studies
  1. Shahverdian a, Torabzadeh S, Watts D, Porwollik S, Padilla M, Lee J, Perez G, Jafari MBiological Trace Element Research2025
  2. Urbanowicz T, Hanć a, Frąckowiak J, Białasik-misiorny M, Radek Z, Krama M, Filipiak KJ, Krasińska-płachta a, Iwańczyk S, Kowalewski M, Tykarski a, Jemielity MJournal of Clinical Medicine2024
  3. Ochi a, Ishimura E, Tsujimoto Y, Kakiya R, Tabata T, Mori K, Fukumoto S, Tahara H, Shoji T, Yasuda H, Nishizawa Y, Inaba MCirculation Journal2013

Magnesium Testing Option

Hair Toxic & Essential Elements

$149

Explore possible exposure clues in hair, with guidance on which findings need blood, urine, or environmental testing.

Includes 41 biomarkers:
MagnesiumAluminumAntimonyArsenicBarium
FSA/HSA eligible
No Rx needed
HIPAA compliant