201-850-2800

Insomnia ICD-10 Code: Complete Coding Guide 2026

Insomnia ICD-10 Code

Have you ever seen “insomnia” documented in a patient’s chart and wondered which ICD-10-CM code to report? The answer is not always the same. The correct code depends on whether the provider documents unspecified insomnia, primary insomnia, insomnia related to a medical condition, or another specific type.

So, what is the ICD-10 code for insomnia? For unspecified insomnia, the code is G47.00. Other diagnoses use different codes, including G47.01 for insomnia due to a medical condition and F51.01 for primary insomnia.

Choosing the right code is important for accurate claims, medical necessity, and reimbursement. Coding a more specific diagnosis without supporting documentation can create compliance problems, while using an unspecified code when a specific diagnosis is documented can result in less accurate claims.

This guide covers the 2026 insomnia ICD-10-CM codes, explains the difference between G47 and F51 codes, and provides practical coding tips for medical coders and billers.

What Is the ICD-10 Code for Insomnia?

There is no single ICD-10-CM code for every insomnia diagnosis. The appropriate code depends on the provider’s documented diagnosis.

Insomnia DiagnosisICD-10-CM Code
Insomnia, unspecifiedG47.00
Insomnia due to medical conditionG47.01
Other insomniaG47.09
Primary insomniaF51.01
Adjustment insomniaF51.02
Paradoxical insomniaF51.03
Psychophysiologic insomniaF51.04
Insomnia due to other mental disorderF51.05
Other insomnia not due to a substance or known physiological conditionF51.09

The most important rule is simple: code the diagnosis supported by the provider’s documentation. Do not select a specific insomnia diagnosis based only on symptoms.

For practices that specialize in sleep-related conditions, accurate diagnosis and claim submission are particularly important. Medical practices can also review specialized sleep medicine billing services for support with billing and revenue cycle requirements.

Common Insomnia ICD-10 Codes Explained

G47.00: Insomnia, Unspecified

G47.00 represents insomnia, unspecified. This code is appropriate when the provider documents insomnia but does not identify a more specific type or cause that supports another diagnosis.

For example, a provider may document:

Assessment: Insomnia, unspecified.

In this situation, G47.00 may be appropriate if the rest of the documentation does not support a more specific insomnia diagnosis.

G47.01: Insomnia Due to Medical Condition

G47.01 represents insomnia due to medical condition. This code applies when the provider establishes that the patient’s insomnia is related to an underlying medical condition. The associated medical condition should also be reviewed because ICD-10-CM instructions may require additional coding.

Do not assume causation. If a patient has insomnia and another medical condition, that does not automatically mean the insomnia is due to that condition. The provider should document the relationship.

G47.09: Other Insomnia

G47.09 represents other insomnia. This code may apply when the provider documents a type of insomnia that does not fall under unspecified insomnia or insomnia due to a medical condition.

The documentation should support the diagnosis before this code is assigned.

F51.01: Primary Insomnia

F51.01 represents primary insomnia. This is an important distinction for coders. Primary insomnia should not automatically be reported as G47.00 simply because the patient has difficulty sleeping.

When the provider specifically documents primary insomnia, review F51.01 and the applicable ICD-10-CM instructions.

F51.02: Adjustment Insomnia

F51.02 represents adjustment insomnia. It may be appropriate when the provider documents insomnia associated with an adjustment-related situation.

A patient experiencing temporary sleep problems after a stressful event does not automatically qualify for this diagnosis. The provider’s diagnostic documentation must support it.

F51.03: Paradoxical Insomnia

F51.03 represents paradoxical insomnia. This is a specific diagnosis and should only be assigned when the provider documents the condition.

It should not be used simply because a patient reports unusual sleep experiences.

F51.04: Psychophysiologic Insomnia

F51.04 represents psychophysiologic insomnia. This code should be supported by the provider’s documented diagnosis. Coders should not independently determine that a patient’s sleep problem is psychophysiologic based only on symptoms.

When insomnia is managed in a behavioral health setting, practices may also benefit from reviewing behavioral and mental health billing services to understand the billing considerations associated with behavioral health services.

F51.05: Insomnia Due to Other Mental Disorder

F51.05 represents insomnia due to other mental disorder. When this diagnosis is documented, review the record for the associated mental disorder and any applicable ICD-10-CM coding instructions.

