Hypomagnesemia ICD-10 Coding Guide

Also known as

  • Magnesium deficiency
  • Low serum magnesium

Abbreviations

  • Low Mg

The ICD-10-CM code for hypomagnesemia is E83.42 (Hypomagnesemia), a billable code reported when a patient has abnormally low serum magnesium levels documented as the specific disorder of magnesium metabolism.

Primary codes

Billable

Billable

Extension

7th character

POA exempt

No

Coding risks

  • Coding based on lab values alone without provider interpretation

Code comparison

Compare key differences between related codes to select the most specific option.

CodeDescriptionScenario
E83.42HypomagnesemiaPatient with documented low serum magnesium, confirming hypomagnesemia rather than an elevated or unspecified magnesium disorder.
E83.41HypermagnesemiaPatient with documented elevated serum magnesium, distinguishing from deficiency or unspecified magnesium disorders.
E83.49Other disorders of magnesium metabolismDocumented magnesium metabolism disorder that is specified but not simple hypomagnesemia or hypermagnesemia.
E83.40Disorders of magnesium metabolism, unspecifiedMagnesium metabolism disorder documented without specifying hypomagnesemia, hypermagnesemia, or another defined type.

Select the most specific code supported by the encounter documentation. More specific codes improve reimbursement accuracy and reduce audit risk.

Code ranges

Coding risks

Avoid these common coding issues when reporting Hypomagnesemia.

Impact

Assigning E83.42 without explicit low magnesium may miscode as hypermagnesemia (E83.41) or unspecified (E83.40).

Mitigation

Consider querying the provider when magnesium direction is absent rather than inferring from replacement orders alone.

Ancillary and co-coding

Codes commonly reported with the primary diagnosis on the same claim.

Differential codes

Alternative or commonly confused codes to consider when documentation suggests a different condition than the primary diagnosis.

Frequently asked questions

Use E83.40 only when documentation does not specify hypo- or hypermagnesemia. If hypomagnesemia is stated, E83.42 is required.

References

Compiled from the following authoritative coding references. Last updated 2026-08-04.

Disclaimer

This page is compiled from authoritative coding references for educational and reference purposes only. It is not medical advice, billing authority, or an official source of ICD-10-CM guidelines. Always verify codes against the current CMS ICD-10-CM Official Guidelines, AHIMA guidance, and your organization’s coding policies. ICD-10-CM is updated annually on October 1.