DxMedical Coding HubLearn · Research · Share

ICD-10-CM · 2026

Hierarchy

R40 coding guide: Somnolence, stupor and coma

Quick answer. R40 is the ICD-10-CM Diagnosis Code for "Somnolence, stupor and coma". This category covers states of depressed consciousness, including somnolence (drowsiness), stupor (including catatonic stupor), and coma (NOS and secondary). It also includes detailed Glasgow Coma Scale (GCS) component codes for eye opening, best verbal response, and best motor response. R40 is a non-billable category header; assign the most specific billable subcategory code.

Last updated

The flowchart as text

The same decisions as the diagram above, in order. Each line is a step; the answers say where it leads.

  1. R40: Somnolence, stupor, coma then Level of consciousness?.
  2. Level of consciousness? Somnolence: R40.0 Somnolence; Stupor: R40.1 Stupor; Coma: GCS documented?.
  3. R40.0 Somnolence
  4. R40.1 Stupor
  5. GCS documented? No: R40.20 Unspecified coma; Yes: Code R40.21- Eyes, R40.22- Verbal, R40.23- Motor.
  6. R40.20 Unspecified coma
  7. Code R40.21- Eyes, R40.22- Verbal, R40.23- Motor then Add 7th char for timing.
  8. Add 7th char for timing

What it covers and how it divides

Frequently asked questions

What is R40?

This category covers states of depressed consciousness, including somnolence (drowsiness), stupor (including catatonic stupor), and coma (NOS and secondary). It also includes detailed Glasgow Coma Scale (GCS) component codes for eye opening, best verbal response, and best motor response.

How do you code R40 correctly?

R40 is a non-billable category header; assign the most specific billable subcategory code. When documenting Glasgow Coma Scale (GCS) scores, assign one code each for eye opening (R40.21-), verbal response (R40.22-), and motor response (R40.23-). Sequence the underlying etiology (e.g., traumatic brain injury, stroke) before coma scale codes when applicable per official guidelines. Note age-specific descriptors for motor response codes, such as abnormal extensor or flexor posturing in pediatric patients.

Sources

How this guide was made

Medical Coding Hub builds this guide with AI from the official code tables (CMS and CDC/NCHS) and the code’s place in the hierarchy. It is not yet reviewed line by line by a certified coder. Treat it as a working reference, check it against the current official ICD-10 guidelines and the payer’s policy before you bill, and tell us about errors through the feedback links on this site. It is not medical, legal or billing advice.