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).

insomniasleeplessnesstrouble sleepingprimary insomnia

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.

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.01

Primary insomnia

Billable
F51.02

Adjustment insomnia

Billable
F51.03

Paradoxical insomnia

Billable
F51.04

Psychophysiologic insomnia

Billable
F51.05

Insomnia due to other mental disorder

Billable
F51.09

Oth insomnia not due to a substance or known physiol cond

Billable
F51.11

Primary hypersomnia

Billable
F51.12

Insufficient sleep syndrome

Billable
F51.13

Hypersomnia due to other mental disorder

Billable
F51.19

Oth hypersomnia not due to a substance or known physiol cond

Billable
F51.3

Sleepwalking [somnambulism]

Billable
F51.4

Sleep terrors [night terrors]

Billable
F51.5

Nightmare disorder

Billable
F51.8

Oth sleep disord not due to a sub or known physiol cond

Billable
F51.9

Sleep disorder not due to a sub or known physiol cond, unsp

Billable
G47.00

Insomnia, unspecified

Billable
G47.01

Insomnia due to medical condition

Billable
G47.09

Other insomnia

Billable
G47.10

Hypersomnia, unspecified

Billable
G47.11

Idiopathic hypersomnia with long sleep time

Billable
G47.12

Idiopathic hypersomnia without long sleep time

Billable
G47.13

Recurrent hypersomnia

Billable
G47.14

Hypersomnia due to medical condition

Billable
G47.19

Other hypersomnia

Billable
G47.20

Circadian rhythm sleep disorder, unspecified type

Billable
G47.21

Circadian rhythm sleep disorder, delayed sleep phase type

Billable
G47.22

Circadian rhythm sleep disorder, advanced sleep phase type

Billable
G47.23

Circadian rhythm sleep disorder, irregular sleep wake type

Billable
G47.24

Circadian rhythm sleep disorder, free running type

Billable
G47.25

Circadian rhythm sleep disorder, jet lag type

Billable
G47.26

Circadian rhythm sleep disorder, shift work type

Billable
G47.27

Circadian rhythm sleep disorder in conditions classd elswhr

Billable
G47.29

Other circadian rhythm sleep disorder

Billable
G47.30

Sleep apnea, unspecified

Billable
G47.31

Primary central sleep apnea

Billable
G47.32

High altitude periodic breathing

Billable
G47.33

Obstructive sleep apnea (adult) (pediatric)

Billable
G47.34

Idio sleep related nonobstructive alveolar hypoventilation

Billable
G47.35

Congenital central alveolar hypoventilation syndrome

Billable
G47.36

Sleep related hypoventilation in conditions classd elswhr

Billable
G47.37

Central sleep apnea in conditions classified elsewhere

Billable
G47.39

Other sleep apnea

Billable
G47.411

Narcolepsy with cataplexy

Billable
G47.419

Narcolepsy without cataplexy

Billable
G47.421

Narcolepsy in conditions classified elsewhere with cataplexy

Billable
G47.429

Narcolepsy in conditions classified elsewhere w/o cataplexy

Billable
G47.50

Parasomnia, unspecified

Billable
G47.51

Confusional arousals

Billable
G47.52

REM sleep behavior disorder

Billable
G47.53

Recurrent isolated sleep paralysis

Billable

...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 directory

UMLS Metathesaurus

25+ CUIs indexed. Sample: C2874960, C2874961, C0033139, C1561842, ....

Browse UMLS directory

ICD-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 converter

RxNorm and ICF

RxNorm covers medications used to treat insomnia; ICF Core Sets describe how the condition affects functioning, activities, and participation.

Frequently 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.