ICD-10-CM 2027
ICD-10 code for neonatal hypomagnesemia
From the official ICD-10-CM alphabetic index entry “Hypomagnesemia › neonatal”. Page updated September 29, 2026.
About coding neonatal hypomagnesemia
The ICD-10-CM code for neonatal hypomagnesemia is P71.2 (Neonatal hypomagnesemia).
Within P71 (transitory neonatal disorders of calcium and magnesium metabolism), P71.2 is specifically for neonatal hypomagnesemia. Related codes cover Cow's milk hypocalcemia in newborn (P71.0), other neonatal hypocalcemia (P71.1), neonatal tetany without calcium or magnesium deficiency (P71.3), transitory neonatal hypoparathyroidism (P71.4), other transitory neonatal disorders of calcium and magnesium metabolism (P71.8) and transitory neonatal disorder of calcium and magnesium metabolism, unspecified (P71.9).
As a secondary diagnosis it is a CC (complication or comorbidity), which can move an inpatient stay into the "with CC" MS-DRG of its family, unless the principal diagnosis excludes it.
In MS-DRG v44.0, it is part of the grouping logic for DRG 791 (Prematurity with Major Problems, relative weight 4.1075) and DRG 793 (Full Term Neonate with Major Problems, relative weight 4.2195), in MDC 15 (Newborns and Other Neonates with Conditions Originating in the Perinatal Period), as a principal or secondary diagnosis. The DRG a claim lands in depends on the principal diagnosis, procedures and any CC/MCC secondary diagnoses.
Common questions about neonatal hypomagnesemia ICD-10 codes
What is the ICD-10 code for neonatal hypomagnesemia?
- P71.2 — Neonatal hypomagnesemia.
Is P71.2 billable?
- Yes. P71.2 is a billable/specific ICD-10-CM code valid for FY2027 (October 1, 2026 – September 30, 2027).
Can P71.2 be used as a principal diagnosis?
- Yes. The Medicare Code Editor doesn't restrict P71.2 as a principal diagnosis.
Is P71.2 a CC or MCC?
- P71.2 is a CC (complication or comorbidity) under MS-DRG v44.0, unless excluded by the principal diagnosis.