x

Explore AfyaVerse

Chat history

Your Ongoing chats

Accessed Assistants

You have not had a chat with any assistant

đź§Ş Biochemistry

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.

  • 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

Facility Payments Only

We do not collect any payments through this platform. All payments are settled directly with the testing facility.

Expert Guidance

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
25,740 UGX
Includes sample pickup

🔬 Related Investigations

Biochemistry

Extended Electrolytes

The Extended Electrolytes test measures the levels of key electrolytes such as sodium, potassium, chloride, bicarbonate, calcium, and magnesium in the blood. It is performed to assess electrolyte imbalances that could indicate various health conditions, dehydration, kidney function issues, or acid-base disorders.

Biochemistry

Serum Creatinine

Serum Creatinine is a blood test that measures the level of creatinine, a waste product produced by muscle metabolism, to evaluate kidney function. It helps determine the glomerular filtration rate (GFR), which is crucial for diagnosing kidney disease and monitoring its progression.

Biochemistry

Calcium (Total)

The Calcium (Total) test measures the total amount of calcium in the blood, which is essential for various bodily functions, including bone health, nerve function, and muscle contraction. This test helps assess conditions related to bone density, kidney function, and parathyroid hormone levels.

Biochemistry

Sodium (Serum)

Measures concentration of sodium in blood, critical for water balance and nerve/muscle function.

Biochemistry

Lactate-Plasma

The Lactate-Plasma test measures the level of lactate in the blood, which can indicate how well the body is using oxygen during intense exercise or assess conditions causing lactic acidosis. It is commonly performed in critically ill patients or those with unexplained acidosis to help diagnose underlying health issues.

Biochemistry

Serum Albumin

The Serum Albumin test measures the level of albumin, a key protein in blood plasma, which is crucial for maintaining osmotic pressure and transporting substances. This test is primarily used to evaluate liver function and nutritional status, helping to diagnose various conditions such as liver disease, kidney disorders, and malnutrition.

©2026 AfyaVerse. All Rights Reserved.