Insomnia ICD-10 Coding: G47.0- vs F51.0- and How to Choose Between Them

By AllCare MBS Team · · Medical Coding
Insomnia ICD-10 Coding: G47.0- vs F51.0- and How to Choose Between Them
Quick answer: Insomnia is coded in two families. G47.0- covers insomnia due to a medical condition or other causes, and F51.0- covers insomnia not due to a substance or known physiological condition.

Two code families

  • G47.00: insomnia, unspecified
  • G47.01: insomnia due to a medical condition, with the underlying condition coded first
  • G47.09: other insomnia
  • F51.01: primary insomnia
  • F51.02: adjustment insomnia
  • F51.05: insomnia due to another mental disorder
  • F51.09: other insomnia not due to a substance or known physiological condition

Choosing the family

The tabular list includes Excludes notes that separate the groups: insomnia not due to a substance or known physiological condition belongs in F51.0-, and insomnia that accompanies sleep apnea is coded under G47.3-. Read the notes before assigning a code.

Documentation

Have the provider document the type of insomnia, its cause if known, its duration, and what treatment was provided. The cause is what decides between the families.

Tips

Avoid the unspecified code when the record supports a cause. Code any contributing mental or medical condition separately, and confirm against the current code set each October.

Frequently asked questions

Is F51.01 the same as G47.00?

No. F51.01 is primary insomnia, while G47.00 is insomnia unspecified.

How do I code insomnia caused by a medical condition?

Use G47.01 and code the underlying condition first.

What about insomnia with sleep apnea?

Insomnia with sleep apnea is coded under G47.3-.

This article is general information, not legal or coding advice. Payer rules change, so confirm requirements with the payer or the official source.

Need help with billing and revenue cycle?

AllCare MBS handles billing, coding, credentialing and denial management so you get paid faster.

Scroll to Top