ICD-10 Code for Insomnia
Also indexed as (organic)
The ICD-10-CM code for insomnia is G47.00 — Insomnia, unspecified. This is the code the Alphabetic Index gives for insomnia with no further qualifier, valid for FY2027 (October 1, 2026 – September 30, 2027).
G47.00 is billable but unspecified. If the documentation names a type, site or cause, one of the more specific codes below is likely expected.
Which insomnia code should you use?
The Alphabetic Index lists 33 codes under Insomnia. Which one applies depends on the qualifier documented in the record — the type, site, cause, or associated condition. Find the qualifier below, then verify the code in the Tabular List before using it.
By type
| adjustment | F51.02 | Adjustment insomnia | |
| adjustment disorder | F51.02 | Adjustment insomnia | |
| behavioral, of childhood | Z73.819 | Behavioral insomnia of childhood, unspecified type | |
| childhood | Z73.819 | Behavioral insomnia of childhood, unspecified type | |
| chronic | F51.04 | Psychophysiologic insomnia | |
| conditioned | F51.04 | Psychophysiologic insomnia | |
| fatal familial | A81.83 | Fatal familial insomnia | |
| idiopathic | F51.01 | Primary insomnia | |
| learned | F51.3 | Sleepwalking [somnambulism] | |
| nonorganic origin | F51.01 | Primary insomnia | |
| not due to a substance or known physiological condition | F51.01 | Primary insomnia | |
| paradoxical | F51.03 | Paradoxical insomnia | |
| primary | F51.01 | Primary insomnia | |
| psychiatric | F51.05 | Insomnia due to other mental disorder | |
| psychophysiologic | F51.04 | Psychophysiologic insomnia | |
| related to psychopathology | F51.05 | Insomnia due to other mental disorder | |
| short-term | F51.02 | Adjustment insomnia | |
| specified NEC | G47.09 | Other insomnia | |
| stress-related | F51.02 | Adjustment insomnia | |
| transient | F51.02 | Adjustment insomnia | |
| without objective findings | F51.02 | Adjustment insomnia |
Insomnia behavioral, of childhood
Insomnia chronic
| somatized tension | F51.04 | Psychophysiologic insomnia |
Insomnia due to
| anxiety disorder | F51.05 | Insomnia due to other mental disorder | |
| depression | F51.05 | Insomnia due to other mental disorder | |
| medical condition | G47.01 | Insomnia due to medical condition | |
| mental disorder NEC | F51.05 | Insomnia due to other mental disorder | |
| alcohol › abuse | F10.182 | Alcohol abuse with alcohol-induced sleep disorder | |
| alcohol › dependence | F10.282 | Alcohol dependence with alcohol-induced sleep disorder | |
| alcohol › use | F10.982 | Alcohol use, unspecified with alcohol-induced sleep disorder | |
| amphetamines › abuse | F15.182 | Other stimulant abuse with stimulant-induced sleep disorder | |
| amphetamines › dependence | F15.282 | Other stimulant dependence with stimulant-induced sleep disorder | |
| amphetamines › use | F15.982 | Other stimulant use, unspecified with stimulant-induced sleep disorder | |
| caffeine › abuse | F15.182 | Other stimulant abuse with stimulant-induced sleep disorder | |
| caffeine › dependence | F15.282 | Other stimulant dependence with stimulant-induced sleep disorder | |
| caffeine › use | F15.982 | Other stimulant use, unspecified with stimulant-induced sleep disorder | |
| cocaine › abuse | F14.182 | Cocaine abuse with cocaine-induced sleep disorder | |
| cocaine › dependence | F14.282 | Cocaine dependence with cocaine-induced sleep disorder | |
| cocaine › use | F14.982 | Cocaine use, unspecified with cocaine-induced sleep disorder | |
| drug NEC › abuse | F19.182 | Other psychoactive substance abuse with psychoactive substance-induced sleep disorder | |
| drug NEC › dependence | F19.282 | Other psychoactive substance dependence with psychoactive substance-induced sleep disorder | |
| drug NEC › use | F19.982 | Other psychoactive substance use, unspecified with psychoactive substance-induced sleep disorder | |
| opioid › abuse | F11.182 | Opioid abuse with opioid-induced sleep disorder | |
| opioid › dependence | F11.282 | Opioid dependence with opioid-induced sleep disorder | |
| opioid › use | F11.982 | Opioid use, unspecified with opioid-induced sleep disorder | |
| psychoactive substance NEC › abuse | F19.182 | Other psychoactive substance abuse with psychoactive substance-induced sleep disorder | |
| psychoactive substance NEC › dependence | F19.282 | Other psychoactive substance dependence with psychoactive substance-induced sleep disorder | |
| psychoactive substance NEC › use | F19.982 | Other psychoactive substance use, unspecified with psychoactive substance-induced sleep disorder | |
| sedative, hypnotic, or anxiolytic › abuse | F13.182 | Sedative, hypnotic or anxiolytic abuse with sedative, hypnotic or anxiolytic-induced sleep disorder | |
| sedative, hypnotic, or anxiolytic › dependence | F13.282 | Sedative, hypnotic or anxiolytic dependence with sedative, hypnotic or anxiolytic-induced sleep disorder | |
| sedative, hypnotic, or anxiolytic › use | F13.982 | Sedative, hypnotic or anxiolytic use, unspecified with sedative, hypnotic or anxiolytic-induced sleep disorder | |
| stimulant NEC › abuse | F15.182 | Other stimulant abuse with stimulant-induced sleep disorder | |
| stimulant NEC › dependence | F15.282 | Other stimulant dependence with stimulant-induced sleep disorder | |
| stimulant NEC › use | F15.982 | Other stimulant use, unspecified with stimulant-induced sleep disorder |
Insomnia not due to a substance or known physiological condition
| specified NEC | F51.09 | Other insomnia not due to a substance or known physiological condition |
Index terms and codes are reproduced from the official ICD-10-CM FY2027 release. The Alphabetic Index is a finding aid — a code must always be verified in the Tabular List before it is reported. Data sources