Chronic Insomnia ICD-10-CM Codes

Read and discover the essential ICD-10-CM codes for chronic insomnia you can use!

By Audrey Liz Perez on May 28, 2025.

Fact Checked by Gale Alagos.

Use Code
Chronic Insomnia ICD-10-CM Codes

What ICD-10 codes are used for chronic insomnia?

Chronic insomnia is a persistent sleep disorder characterized by difficulty initiating or maintaining sleep. This leads to daytime impairments such as fatigue, mood disturbances, and decreased cognitive performance. It can be primary or secondary to other conditions like other mental disorders, substance use, or physiological conditions.

Proper coding is essential for accurate diagnosis, treatment planning, and reimbursement. Here are the commonly used ICD-10-CM codes for this condition:

F51.05: Insomnia not due to a substance or known physiological condition, chronic

This code is for chronic insomnia associated with mental disorders not classified elsewhere. This is applicable to:

  • Insomnia due to anxiety disorders
  • Insomnia due to depression

F51.09: Other insomnia not due to a substance or known physiological condition

This code is chronic insomnia not attributed to substances or physiological conditions, which can be applied to:

  • Idiopathic insomnia
  • Primary insomnia

G47.00: Insomnia, unspecified

Used when insomnia is diagnosed, but the underlying cause is not specified. This can be associated with insomnia NOS (not otherwise specified) or sleep deprivation, unspecified.

G47.01 – Insomnia due to medical condition

Insomnia resulting from a medical condition which can be relevant to insomnia due to chronic pain and insomnia due to asthma

G47.02 – Insomnia due to drug or substance

This code is used for drug-related insomnia, including cases caused by medication side effects, stimulant use, or withdrawal. This can be associated with alcohol-related insomnia and drug-induced insomnia.

Are these chronic insomnia ICD codes billable?

Yes. All the chronic insomnia codes mentioned above are billable.

Clinical information

Chronic insomnia affects individuals' ability to fall asleep, stay asleep, or achieve restorative sleep, leading to daytime sleepiness, impaired concentration, and mood disturbances.

Chronic insomnia is classified under nonorganic sleep disorders when it’s not caused by structural or physiological abnormalities but rather by psychological, behavioral, or unknown causes. It can be associated with mental disorders, medical conditions, or substance use.

Diagnosis often involves sleep studies to rule out other sleep disorders, diagnoses as obstructive sleep apnea. Management includes cognitive-behavioral therapy, medications, and addressing underlying conditions.

Synonyms include:

  • Chronic insomnia
  • Primary insomnia
  • Idiopathic insomnia
  • Insomnia due to medical condition
  • Insomnia due to substance use
  • Nonorganic insomnia
  • Sleep disorder
  • Sleep deprivation
  • Sleep apnea
  • Obstructive sleep apnea
  • Circadian rhythm sleep disorder
  • Sleep terrors
  • Night terrors

Frequently asked questions

When to use a chronic insomnia ICD code?

ICD-10 codes for chronic insomnia are used for accurate diagnosis, treatment planning, and billing.

What are the common treatments for chronic insomnia diagnosis codes?

Common treatments include lifestyle changes, cognitive-behavioral therapy, and medication, often tailored to the individual patient's needs.

What does a diagnosis code for chronic insomnia mean?

It is a standardized code that categorizes the specific type of insomnia a patient has, important for medical billing, research, and patient care.

EHR and practice management software

Get started for free

*No credit card required

Free
$0/usd
Unlimited clients
Telehealth
1GB of storage
Client portal text
Automated billing and online payments
Up symbol