Chapter 6 — Diseases of the Nervous System
Category G89 and the one question that decides everything: was this encounter for pain management, or for treating the condition causing the pain?
Chapter 6 is the pain chapter. Category G89 is the only place in ICD-10-CM where the reason for the encounter — pain management rather than treatment of the underlying condition — can promote a symptom code to principal diagnosis. Everything else in G89 follows from that one distinction.
Dominant or nondominant side — the default rules#
| Affected side documented as | Default |
|---|---|
| Ambidextrous patient | Dominant |
| Left side affected | Non-dominant |
| Right side affected | Dominant |
These defaults apply to category G81 hemiplegia and hemiparesis and to subcategories G83.1, G83.2 and G83.3 monoplegia, where the affected side is documented but not specified as dominant or nondominant and the classification does not indicate a default. The identical defaults apply to the I69 sequelae of cerebrovascular disease codes under Section I.C.9.d.1.
When may a G89 pain code be the principal diagnosis?#
Only when pain control or pain management is the reason for the admission or encounter. If the encounter is for a procedure aimed at treating the underlying condition, the underlying condition is the principal diagnosis and no G89 code is assigned at all.
| Circumstance | Principal / first-listed | G89? |
|---|---|---|
| Pain control or pain management is the reason for the encounter — for example a patient with a displaced intervertebral disc, nerve impingement and severe back pain presents for a steroid injection into the spinal canal | The G89 code | ALWAYS Yes. The underlying cause of the pain is reported as an additional diagnosis, if known |
| Admission for insertion of a neurostimulator for pain control | The appropriate pain code | ALWAYS Yes |
| Admission for a procedure aimed at treating the underlying condition, with a neurostimulator inserted for pain control during the same encounter | The underlying condition | Yes, as a secondary diagnosis |
| Admission or encounter for a procedure aimed at treating the underlying condition — spinal fusion, kyphoplasty | The underlying condition — vertebral fracture, spinal stenosis | NEVER No code from G89 is assigned |
| The underlying definitive diagnosis is known and the encounter is for management of that condition | The underlying condition | NEVER No, unless the reason for the encounter is pain control or pain management |
| Pain not specified as acute, chronic, post-thoracotomy, postprocedural or neoplasm-related | — | NEVER Do not assign a code from category G89 at all |
G89 codes together with site-specific pain codes
| Reason for the encounter | Sequence |
|---|---|
| Pain control or pain management | 1the code from category G892the code identifying the specific site of pain |
| Any other reason, where a related definitive diagnosis has not been established | 1the code for the specific site of pain2the appropriate code from category G89 |
The guideline's own worked example: an encounter for pain management for acute neck pain from trauma is assigned G89.11 acute pain due to trauma, followed by M54.2 cervicalgia to identify the site. A G89 code may be used together with a site code — including a Chapter 18 code — whenever the G89 code provides additional information, such as whether the pain is acute or chronic.
Postoperative, chronic and neoplasm-related pain#
| Type | Rule |
|---|---|
| Routine or expected postoperative pain immediately after surgery | NEVER Not coded |
| Post-thoracotomy or other postoperative pain not specified as acute or chronic | The default is the code for the acute form |
| Postoperative pain not associated with a specific postoperative complication | The appropriate postoperative pain code in category G89 |
| Postoperative pain associated with a specific postoperative complication, such as painful wire sutures | The appropriate code from Chapter 19; if appropriate, add G89.18 or G89.28 to identify acute or chronic pain |
| Pain due to devices, implants and grafts left in a surgical site, such as a painful hip prosthesis | The appropriate Chapter 19 code, with G89.18 or G89.28 as an additional code — see Section I.C.19.g.2 |
Chronic pain — subcategory G89.2 | There is no time frame defining when pain becomes chronic. The provider's documentation guides use of these codes |
Neoplasm related pain — G89.3 | Assigned for pain documented as related to, associated with or due to cancer, a primary or secondary malignancy, or a tumour — regardless of whether the pain is acute or chronic |
G89.3 as principal or first-listed | Permitted when the stated reason for the encounter is documented as pain control or pain management. The underlying neoplasm is reported as an additional diagnosis |
G89.3 where the encounter is for management of the neoplasm and neoplasm pain is also documented | G89.3 may be assigned as an additional diagnosis. It is not necessary to assign an additional code for the site of the pain |
Central pain syndrome G89.0 and chronic pain syndrome G89.4 | Different from the term “chronic pain”. These codes are used only where the provider has specifically documented the named condition |
Practice questions#
Q1A patient with lumbar spinal stenosis is admitted for a lumbar decompression and fusion. Severe chronic low back pain is documented. What is the principal diagnosis?
- A
G89.29chronic pain due to other causes - BThe lumbar spinal stenosis
- C
M54.5-low back pain - D
G89.4chronic pain syndrome
Show answer & rationale
Correct answer: B. The lumbar spinal stenosis
Rationale. Guideline I.C.6.b.1 states that when an admission or encounter is for a procedure aimed at treating the underlying condition, such as a spinal fusion or kyphoplasty, a code for the underlying condition should be assigned as the principal diagnosis and no code from category G89 should be assigned. The presence of pain does not change the intent of the procedure.
Q2A patient with a displaced intervertebral disc and nerve impingement presents specifically for an epidural steroid injection for pain management. How is this coded?
- AThe disc displacement first, then the
G89code - BThe
G89code first, then the disc displacement as an additional diagnosis - CThe
G89code only - D
M54.5-only
Show answer & rationale
Correct answer: B. The G89 code first, then the disc displacement as an additional diagnosis
Rationale. Guideline I.C.6.b.1.a states that category G89 codes are acceptable as the principal or first-listed code when pain control or pain management is the reason for the admission or encounter, and uses this exact example. The underlying cause of the pain should be reported as an additional diagnosis, if known.
Q3A patient reports pain at the site of a hip prosthesis placed two years ago. The provider documents painful hip prosthesis and chronic pain. How is the pain coded?
- A
G89.29only - BThe appropriate Chapter 19 code for pain due to the prosthesis, with
G89.28as an additional code - C
M25.55-only - D
G89.4
Show answer & rationale
Correct answer: B. The appropriate Chapter 19 code for pain due to the prosthesis, with G89.28 as an additional code
Rationale. Guideline I.C.6.b.2 refers to Section I.C.19, and I.C.19.g.2 states that pain associated with devices, implants or grafts left in a surgical site, for example a painful hip prosthesis, is assigned to the appropriate code found in Chapter 19, with additional codes from category G89 to identify acute or chronic pain due to the presence of the device, implant or graft — G89.18 or G89.28.
Q4A patient with metastatic bone disease is admitted specifically for management of intractable cancer pain. What may be the principal diagnosis?
- AOnly the neoplasm
- B
G89.3, with the neoplasm reported additionally - C
G89.29 - DThe site-specific pain code
Show answer & rationale
Correct answer: B. G89.3, with the neoplasm reported additionally
Rationale. Guideline I.C.6.b.5 states that G89.3 is assigned for pain documented as related, associated or due to cancer, a primary or secondary malignancy, or a tumour, regardless of whether the pain is acute or chronic, and that it may be assigned as the principal or first-listed code when the stated reason for the admission or encounter is documented as pain control or pain management, with the underlying neoplasm reported as an additional diagnosis. It is not necessary to assign an additional code for the site of the pain.
Q5A patient with right-sided hemiplegia following an old cerebral infarction is documented without any statement of dominance. What default applies?
- ANon-dominant
- BDominant
- CUnspecified
- DQuery the provider
Show answer & rationale
Correct answer: B. Dominant
Rationale. Guideline I.C.6.a sets the defaults where the affected side is documented but not specified as dominant or nondominant and the classification does not indicate a default: for ambidextrous patients the default is dominant, if the left side is affected the default is non-dominant, and if the right side is affected the default is dominant. Guideline I.C.9.d.1 applies the identical defaults to the I69 sequelae codes.
Scenarios#
A patient who sustained a whiplash injury in a rear-end collision ten days ago presents to a pain clinic specifically for management of acute neck pain. No definitive structural diagnosis has been established.
Show coded answer & rationale
| Seq | Code | Description |
|---|---|---|
| 1 | G89.11 | Acute pain due to trauma — first-listed |
| 2 | M54.2 | Cervicalgia — to identify the site of pain |
| 3 | External cause | the applicable Chapter 20 code(s) with the 7th character matching the encounter |
Rationale. This is the guideline's own worked example at I.C.6.b.1.b.ii: an encounter for pain management for acute neck pain from trauma is assigned G89.11 followed by M54.2 to identify the site of pain. The same guideline reverses the order where the encounter is for any reason other than pain control or pain management — the site code would then come first, followed by the G89 code.
Guideline: Section I.C.6.b.1.b
Two patients are seen ten days after abdominal surgery. Patient A has ordinary incisional discomfort, documented as expected postoperative pain. Patient B has pain documented by the surgeon as due to painful retained wire sutures.
Show coded answer & rationale
| Seq | Code | Description |
|---|---|---|
| 1 | Patient A | no pain code — routine or expected postoperative pain immediately after surgery is not coded |
| 2 | Patient B | the appropriate Chapter 19 complication code for the suture problem, plus G89.18 or G89.28 to identify acute or chronic pain |
Rationale. Guideline I.C.6.b.3 states that routine or expected postoperative pain immediately after surgery should not be coded, that postoperative pain not associated with a specific postoperative complication is assigned to the appropriate postoperative pain code in category G89, and that postoperative pain associated with a specific postoperative complication, such as painful wire sutures, is assigned to the appropriate code in Chapter 19 with additional G89 codes for acute or chronic pain. The default for postoperative pain not specified as acute or chronic is the acute form.
Guideline: Section I.C.6.b.3
A record documents “chronic low back pain for six years”. There is no documentation of chronic pain syndrome or central pain syndrome. The encounter is for pain management.
Show coded answer & rationale
| Seq | Code | Description |
|---|---|---|
| 1 | G89.29 | Other chronic pain — verify in the Tabular List |
| 2 | M54.5- | Low back pain, the applicable code to identify the site |
Rationale. Guideline I.C.6.b.4 states that chronic pain is classified to subcategory G89.2, that there is no time frame defining when pain becomes chronic pain, and that the provider's documentation guides use of these codes. Guideline I.C.6.b.6 adds that central pain syndrome G89.0 and chronic pain syndrome G89.4 are different from the term chronic pain, and that those codes should only be used where the provider has specifically documented the named condition. Six years of pain does not convert chronic pain into chronic pain syndrome.
Guideline: Section I.C.6.b.4, I.C.6.b.6
Primary sources#
- ICD-10-CM Official Guidelines for Coding and Reporting, FY 2027CMS — the source document for every page on this site (effective 1 Oct 2026)
- NCHS ICD-10-CM files — Tabular List, Index, POA exempt listOfficial code files, addenda and the list of codes exempt from POA reporting
- ICD-10 Coordination and Maintenance CommitteeWhere code proposals are debated; agendas, summaries and meeting materials
- CMS ICD-10 homeCode sets, transition guidance and Medicare coding policy
- AHA Coding ClinicOfficial coding advice from the AHA Central Office — subscription required
- HHS OIG Work PlanActive audit topics — useful for prioritising internal coding audits
- MEDESUN Medical Coding AcademyTraining, credential preparation and audit services by the author