A Comprehensive Metabolic Panel (CMP) is a standard blood test measuring several substances to provide a broad view of a person’s metabolic state. Used as a routine screening tool, the CMP offers insight into kidney function, liver function, fluid balance, and blood sugar levels. The CMP does not typically include a measurement of magnesium. Magnesium testing is usually ordered separately when a specific clinical concern warrants its evaluation.
The Components of a Standard Comprehensive Metabolic Panel
The CMP is a fixed panel of 14 distinct tests designed to assess various metabolic processes simultaneously. These components are organized into functional groups that provide a snapshot of how the body is functioning. The panel measures glucose, the body’s main source of energy, and calcium, a mineral important for nerve, muscle, and heart function.
The test includes four components that assess kidney function. These include Blood Urea Nitrogen (BUN) and creatinine, which are waste products filtered by the kidneys. Results for these two help determine the kidneys’ filtration efficiency.
The CMP contains six tests that evaluate liver function, including total protein and albumin. It also measures bilirubin, a waste product of red blood cell breakdown, and four specific liver enzymes:
- Alkaline phosphatase (ALP)
- Alanine aminotransferase (ALT)
- Aspartate aminotransferase (AST)
The final group of tests measures four electrolytes: sodium, potassium, chloride, and carbon dioxide (bicarbonate). These electrically charged minerals help maintain fluid balance and acidity in the body. Magnesium is not part of this fixed, standard routine screen.
Magnesium Testing: When and Why It Is Ordered Separately
Magnesium is the second most abundant positively charged ion inside the body’s cells. Its blood concentration is not part of the standard CMP because a deficiency is less common in generally healthy people. Magnesium is a cofactor for over 300 enzyme systems, required for numerous reactions related to nerve and muscle function, protein synthesis, and heart rhythm regulation. Its levels must be checked when specific clinical conditions suggest an imbalance.
Testing is frequently ordered for individuals with conditions that interfere with magnesium absorption or increase its loss. Patients experiencing prolonged gastrointestinal issues, such as chronic diarrhea or vomiting, may have impaired absorption that requires monitoring. Those with chronic alcoholism are also at high risk for low magnesium due to poor nutrition and increased urinary excretion.
Magnesium testing is particularly important for people with kidney disease, as the kidneys are responsible for regulating the body’s magnesium balance. Uncontrolled diabetes and certain medications, including some diuretics and chemotherapy agents, can lead to excessive magnesium loss through the urine. If a patient presents with unexplained low levels of potassium or calcium, magnesium testing is often triggered, as imbalance can disrupt the homeostasis of these other two electrolytes.
Interpreting Magnesium Levels
When a separate magnesium test is ordered, results are interpreted based on a normal reference range, generally 1.5 to 2.5 milliequivalents per liter (mEq/L). Levels below this range indicate hypomagnesemia, while levels above it indicate hypermagnesemia. Specific ranges may vary slightly between laboratories.
Hypomagnesemia (low magnesium) is more common and causes symptoms primarily affecting the neuromuscular and cardiovascular systems. Common signs include muscle cramps, tremors, and generalized weakness. Because magnesium is involved in electrical conduction in the heart, low levels can also lead to cardiac rhythm disturbances.
Hypermagnesemia (high magnesium) is less frequent and often occurs in people with kidney failure who take magnesium-containing laxatives or antacids. Mild elevation can cause symptoms like nausea, weakness, and decreased deep tendon reflexes. As levels rise, the physiological effects become more pronounced, potentially leading to significant drops in blood pressure and a slowing of the heart rate.

