Code sets: FY 2027 ICD-10-CM.
Start with the cause
If the provider has documented the underlying (definitive) diagnosis, code that condition, not a pain code. A G89 code is not assigned when the cause is known, unless the visit is specifically for pain control or pain management (FY 2027 ICD-10-CM Guidelines, Section I.C.6.b.1).
Also skip G89 when pain is not described as acute, chronic, post-thoracotomy, postprocedural, or neoplasm-related. Use the site-specific symptom code instead, such as M25.561 Pain in right knee or R10.9 Unspecified abdominal pain.
When G89 can be first-listed
- The encounter is for pain control or pain management (for example, an epidural steroid injection for back pain from a displaced disc). List the G89 code first and the underlying cause second.
- The patient is admitted for a neurostimulator inserted for pain control.
When the procedure treats the underlying condition (such as a spinal fusion), the condition is first-listed and no G89 code is assigned.
Postoperative pain
- Routine or expected pain right after surgery is not coded.
- Postoperative pain not tied to a specific complication goes to G89.18 (acute) or G89.28 (chronic). The default is acute when not specified.
- Pain caused by a specific complication (such as painful hardware) is coded to the Chapter 19 complication code, with G89.18 or G89.28 added if it helps.
Chronic pain and chronic pain syndrome
Chronic pain is classified to G89.2-. There is no time frame that makes pain chronic; follow the provider’s documentation. Chronic pain syndrome, G89.4, is a different condition and requires that exact diagnosis.
Neoplasm-related pain
G89.3 is used for pain documented as due to cancer or a tumor, whether acute or chronic. It is first-listed when the visit is for pain management, with the neoplasm as an additional code. When the visit is to manage the cancer, G89.3 may be added as a secondary code.
Refreshed from the CCO Community archive, November 2026.
CCO Hero
Know someone starting a medical coding career?
Share your personal CCO link. Your friend saves 20% on their first course or practice exam of $100 or more, and you earn 5% cash on their first enrollment over $100.
Become a CCO Hero