ICD-10 codes for Insomnia
Insomnia is coded primarily under G47.0, G47.00, F51.0 in the ICD-10-CM (Clinical Modification) classification. Top-level categories include F51 (Sleep disorders not due to a substance or known physiol cond); G47 (Sleep disorders). The 2025 ICD-10-CM code set includes 71 codes related to insomnia, of which 58 are billable (specific enough to appear on a medical claim).
Insomnia is coded under G47.0 (insomnia, including sleep onset and maintenance disorders) and F51.0 (insomnia not due to a substance or known physiological condition). G47.00 is unspecified insomnia and is the most commonly billed code; F51.01 is primary insomnia.
Total Codes
71
Billable Codes
58
Categories
2
SNOMED CT Concepts
25+
Top 12 Relevant ICD-10 Codes
The codes most commonly assigned to insomnia, ranked by primary-match status, billable status, and specificity. Tap a code to see its full ICD-10 detail page.
F51.01Primary insomnia
F51.02Adjustment insomnia
G47.00Insomnia, unspecified
F51.0Insomnia not due to a substance or known physiol condition
G47.0Insomnia
F51.3Sleepwalking [somnambulism]
F51.4Sleep terrors [night terrors]
F51.5Nightmare disorder
F51.8Oth sleep disord not due to a sub or known physiol cond
F51.9Sleep disorder not due to a sub or known physiol cond, unsp
G47.8Other sleep disorders
G47.9Sleep disorder, unspecified
Primary Code Categories
These are the top-level ICD-10-CM categories for insomnia. Click any code to see all specific subcodes within that group.
Billable / Specific Codes (58)
Specific ICD-10-CM codes that can be reported on medical claims for insomnia.
F51.01Primary insomnia
F51.02Adjustment insomnia
F51.03Paradoxical insomnia
F51.04Psychophysiologic insomnia
F51.05Insomnia due to other mental disorder
F51.09Oth insomnia not due to a substance or known physiol cond
F51.11Primary hypersomnia
F51.12Insufficient sleep syndrome
F51.13Hypersomnia due to other mental disorder
F51.19Oth hypersomnia not due to a substance or known physiol cond
F51.3Sleepwalking [somnambulism]
F51.4Sleep terrors [night terrors]
F51.5Nightmare disorder
F51.8Oth sleep disord not due to a sub or known physiol cond
F51.9Sleep disorder not due to a sub or known physiol cond, unsp
G47.00Insomnia, unspecified
G47.01Insomnia due to medical condition
G47.09Other insomnia
G47.10Hypersomnia, unspecified
G47.11Idiopathic hypersomnia with long sleep time
G47.12Idiopathic hypersomnia without long sleep time
G47.13Recurrent hypersomnia
G47.14Hypersomnia due to medical condition
G47.19Other hypersomnia
G47.20Circadian rhythm sleep disorder, unspecified type
G47.21Circadian rhythm sleep disorder, delayed sleep phase type
G47.22Circadian rhythm sleep disorder, advanced sleep phase type
G47.23Circadian rhythm sleep disorder, irregular sleep wake type
G47.24Circadian rhythm sleep disorder, free running type
G47.25Circadian rhythm sleep disorder, jet lag type
G47.26Circadian rhythm sleep disorder, shift work type
G47.27Circadian rhythm sleep disorder in conditions classd elswhr
G47.29Other circadian rhythm sleep disorder
G47.30Sleep apnea, unspecified
G47.31Primary central sleep apnea
G47.32High altitude periodic breathing
G47.33Obstructive sleep apnea (adult) (pediatric)
G47.34Idio sleep related nonobstructive alveolar hypoventilation
G47.35Congenital central alveolar hypoventilation syndrome
G47.36Sleep related hypoventilation in conditions classd elswhr
G47.37Central sleep apnea in conditions classified elsewhere
G47.39Other sleep apnea
G47.411Narcolepsy with cataplexy
G47.419Narcolepsy without cataplexy
G47.421Narcolepsy in conditions classified elsewhere with cataplexy
G47.429Narcolepsy in conditions classified elsewhere w/o cataplexy
G47.50Parasomnia, unspecified
G47.51Confusional arousals
G47.52REM sleep behavior disorder
G47.53Recurrent isolated sleep paralysis
...and 8 more specific codes. Search all codes.
Cross-Mappings to Other Standards
ICD-10-CM codes for insomnia link to several adjacent terminologies. These mappings are precomputed from official sources (NLM RxNav, UMLS Metathesaurus, SNOMED CT International) and served via AutoICD's reference and translate APIs.
SNOMED CT
25+ concepts mapped from this code group. Concept IDs include 192454004, 230488004, 270487001, 3972004, ....
Browse SNOMED CT directoryUMLS Metathesaurus
25+ CUIs indexed. Sample: C2874960, C2874961, C0033139, C1561842, ....
Browse UMLS directoryICD-11
ICD-11 (WHO 2022) classifies many of these conditions under different chapter and stem-code structures. Use the converter to see specific ICD-10 to ICD-11 mappings.
Open ICD-10 to ICD-11 converterFrequently Asked Questions
What is the ICD-10 code for insomnia?
The primary ICD-10-CM codes for insomnia are G47.0, G47.00, F51.0. Across all sub-categories, 71 codes are grouped under insomnia, with 58 marked as billable (specific enough for a medical claim).
How many ICD-10 codes are there for insomnia?
There are 71 ICD-10-CM codes related to insomnia. Of these, 58 are billable specific codes and 13 are non-billable header categories that organize the specific codes underneath them. Header codes cannot be reported on a claim by themselves.
Is there a billable ICD-10 code for insomnia?
Yes. 58 of the 71 ICD-10-CM codes for insomnia are billable. Common examples include F51.01 (Primary insomnia); F51.02 (Adjustment insomnia); F51.03 (Paradoxical insomnia). Code to the highest level of specificity supported by the documentation.
Which insomnia ICD-10 code should I use for billing?
The most commonly used billable codes for insomnia include: F51.01 (Primary insomnia); F51.02 (Adjustment insomnia); F51.03 (Paradoxical insomnia). The correct code depends on the documented clinical presentation, including any complications, episode (acute / chronic), and laterality where applicable. Always code to the highest level of specificity supported by the clinical documentation.
Is G47.0 a billable ICD-10 code?
No, G47.0 (Insomnia) is a non-billable header code. You need to use a more specific child code for billing purposes.
What are the SNOMED CT concepts for insomnia?
The ICD-10 codes for insomnia map to at least 25 SNOMED CT concepts. Examples of SNOMED CT concept IDs in this group include 192454004, 230488004, 270487001, 3972004, 268652009. SNOMED CT is a clinical terminology used in electronic health records; AutoICD's coding API returns SNOMED CT IDs alongside each ICD-10 code via the include_snomed=true flag.
What UMLS Concept Unique Identifiers (CUIs) cover insomnia?
The ICD-10 codes for insomnia are linked to at least 25 UMLS CUIs in the National Library of Medicine's Metathesaurus. Sample CUIs include C2874960, C2874961, C0033139, C1561842, C1561841. UMLS CUIs unify the same concept across SNOMED CT, ICD-10, ICD-11, RxNorm, MeSH, and dozens of other source vocabularies.
What are other names for insomnia in ICD-10?
Insomnia may also be referred to as: insomnia, sleeplessness, trouble sleeping, primary insomnia. The same ICD-10-CM codes apply regardless of which term appears in the clinical documentation. Synonyms are surfaced by AutoICD's NER pass and mapped to the canonical ICD-10 family above.
Continue Browsing
Automate ICD-10 Coding With AI
Send clinical text to the AutoICD API and get back structured ICD-10 codes with confidence scores. Integrates into any EHR or billing system in minutes.