The presence of a mental health diagnosis alone does not establish that the patient’s insomnia is caused by that condition.

For practices providing psychological services, psychology billing services can also be relevant when diagnosis coding needs to align with behavioral health claims.

F51.09: Other Insomnia

F51.09 represents other insomnia not due to a substance or known physiological condition. It can be used when the provider documents an insomnia diagnosis that fits this category but does not meet the criteria for another specific F51 code.

G47 vs. F51: Which Insomnia Code Should You Use?

One of the most common sources of confusion is deciding between the G47 and F51 categories. Both categories contain insomnia diagnoses, but they are not interchangeable.

G47 Insomnia Codes

The G47 category includes codes such as:

  • G47.00, Insomnia, unspecified
  • G47.01, Insomnia due to medical condition
  • G47.09, Other insomnia

F51 Insomnia Codes

The F51 category includes more specific diagnoses such as:

  • F51.01, Primary insomnia
  • F51.02, Adjustment insomnia
  • F51.03, Paradoxical insomnia
  • F51.04, Psychophysiologic insomnia
  • F51.05, Insomnia due to other mental disorder
  • F51.09, Other insomnia

The key is the diagnosis documented by the provider, not simply the patient’s complaint. For example, if the provider documents “insomnia, unspecified,” G47.00 may be appropriate. If the provider documents “primary insomnia,” F51.01 should be reviewed instead.

How Should Insomnia Be Documented for Coding?

Clear provider documentation is essential for accurate insomnia coding. The medical record should contain enough information to support the diagnosis reported on the claim and help the coder select the appropriate ICD-10-CM code.

Document the Specific Insomnia Diagnosis

When supported by the clinical assessment, the provider should document the specific type of insomnia instead of using broad terms such as “sleep problems.” A clear diagnosis gives the coder a reliable basis for selecting the appropriate code.

Document Any Underlying Cause

If the provider determines that insomnia is related to a medical condition or mental disorder, that relationship should be clearly documented in the medical record. Coders should not assume causation based only on the patient’s medical history or problem list.

Include Supporting Clinical Information

The medical record should contain relevant findings, symptoms, assessment details, and treatment information that support the documented diagnosis. Coders use this information to verify that the reported code accurately reflects the provider’s clinical assessment.

Common Insomnia ICD-10 Coding Mistakes

  • Using G47.00 for Every Patient With Insomnia: G47.00 is the code for insomnia, unspecified, not a universal code for every insomnia diagnosis. If the provider documents a specific type, review the corresponding code.
  • Coding a Cause Without Provider Documentation: A patient may have depression, anxiety, chronic pain, or another medical condition at the same time as insomnia. That does not automatically establish that the insomnia is caused by that condition.
  • Turning Symptoms Into a Diagnosis: Difficulty falling asleep or staying asleep describes symptoms. It does not necessarily establish a specific insomnia diagnosis. Coders should not independently diagnose the patient.
  • Ignoring ICD-10-CM Instructions: Code selection should not rely only on the code description. Always review the Alphabetic Index and Tabular List, including applicable Excludes notes, Code Also instructions, and other coding conventions.
  • Using the Wrong Code Set: ICD-10-CM updates take effect on specific dates. For 2026, the applicable code set depends on the date of service. CMS states that the 2026 ICD-10-CM files apply through September 30, 2026, while the 2027 code set takes effect October 1, 2026.

Does Chronic Insomnia Have a Separate ICD-10 Code?

Not automatically. The word “chronic” does not by itself determine which insomnia ICD-10-CM code should be assigned.

For example, documentation may state “chronic insomnia,” but the coder should review the complete assessment to determine whether the provider has documented a specific diagnosis that corresponds to an ICD-10-CM code.

Do not create a more specific diagnosis based only on duration. If the documentation is unclear, follow the organization’s compliant provider-query process.

Insomnia ICD-10 Coding Quick Reference

DocumentationCode
Insomnia, unspecifiedG47.00
Insomnia due to medical conditionG47.01
Other insomniaG47.09
Primary insomniaF51.01
Adjustment insomniaF51.02
Paradoxical insomniaF51.03
Psychophysiologic insomniaF51.04
Insomnia due to other mental disorderF51.05
Other insomnia not due to a substance or known physiological conditionF51.09

