2027 ICD-10-CM Diagnosis Code G47.01Insomnia due to medical condition

ICD-10-CM Codes›G00–G99›G40-G47›G47

ICD-10-CM G47.01
CMSSource: CMS FY 2027 ICD-10-CM dataset · Effective Oct 1, 2026 – Sep 30, 2027

G47.01 is a billable ICD-10-CM diagnosis code for insomnia due to medical condition. It is valid on HIPAA claims for fiscal year 2027 (October 1, 2026 through September 30, 2027) and groups to MS-DRG 887. Coders also document this condition as insomnia co-occurrent and due to medical condition. In AHRQ's Clinical Classifications Software (CCSR), this diagnosis falls under Sleep wake disorders.

Code Identity

ICD-10-CM Code
G47.01
Billable Status
Yes — Valid for Submission
Code Describes
Insomnia due to medical condition
Short Description
Insomnia due to medical condition
Same as the full description in the CMS dataset.
Parent Code
Insomnia

Code Classification

ChapterG00–G99Diseases of the nervous system
SectionG40-G47Episodic and paroxysmal disorders
CategoryG47Sleep disorders
This CodeG47.01Insomnia due to medical condition

Approximate SynonymsGuidance

Alternate terms and clinical phrases that map to this code.

  • Insomnia co-occurrent and due to medical condition
  • Insomnia disorder related to known organic factor
  • Insomnia due to periodic limb movement disorder
  • Periodic leg movements of sleep
  • Periodic limb movement disorder
  • Sleep related movement disorder

Instructional NotesGuidance

Instructions from the official ICD-10-CM Tabular List that apply to G47.01: its own notes plus those printed at G47.0, G47, and Chapter 6. A note printed at a category, block or chapter applies to every code under it.

Excludes2

Not included here: the excluded condition is not part of this code, but a patient may have both, so both codes may be reported.

From G47.0 Insomnia applies to 3 codes
From G47 Sleep disorders applies to 43 codes
From Chapter 6 (G00-G99) Diseases of the nervous system applies to 700 codes
  • certain conditions originating in the perinatal period (P04-P96)
  • certain infectious and parasitic diseases (A00-B99)
  • complications of pregnancy, childbirth and the puerperium (O00-O9A)
  • congenital malformations, deformations, and chromosomal abnormalities (Q00-Q99)
  • endocrine, nutritional and metabolic diseases (E00-E88)
  • injury, poisoning and certain other consequences of external causes (S00-T88)
  • neoplasms (C00-D49)
  • symptoms, signs and abnormal clinical and laboratory findings, not elsewhere classified (R00-R94)

Code Also

A second code may be needed to fully describe the condition; the note gives no sequencing direction.

  • associated medical condition

Source: CMS ICD-10-CM Tabular List. How to read instructional notes.

Referenced in Other NotesGuidance

Instructional notes printed at other codes that name G47.01, its category, or a range that includes it.

Excludes1 2

These codes carry an Excludes1 note naming G47.01: they are not reported together with it, unless the two conditions are unrelated.

  • Z72.820 Sleep deprivation
    insomnia (G47.0-) names G47.0-, which includes this code
  • Z72.821 Inadequate sleep hygiene
    insomnia (F51.0-, G47.0-) names G47.0-, which includes this code

Excludes2 4

These codes carry an Excludes2 note naming G47.01: its condition is not part of those codes, and both may be reported when the patient has both.

  • F51 Sleep disorders not due to a substance or known physiological condition
    organic sleep disorders (G47.-) names G47.-, which includes this code
  • F51.0 Insomnia not due to a substance or known physiological condition
    insomnia NOS (G47.0-) names G47.0-, which includes this code
  • F51.0 Insomnia not due to a substance or known physiological condition
    insomnia due to known physiological condition (G47.0-) names G47.0-, which includes this code
  • F51.0 Insomnia not due to a substance or known physiological condition
    organic insomnia (G47.0-) names G47.0-, which includes this code

Index to Diseases and InjuriesGuidance

Alphabetical index entries that point to this code.

Clinical ClassificationClinical

AHRQ’s CCSR groups this code into broader clinical categories.

CCSR NVS016
Sleep wake disorders
Default principal diagnosis: inpatient Yes · outpatient Yes

Clinical InformationClinical

  • Insomnia

    a sleep disorder characterized by difficulty in falling asleep and/or remaining asleep.

Patient EducationClinical

Insomnia

Insomnia is a common sleep disorder. If you have it, you may have trouble falling asleep, staying asleep, or both. As a result, you may get too little sleep or have poor-quality sleep. You may not feel refreshed when you wake up.

The full article covers:

  • What is insomnia?
  • What are the types of insomnia?
  • Who is at risk for insomnia?
  • What are the symptoms of insomnia?
  • What other problems can insomnia cause?
  • How is insomnia diagnosed?
  • What are the treatments for insomnia?

Read the full article at MedlinePlus

Courtesy of MedlinePlus, a service of the U.S. National Library of Medicine.

Convert G47.01 to ICD-9-CMHistory

The closest ICD-9-CM equivalents under the General Equivalence Mappings.

ICD-9-CM
327.00 Organic insomnia NOS
Approximate The match is approximate rather than exact.
ICD-9-CM
327.01 Insomnia in other dis
Approximate The match is approximate rather than exact.

Code HistoryHistory

FY 2016AddedAdded to the ICD-10-CM code setEffective October 1, 2015, the first year of ICD-10-CM.
FY 2017–2026No changes
FY 2027CurrentCurrent code set, no changesEffective October 1, 2026 through September 30, 2027.

Questions About G47.01Overview

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

The ICD-10-CM code for insomnia due to medical condition is G47.01 (sometimes written as G4701). It is billable on HIPAA-covered claims from October 1, 2026 through September 30, 2027.

Is G47.01 (Insomnia) a billable code?

Yes. This is a billable ICD-10-CM code, specific enough to report insomnia due to medical condition on HIPAA-covered claims from October 1, 2026 through September 30, 2027.

What MS-DRG does G47.01 group to?

When insomnia due to medical condition is the principal diagnosis on an inpatient stay, it groups to MS-DRG 887 (other Mental Disorder Diagnoses), which carries a relative weight of 1.1154. Higher weights mean higher Medicare reimbursement.

What is the ICD-9 equivalent of G47.01?

Under the General Equivalence Mappings, insomnia due to medical condition converts to ICD-9-CM 327.00 (organic insomnia NOS) and 327.01 (insomnia in other dis). The mapping is approximate, so confirm the match fits the documentation.