Skip to content

Hemoglobin A1c (HbA1c) with 24-hour urine collection for measurement of urinary magnesium

Published: August 9, 2026Updated: August 16, 2026

This test measures your average blood sugar levels over the past 2–3 months and checks how much magnesium is excreted in your urine over a full day.

Quick summary

["HbA1c helps track diabetes management, while urine magnesium assesses kidney function and electrolyte balance."]

Medically reviewed by WellAlly Editorial TeamLast reviewed August 16, 2026Editorial policy

Key facts at a glance

LOINC
74736-0
Short code
Deprecated S pyogenes hsp60 Bld Pos Ql Prb Mag
Synonyms
Deprecated S pyogenes hsp60 Bld Pos Ql Prb Mag
Category
coagulation
Sample
whole-blood
Container
Lavender-top (EDTA)
Units
N/A
Fasting
false
Population
adult
Sex
all
Age range
18–65 years
Method
probe-mag-capture
Specimen volume
3 mL
Stability
Room temperature: 4h, Refrigerated: 24h
Hemolysis max
0
Lipemia max
0
Icterus max
0
TAT
4–24 hours
Order
routine

Why This Test Is Done

Your healthcare provider may order this test if you have diabetes to monitor long-term blood sugar control and assess kidney health. Urine magnesium testing can also help evaluate conditions affecting electrolyte balance or kidney function.

What to Expect Before the Test

For the HbA1c part, no special preparation is needed. For the urine magnesium test, you’ll collect all urine for a full 24-hour period in a container provided by your lab. Drink plenty of water to help urine flow, but avoid excessive diuretics unless instructed otherwise.

What Happens During the Test

The HbA1c test involves a simple blood draw from a vein, usually in your arm. The urine magnesium test requires collecting all urine produced over 24 hours, which is then analyzed in the lab.

What the Results Mean

HbA1c results (typically reported as a percentage) indicate average blood sugar levels, with higher values linked to poorer diabetes control. Urine magnesium levels help determine if your kidneys are properly filtering electrolytes; abnormal results may signal kidney issues or other health concerns.

Clinical interpretation

How abnormal results are interpreted and what conditions they suggest.

Clinical Significance

Short name

HbA1c + 24-Hour Urine Magnesium

Frequently asked questions

How often should I get this test?
HbA1c is often checked every 3–6 months for people with diabetes to adjust treatment. Urine magnesium testing may be done periodically if you have kidney concerns or symptoms like muscle cramps, fatigue, or irregular heartbeat.
What do abnormal results mean?
High HbA1c suggests poor blood sugar control, while low urine magnesium could indicate kidney problems or malabsorption. High levels may point to conditions like hyperparathyroidism or excessive magnesium intake.
Can diet affect these tests?
Yes—high-sugar diets can raise HbA1c, while foods rich in magnesium (e.g., nuts, leafy greens) may influence urine levels. Avoiding excessive caffeine or alcohol can also help ensure accurate urine collection.
  1. 1
  2. 2
  3. 3

Click any link to access the full source. PubMed Central (PMC) links provide free full-text access.

This information is for educational purposes only and is not a substitute for professional medical advice, diagnosis, or treatment.

Medical Disclaimer

This content is for general informational and educational purposes only and is not a substitute for professional medical advice, diagnosis, or treatment. Always seek the guidance of a qualified healthcare provider with any questions you have about a medical condition, and never disregard professional medical advice or delay seeking it because of something you read here.

If you think you may have a medical emergency, call your local emergency number or go to the nearest emergency department immediately.

Medically reviewed by WellAlly Editorial Team Last reviewed August 16, 2026. · Read our editorial policy