Magnesium (Serum)
What it is (overview)
A Magnesium (Serum) test is a blood test that measures the amount of magnesium (Mg) circulating in the liquid portion of your blood (serum). Magnesium is an essential mineral and electrolyte that helps your body with muscle and nerve function, heart rhythm, energy production, and maintaining healthy bones. It also supports normal levels of other electrolytes such as calcium and potassium.
Serum magnesium reflects the magnesium available in the bloodstream at the time of the test. Because much of the body’s magnesium is stored in bones and inside cells, a normal serum result does not always rule out low total-body magnesium—however, serum magnesium is still a widely used and helpful first test when symptoms or risk factors are present.
In plain language, your result is typically interpreted like this:
Low magnesium (hypomagnesemia): May occur if you are not absorbing enough magnesium, losing it through the kidneys or gastrointestinal tract, or have increased needs. Low levels can contribute to muscle cramps, twitching, weakness, numbness/tingling, and can be associated with abnormal heart rhythms. It can also make low potassium or low calcium harder to correct.
High magnesium (hypermagnesemia): Most often occurs when the kidneys cannot clear magnesium well (for example, in kidney failure) or from excess magnesium intake (such as certain antacids or laxatives)—especially in people with reduced kidney function. High levels may cause nausea, flushing, low blood pressure, slowed reflexes, drowsiness, and in severe cases, serious heart rhythm or breathing problems.
Your clinician will interpret the magnesium (Mg) result alongside symptoms and other lab tests (commonly calcium, potassium, sodium, and kidney function tests such as creatinine/eGFR) to understand the cause and decide whether treatment or further testing is needed.
When & why it's usually done
Doctors commonly order a serum magnesium test when they suspect an electrolyte imbalance or need to monitor conditions and treatments that can change magnesium levels. It may be checked in routine evaluations, during acute illness, or as part of a broader metabolic or electrolyte panel.
This test is often ordered if you have symptoms that can be linked to abnormal magnesium (Mg), such as:
Muscle and nerve symptoms: muscle cramps, spasms, tremors, twitching, weakness, numbness or tingling, seizures, or unusual irritability/confusion.
Heart-related symptoms: palpitations, dizziness, fainting, or a history of arrhythmias (especially if potassium or calcium is also abnormal).
It’s also commonly done when you have conditions or situations that increase the risk of low or high magnesium, including:
Kidney disease: the kidneys regulate magnesium balance; impaired function can raise magnesium, while certain kidney tubule disorders can lower it.
Gastrointestinal losses or poor absorption: chronic diarrhea, vomiting, malabsorption (e.g., inflammatory bowel disease), intestinal surgery, or poor nutrition.
Diabetes and high urinary losses: uncontrolled diabetes can increase magnesium loss in urine.
Alcohol use disorder: associated with low magnesium from poor intake, absorption issues, and increased losses.
Medication monitoring: diuretics (“water pills”), certain antibiotics, chemotherapy agents (e.g., cisplatin), calcineurin inhibitors, and long-term acid-suppressing therapy (especially proton pump inhibitors) can contribute to low magnesium; magnesium-containing laxatives/antacids may raise magnesium, particularly with kidney impairment.
Hospital/critical care monitoring: magnesium is frequently monitored in hospitalized patients, after major surgery, or when receiving IV fluids or nutrition (TPN), because levels can shift quickly and affect heart rhythm and muscle function.
Common diseases related to it
- Chronic kidney disease (CKD) and kidney failure
- Electrolyte imbalance disorders (including hypomagnesemia and hypermagnesemia)
- Cardiac arrhythmias (irregular heart rhythms), including risk of torsades de pointes
- Type 1 and type 2 diabetes (especially when poorly controlled)
- Chronic diarrhea and malabsorption syndromes
- Inflammatory bowel disease (Crohn’s disease, ulcerative colitis)
- Alcohol use disorder
- Hypocalcemia and hypokalemia (often linked to low magnesium)
- Preeclampsia/eclampsia monitoring when magnesium sulfate therapy is used (treatment monitoring)
Health goals where it may help
- Evaluating muscle cramps, weakness, tingling, or other possible electrolyte-related symptoms
- Supporting heart health by assessing electrolyte contributors to palpitations and arrhythmia risk
- Monitoring kidney health and medication safety (especially with diuretics or magnesium-containing products)
- Improving metabolic wellness by checking for magnesium issues associated with diabetes or poor nutrition
- Assessing digestive health when chronic diarrhea or malabsorption may cause mineral deficiencies
- General wellness screening as part of broader electrolyte and mineral balance (often alongside calcium and potassium)
đź§Ş Sample Required
Blood (Serum)
⚠️ Patient Preparation
None
We do not collect any payments through this platform. All payments are settled directly with the testing facility.
Medical expertise is crucial for choosing tests and interpreting results. Consult with your doctor or find a medical doctor on AfyaVerse for guidance.
Find a Medical Doctor on AfyaVerse →Available Booking Options
C-Care (International Hospital Kampala)
Testing Facility & Accredidations

©2026 AfyaVerse. All Rights Reserved.
