DxMedical Coding HubLearn · Research · Share

ICD-10-CM · 2026

Hierarchy

G04 coding guide: Encephalitis, myelitis and encephalomyelitis

Quick answer. G04 is the ICD-10-CM Diagnosis Code for "Encephalitis, myelitis and encephalomyelitis". G04 covers primary and postinfectious or postimmunization inflammatory conditions of the brain and spinal cord, including encephalitis, myelitis, and encephalomyelitis. It includes noninfectious acute disseminated encephalomyelitis (ADEM), cerebral ventriculitis NOS, tropical spastic paraplegia, bacterial meningoencephalitis not elsewhere classified, and acute necrotizing hemorrhagic encephalopathy. G04 is a non-billable category header; always assign the most specific 4- or 5-character 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. G04 Encephalitis/Myelitis then Specific Type?.
  2. Specific Type? ADEM or Necrotizing: Etiology?; Other / Unspecified: Site?.
  3. Etiology? Postinfectious / Postimmunization: G04.01-02 / G04.31-32; Other / Unspecified: G04.00 / G04.30 / G04.39.
  4. G04.01-02 / G04.31-32
  5. G04.00 / G04.30 / G04.39
  6. Site? Encephalitis / Encephalomyelitis: G04.81 / G04.90; Myelitis / AFM: G04.82 / G04.89 / G04.91.
  7. G04.81 / G04.90
  8. G04.82 / G04.89 / G04.91

What it covers and how it divides

Frequently asked questions

What is G04?

G04 covers primary and postinfectious or postimmunization inflammatory conditions of the brain and spinal cord, including encephalitis, myelitis, and encephalomyelitis. It includes noninfectious acute disseminated encephalomyelitis (ADEM), cerebral ventriculitis NOS, tropical spastic paraplegia, bacterial meningoencephalitis not elsewhere classified, and acute necrotizing hemorrhagic encephalopathy.

How do you code G04 correctly?

G04 is a non-billable category header; always assign the most specific 4- or 5-character billable subcategory code. Distinguish between postinfectious (e.g., G04.01, G04.31) and postimmunization (e.g., G04.02, G04.32) etiologies when documented. Use G05 for encephalitis, myelitis, and encephalomyelitis in diseases classified elsewhere rather than G04. Assign G04.82 specifically for documented acute flaccid myelitis.

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.