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 codes | G47.00 unspecified; G47.01 due to medical condition; G47.09 other | F51.01 primary; F51.02 adjustment; F51.04 psychophysiologic; F51.05 due to other mental disorder |
| When coders pick it | Insomnia tied to a body-based or medical cause, or nothing specific documented | Insomnia not due to a substance or a known physiological condition |
| What it signals in the chart | Look for an underlying medical workup | Look for the behavioral or psychiatric framing of the sleep problem |
| Common pitfall | G47.00 used when documentation supports a more specific code | F51.01 used when the insomnia is actually tied to anxiety or depression |
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.
References
- Centers for Disease Control and Prevention. ICD-10-CM. National Center for Health Statistics.
- MedlinePlus (U.S. National Library of Medicine). Insomnia.