Home β€Ί Insomnia β€Ί Insomnia Codes in ICD-10
Insomnia

Insomnia Codes in ICD-10: What G47.00 and F51.01 Mean

Doctors record insomnia with two main ICD-10-CM code families: G47.0 codes for insomnia tied to medical or body-based causes, and F51.0 codes for insomnia driven by psychological or behavioral factors. The split determines how a diagnosis reads in your chart and in billing.

Key takeaways

  • G47.00 is insomnia, unspecified: the default code when documentation names insomnia without a cause, while G47.01 marks insomnia due to a medical condition and G47.09 covers other organic patterns.
  • The F51 family handles insomnia not due to a substance or a known physiological condition: F51.01 primary insomnia, F51.02 adjustment insomnia, and F51.04 psychophysiologic insomnia are the common picks.
  • F51.05 assigns insomnia to another mental disorder, such as depression or anxiety, which signals that treating the underlying condition is the clinical priority.
  • Substance-induced sleep disorders, from alcohol or sedatives for example, get their own F10-F19 codes rather than G47 or F51 insomnia codes.
  • Codes follow the provider's documentation, not the patient's self-report; asking which code appears in your record can clarify how your clinician classifies the sleep problem.
G47.0 family (nervous system)F51.0 family (mental and behavioral)
Typical codesG47.00 unspecified; G47.01 due to medical condition; G47.09 otherF51.01 primary; F51.02 adjustment; F51.04 psychophysiologic; F51.05 due to other mental disorder
When coders pick itInsomnia tied to a body-based or medical cause, or nothing specific documentedInsomnia not due to a substance or a known physiological condition
What it signals in the chartLook for an underlying medical workupLook for the behavioral or psychiatric framing of the sleep problem
Common pitfallG47.00 used when documentation supports a more specific codeF51.01 used when the insomnia is actually tied to anxiety or depression
The two insomnia code families in ICD-10-CMCode structure: CDC/NCHS ICD-10-CM tabular (G47.0- and F51.0- families).

What This Guide Covers

Doctors record insomnia with two main ICD-10-CM code families: G47.0 codes for insomnia tied to medical or body-based causes, and F51.0 codes for insomnia driven by psychological or behavioral factors. The split determines how a diagnosis reads in your chart and in billing. This guide walks you through what matters most, why it happens, and the practical steps with the best support behind them.

First, the foundation: g47.00 is insomnia, unspecified: the default code when documentation names insomnia without a cause, while G47.01 marks insomnia due to a medical condition and G47.09 covers other organic patterns.

Next, the details: the F51 family handles insomnia not due to a substance or a known physiological condition: F51.01 primary insomnia, F51.02 adjustment insomnia, and F51.04 psychophysiologic insomnia are the common picks.

Then, the practical side: f51.05 assigns insomnia to another mental disorder, such as depression or anxiety, which signals that treating the underlying condition is the clinical priority.

Another angle worth knowing: substance-induced sleep disorders, from alcohol or sedatives for example, get their own F10-F19 codes rather than G47 or F51 insomnia codes.

Finally, the big picture: codes follow the provider's documentation, not the patient's self-report; asking which code appears in your record can clarify how your clinician classifies the sleep problem.

Frequently Asked Questions

What exactly is insomnia codes in icd-10?

Doctors record insomnia with two main ICD-10-CM code families: G47.0 codes for insomnia tied to medical or body-based causes, and F51.0 codes for insomnia driven by psychological or behavioral factors. The split determines how a diagnosis reads in your chart and in billing.

How long until I see improvement?

Most of the strategies in this guide start showing effect within one to two weeks of consistent practice. Supplement- and device-based approaches vary more, so track your nights in a simple sleep diary and judge by weekly trends rather than single nights.

When should I see a doctor?

If the problem lasts more than a few weeks, disrupts your daytime functioning, or comes with warning signs such as breathing pauses, gasping during sleep, chest discomfort, or severe daytime sleepiness, it is time to consult a qualified healthcare professional rather than self-treating.

🎯 Next steps

Start by applying one or two changes from the takeaways above, keep a simple sleep diary for two weeks, and watch for patterns. If the problem persists beyond a few weeks β€” or you notice red flags like breathing pauses, gasping, or severe daytime sleepiness β€” bring your notes to a healthcare professional.

References

  1. Centers for Disease Control and Prevention. ICD-10-CM. National Center for Health Statistics.
  2. MedlinePlus (U.S. National Library of Medicine). Insomnia.
⚠️ Disclaimer: This article is for general educational purposes and does not constitute medical advice. Consult a qualified healthcare professional before making changes to your sleep routine, supplements, or medications.
EH
Written by Emily Hartwell Β· Sleep Science Writer

Emily has spent eight years writing about sleep science and behavioral health. More from Emily β†’