Use this table as a quick reference, but verify the complete code and applicable instructions in the current ICD-10-CM code set before submitting a claim.

How Does Insomnia Coding Affect Medical Billing?

Diagnosis coding can affect how a payer evaluates the claim, including whether the reported service is supported by the patient’s documented condition.

An inaccurate or unsupported diagnosis may contribute to:

  • Claim denials
  • Medical necessity questions
  • Documentation requests
  • Incorrect patient responsibility
  • Coding rework
  • Payment delays

For behavioral health and sleep medicine practices, accurate diagnosis coding should align with the provider’s assessment, services performed, documentation, and payer requirements.

Coding and Medical Necessity

The diagnosis code should reflect the clinical reason for the service being provided and support the medical necessity documented in the patient’s record. However, reporting a diagnosis code does not guarantee coverage or reimbursement. Payers may apply specific medical necessity criteria and coverage policies.

Coding and Claim Accuracy

The diagnosis submitted on the claim should be consistent with the provider’s documentation. Accurate communication between providers, coders, and billers helps prevent coding errors, claim denials, and unnecessary payment delays.

Best Practices for Insomnia ICD-10 Coding

  • Start With the Provider’s Diagnosis: Review the assessment and diagnostic statement rather than coding from the patient’s symptoms alone.
  • Choose the Most Specific Supported Code: When the provider documents a specific insomnia diagnosis, review that diagnosis before defaulting to an unspecified code.
  • Verify the Tabular List: Confirm the code description and review applicable instructional notes before finalizing the claim.
  • Review Associated Conditions: When insomnia is documented as being due to another condition, check whether additional coding is required.
  • Check the Date of Service: Make sure the code is valid for the encounter date and that the appropriate ICD-10-CM code set is being used.
  • Query When Documentation Is Unclear: If the record does not provide enough information to select the appropriate diagnosis, use a compliant provider query rather than making an assumption.

Conclusion

The correct insomnia ICD-10 code depends on the diagnosis documented by the provider. G47.00 is used for insomnia, unspecified, while other codes apply to specific diagnoses such as insomnia due to a medical condition, primary insomnia, adjustment insomnia, and psychophysiologic insomnia.

For accurate medical billing, coders should avoid assuming diagnoses from symptoms, verify the current ICD-10-CM code set, review coding instructions, and query the provider when documentation does not support a specific code.

A clear and consistent coding process helps healthcare organizations submit accurate claims, support medical necessity, and reduce avoidable billing problems.

Insomnia ICD-10 FAQs

What is the ICD-10-CM code for insomnia?

There is no single code for every insomnia diagnosis. G47.00 is used for insomnia, unspecified. Other codes apply when the provider documents a specific type or cause, such as G47.01 for insomnia due to a medical condition and F51.01 for primary insomnia.

What is the ICD-10-CM code G47.00?

G47.00 is the ICD-10-CM code for insomnia, unspecified. It may be appropriate when the provider documents insomnia but does not specify a more specific type or underlying cause.

What is the ICD-10-CM code for primary insomnia?

F51.01 is the ICD-10-CM code for primary insomnia. When primary insomnia is specifically documented, coders should review F51.01 rather than automatically assigning the unspecified insomnia code G47.00.

What is the ICD-10-CM code for insomnia due to a medical condition?

G47.01 represents insomnia due to medical condition. The provider should establish the relationship between insomnia and the medical condition. Review the applicable coding instructions to determine whether the associated condition should also be reported.

Is there a separate ICD-10 code for chronic insomnia?

There is not a separate code determined solely by the word “chronic.” The correct code depends on the provider’s documented diagnosis. If the record only states chronic insomnia without enough detail to identify a more specific diagnosis, the documentation should be reviewed before selecting the code.

What is the difference between G47.00 and F51.01?

G47.00 represents insomnia, unspecified, while F51.01 represents primary insomnia. The correct code depends on the diagnosis documented by the provider, so coders should not use F51.01 unless the record supports primary insomnia.

Can a medical coder assign an insomnia diagnosis based on symptoms?

No. Coders should not independently diagnose patients or infer a specific insomnia disorder from symptoms alone. The provider should document the diagnosis, and the coder should assign the ICD-10-CM code that accurately reflects the documented condition.

Table of Contents

Share:

More Posts

Talk to an Billing Expert
Scroll to Top

Earn with Us