Tabular list notes for G40.509
The tabular list has no notes on G40.509 itself; the notes below apply from its parent headings.
Inherited from G40 (Epilepsy and recurrent seizures)
- Excludes1 (never coded together)
- conversion disorder with seizures (F44.5)
- convulsions NOS (R56.9)
- post traumatic seizures (R56.1)
- seizure (convulsive) NOS (R56.9)
- seizure of newborn (P90)
- Excludes2 (not part of this condition, may be coded together)
- hippocampal sclerosis (G93.81)
- mesial temporal sclerosis (G93.81)
- temporal sclerosis (G93.81)
- Todd's paralysis (G83.84)
- Notes
- the following terms are to be considered equivalent to intractable: pharmacoresistant (pharmacologically resistant), treatment resistant, refractory (medically) and poorly controlled
Inherited from G40.5 (Epileptic seizures related to external causes)
- Inclusion terms
- Epileptic seizures related to alcohol
- Epileptic seizures related to drugs
- Epileptic seizures related to hormonal changes
- Epileptic seizures related to sleep deprivation
- Epileptic seizures related to stress
- Use additional code
- code for adverse effect, if applicable, to identify drug (T36-T50 with fifth or sixth character 5)
- Code also
- , if applicable, associated epilepsy and recurrent seizures (G40.-)
MS-DRG grouping when G40.509 is the principal diagnosis
The final group also depends on procedures, secondary diagnoses and discharge status; the MS-DRG lookup for G40.509 shows the full grouping logic.
CC/MCC status and inpatient edits
As a secondary diagnosis, G40.509 is a CC under MS-DRG v44, unless the principal diagnosis is one of the 89 codes in its exclusion list. Check G40.509 against a principal diagnosis.
- Present on admission: a POA indicator is required on inpatient claims.
CMS-HCC V28 risk adjustment
In the PY2027 mapping, G40.509 maps to HCC 201 (Seizure Disorders and Convulsions). The HCC lookup shows the RAF weight and the hierarchy.
LCD billing and coding articles that list G40.509
16 current Medicare billing and coding articles list G40.509 among the diagnoses that support medical necessity for the services they cover.
- Billing and Coding: Visual Fields Testing A56551
- Billing and Coding: CT of the Head A56612
- Billing and Coding: Nerve Conduction Studies and Electromyography A56619
- Billing and Coding: Thoracic Aortography and Carotid, Vertebral, and Subclavian Angiography A56631
- Billing and Coding: Controlled Substance Monitoring and Drugs of Abuse Testing A56645
- Billing and Coding: Special Electroencephalography A56771
- Billing and Coding: Visual Fields Testing A56799
- Billing and Coding: Outpatient Speech Language Pathology A56868
For teams evaluating QuickIntell software
Evaluate software for diagnosis coding review
If your team codes diagnoses at volume, review how QuickCode supports qualified coder review of documentation, specificity queries and the billing handoff. Confirm the code sets, settings and reviewer responsibilities during evaluation; a code reference is not a coding determination for a patient.
Optional software evaluation, not payer support or help with an individual claim. For coverage or payment decisions, use the official sources on this page. Do not include patient information in a demo booking or inquiry.
Frequently asked questions
What does ICD-10-CM G40.509 mean?
G40.509 means epileptic seizures related to external causes, not intractable, without status epilepticus. It is one of 25 billable codes under G40, epilepsy and recurrent seizures.
Which MS-DRG does G40.509 group to?
As the principal diagnosis, G40.509 groups to MS-DRG 023 Craniotomy with Major Device Implant or Acute Complex CNS Principal Diagnosis with MCC or Antineoplastic Implant or Epilepsy with Neurostimulator, MS-DRG 100 Seizures with MCC, MS-DRG 101 Seizures without MCC (MDC 01 MDC 01: Diseases and Disorders of the Nervous System) under MS-DRG v44, before procedures and secondary diagnoses are applied.
Does G40.509 map to an HCC?
Yes: HCC 201, Seizure Disorders and Convulsions, in the PY2027 CMS-HCC V28 mapping.
Is G40.509 a CC or MCC?
G40.509 is a CC under MS-DRG v44; 89 principal diagnoses exclude it.
Sources
Every figure on this page is taken from the CMS publications below, as released by the Centers for Medicare & Medicaid Services. Projection built 2026-10-10. Verify against the primary file before billing or contracting decisions. The reference methodology explains how each figure is computed from these files.
- ICD-10-CM FY2027 tabular order file (category titles)Version FY2027 · effective 2026-10-01 · file icd10cm_order_2027.txtSHA-256 38981fb2c1226e2b…
- ICD-10-CM FY2027 tabular list (chapter titles and ranges)Version FY2027 · effective 2026-10-01 · file 2027-code-tables-tabular-index.zipSHA-256 37baa476323714be…
- ICD-10-CM FY2027 code descriptions addenda (codes added, deleted and revised)Version FY2027 · effective 2026-10-01 · file icd10cm_codes_addenda_2027.txtSHA-256 cfba025073235af4…
- ICD-10 MS-DRG Definitions Manual v44 (text)Version v44 · effective 2026-10-01 · file fy2027-fr-icd10-ms-drg-definitions-manual-files-v44.zipSHA-256 ae4f6c11727fe91f…
- IPPS FY2027 Tables 6A-6K: new, invalid and revised ICD-10-CM/PCS codes, CC/MCC list changes and CC exclusionsVersion FY2027 (final rule; not reissued by CN3) · effective 2026-10-01 · file fy2027-ipps-fr-tables-6a-6k.zipSHA-256 ca0af87b0869a405…
- ICD-10-CM FY2027 POA-exempt codes (full list, additions, deletions and revisions)Version FY2027 · effective 2026-10-01 · file 2027-poa-exempt-codes.zipSHA-256 03f55091045024d0…
- ICD-10-CM to CMS-HCC V28 mappings, payment year 2027 initialVersion PY2027 initial ICD-10-CM mappings (dates of service 2026) · effective 2027-01-01 · file 2027 Initial ICD-10-CM Mappings.csvSHA-256 9c260b06d0dd2806…
- Medicare Coverage Database, current Billing and Coding Articles exportVersion MCD release 2026-10-08 · effective 2026-10-04 · file article.csvSHA-256 5e95c4a8ac3664be…
Disclaimer
The descriptor and notes are reproduced from the FY2027 ICD-10-CM files; MS-DRG, CC/MCC and HCC facts come from the CMS FY2027 and PY2027 tables. Code from the medical record and the ICD-10-CM Official Guidelines. Not legal, clinical or billing advice.
Found a figure that does not match the CMS file? Report a data correction with the CMS file and the value you expected; the request reaches the editorial team through the contact form.