G89.18 ICD-10-CM Code: Other acute postprocedural pain
Billing Status: YES. This is a valid, specific, and billable ICD-10-CM reference.
Coding at a Glance
- Tabular directives
- 2 inclusion terms · 3 Excludes1 · 27 Excludes2 · 1 code-also instruction
Inpatient Payment Groups (MS-DRG)
Potential MS-DRG participation — not a DRG assignment.
MS-DRGs this diagnosis helps define, as principal or secondary, per the CMS ICD-10-CM/PCS MS-DRG Definitions Manual v44, Appendix B.
- MS-DRG 947 — SIGNS AND SYMPTOMS WITH MCC (MDC 23)
- MS-DRG 948 — SIGNS AND SYMPTOMS WITHOUT MCC (MDC 23)
A diagnosis appearing in a group's logic does not by itself determine the DRG assigned to a stay; the grouper uses the full claim.
Coding instructions
Official Tabular Instructional Notes: the inclusion, exclusion and sequencing notes published for G89.18 in the official ICD-10-CM tabular list, quoted as published.
Source: CMS/CDC — ICD-10-CM Tabular ListRelease: FY2027Effective: October 1, 2026
Trace:FY2027 changesChange historyRelease, file and checksum
Notes without a marker are published on G89.18 itself; “inherited from” names the category or block whose note applies here.
Inclusion Terms
Alternative terms the tabular list files under this code.
- Postoperative pain NOS
- Postprocedural pain NOS
Excludes1 — Not Coded Here
Conditions generally not reported together with this code (Excludes1) -- an error unless the two conditions are documented as unrelated to each other (ICD-10-CM Official Guidelines, Section I.A.12.a).
- generalized pain NOS (R52) Compare G89.18 vs R52 →
- pain disorders exclusively related to psychological factors (F45.41) Compare G89.18 vs F45.41 →
- pain NOS (R52) Compare G89.18 vs R52 →
Source: inherited from G89
Excludes2 — Not Included Here
Conditions not covered by this code, but which may be reported alongside it when both are present.
- atypical face pain (G50.1) Compare G89.18 vs G50.1 →
- headache syndromes (G44.-) Compare G89.18 vs G44 →
- localized pain, unspecified type - code to pain by site, such as:
- abdomen pain (R10.-) Compare G89.18 vs R10 →
- back pain (M54.9) Compare G89.18 vs M54.9 →
- breast pain (N64.4) Compare G89.18 vs N64.4 →
- chest pain (R07.1-R07.9) Compare G89.18 vs R07.1 →
- ear pain (H92.0-) Compare G89.18 vs H92.0 →
- eye pain (H57.1) Compare G89.18 vs H57.1 →
- headache (R51.9) Compare G89.18 vs R51.9 →
- joint pain (M25.5-) Compare G89.18 vs M25.5 →
- limb pain (M79.6-) Compare G89.18 vs M79.6 →
- lumbar region pain (M54.5-) Compare G89.18 vs M54.5 →
- painful urination (R30.9) Compare G89.18 vs R30.9 →
- pelvic and perineal pain (R10.2-) Compare G89.18 vs R10.2 →
- shoulder pain (M25.51-) Compare G89.18 vs M25.51 →
- spine pain (M54.-) Compare G89.18 vs M54 →
- throat pain (R07.0) Compare G89.18 vs R07.0 →
- tongue pain (K14.6) Compare G89.18 vs K14.6 →
- tooth pain (K08.8) Compare G89.18 vs K08.8 →
- renal colic (N23) Compare G89.18 vs N23 →
- migraines (G43.-) Compare G89.18 vs G43 →
- myalgia (M79.1-) Compare G89.18 vs M79.1 →
- pain from prosthetic devices, implants, and grafts (T82.84, T83.84, T84.84, T85.84-) Compare G89.18 vs T82.84 →
- phantom limb syndrome with pain (G54.6) Compare G89.18 vs G54.6 →
- vulvar vestibulitis (N94.810) Compare G89.18 vs N94.810 →
- vulvodynia (N94.81-) Compare G89.18 vs N94.81 →
Source: inherited from G89
Code Also
Additional codes that may be required to fully describe the encounter.
- related psychological factors associated with pain (F45.42)
Source: inherited from G89
Coder workflow for G89.18
MedCoder structured workflow — derived from this code’s own official record
Before you code G89.18
- “Other” (NEC) means the condition is specified in the record but no dedicated code captures it. Confirm the documented form is not one a sibling code names before settling on G89.18; if the record states no specifics at all, the unspecified sibling applies instead. “Other” codes are for documented conditions the classification gives no specific code; “unspecified” codes are for records lacking the detail (Guidelines I.A.9.a, I.A.9.b).
See the relationships section · Guide: Other vs unspecified (NEC vs NOS) →
- Check the Excludes1 note: if the documentation supports a condition named there, do not simply proceed with G89.18. Excludes1 conditions are not reported together with this code unless the record shows they are unrelated (Guidelines I.A.12.a).
Choose the right path
- Does the documentation support a condition named in G89.18’s Excludes1 note?
Yes → Do not simply proceed: review the excluded code. Both are reported only when the record shows the two conditions are unrelated.
No → Continue.
Consider G89.18. Then review the Code Also note, and confirm the code is valid for the date of service in the Verify section.
Documentation check
- The provider’s diagnostic statement
- Codes are assigned from the provider’s documented diagnosis, not from clinical criteria, test values or a medication list (Guidelines I.A.19).
- Acuity
- Acute or chronic as documented; when both are documented and separate codes exist, both are reported with the acute code first (Guidelines I.B.8).
- Any detail beyond this code’s title
- What the record states that a more specific sibling code would capture — or its absence, which itself supports the unspecified code.
Official instructions as workflow
Excludes1 — check before selecting G89.18(3 notes)
Coding workflow: If the documentation supports a condition named in this note, do not simply proceed with G89.18: the two are not reported together. The one exception is when the record shows the two conditions are unrelated to each other.
See the official tabular notes · Guidelines I.A.12.a
Excludes2 — not part of G89.18(27 notes)
Coding workflow: The conditions named in this note are not included in G89.18. When the record documents both, both may be reported; the note is a boundary, not a prohibition.
CompareG50.1, G44, R10, M54.9, N64.4, H92.0
See the official tabular notes · Guidelines I.A.12.b
Code Also — related condition(1 note)
Coding workflow: Review the related condition when both are documented and the instruction applies. A Code Also note does not fix sequencing; the order follows the circumstances of the encounter.
ReviewF45.42
See the official tabular notes · Guidelines I.A.17
Every row is derived from this code’s own record — its title, tabular notes, 7th-character family and same-category siblings — with fixed MedCoder wording; nothing is inferred about a patient. The official notes and guideline text are in the sections each row links to, and they control.
Code Overview
MedCoder summary Summary composed by MedCoder from this code's official ICD-10-CM record. The tabular instructional notes themselves appear verbatim below.
Indexed Clinical Terms (3)
Official source data — entries quoted as published, in the Index’s own lookup phrasing
Clinical term phrases from the official ICD-10-CM Index to Diseases and Injuries that map to this code. These are alphabetic-index entries shown as the Index writes them — lookup phrasing, not necessarily the wording of a final diagnosis.
Official Coding Guidelines
Official source data — quoted verbatim from the CMS/NCHS Official Guidelines
Official source data — quoted verbatim from the CMS/NCHS Official Guidelines
Verbatim excerpts from the ICD-10-CM Official Guidelines for Coding and Reporting (CMS/NCHS) that govern this code.
Chapter 6: Diseases of the Nervous System (G00-G99)
(b) Postoperative pain associated with specific postoperative complication Postoperative pain associated with a specific postoperative complication (such as painful wire sutures) is assigned to the appropriate code(s) found in Chapter 19, Injury, poisoning, and certain other consequences of external causes. If appropriate, use additional code(s) from category G89 to identify acute or chronic pain (G89.18 or G89.28).
Chapter 19: Injury, poisoning, and certain other consequences of external causes (S00-T88)
2) Pain due to medical devices Pain associated with devices, implants or grafts left in a surgical site (for example painful hip prosthesis) is assigned to the appropriate code(s) found in Chapter 19, Injury, poisoning, and certain other consequences of external causes. Specific codes for pain due to medical devices are found in the T code section of the ICD-10-CM. Use additional code(s) from category G89 to identify acute or chronic pain due to presence of the device, implant or graft (G89.18 or G89.28).
Chapter 5: Mental, Behavioral and Neurodevelopmental disorders (F01 – F99)
a. Pain disorders related to psychological factors Assign code F45.41, for pain that is exclusively related to psychological disorders. As indicated by the Excludes 1 note under category G89, a code from category G89 should not be assigned with code F45.41.
Chapter 5: Mental, Behavioral and Neurodevelopmental disorders (F01 – F99)
Code F45.42, Pain disorders with related psychological factors, should be used with a code from category G89, Pain, not elsewhere classified, if there is documentation of a psychological component for a patient with acute or chronic pain.
Chapter 6: Diseases of the Nervous System (G00-G99)
1) General coding information Codes in category G89, Pain, not elsewhere classified, may be used in conjunction with codes from other categories and chapters to provide more detail about acute or chronic pain and neoplasm-related pain, unless otherwise indicated below.
Chapter 6: Diseases of the Nervous System (G00-G99)
If the pain is not specified as acute or chronic, post-thoracotomy, postprocedural, or neoplasm-related, do not assign codes from category G89.
Chapter 6: Diseases of the Nervous System (G00-G99)
A code from category G89 should not be assigned if the underlying (definitive) diagnosis is known, unless the reason for the encounter is pain control/ management and not management of the underlying condition.
Chapter 6: Diseases of the Nervous System (G00-G99)
When an admission or encounter is for a procedure aimed at treating the underlying condition (e.g., spinal fusion, kyphoplasty), a code for the underlying condition (e.g., vertebral fracture, spinal stenosis) should be assigned as the principal diagnosis. No code from category G89 should be assigned.
Coding Notes
MedCoder editorial — not official ICD-10-CM text; reviewed against the cited source
What this code means
G89.18 reports acute postoperative or postprocedural pain that is not attributable to a specific surgical complication and is not the routine, expected pain immediately following surgery — that routine pain is not coded at all. It is the residual acute postprocedural code; post-thoracotomy pain has its own code (G89.12), and this one covers the rest.
Coding guidance
- Routine or expected postoperative pain immediately after surgery is not coded, per the Chapter 6 guideline — G89.18 is for pain the provider documents as a distinct finding, not a universal add-on to every post-op encounter.
- The guideline sets a default: postoperative or post-thoracotomy pain not specified as acute or chronic defaults to the acute code.
- Complication changes everything: pain associated with a SPECIFIC postoperative complication (the guideline’s example is painful wire sutures) is coded to the Chapter 19 injury/complication code for that complication instead, with a G89 code (acute G89.18 or chronic G89.28) added only if appropriate to further identify the pain.
- Chronic postprocedural pain is a different code, G89.28, not this one — there is no fixed time frame that converts acute to chronic; it is a provider documentation call.
Decision-rule scenarios
Documentation: A patient is one day post-op with pain the surgical team documents as expected recovery pain.
Coding question: Is G89.18 reported?
Rule: No — the guideline states routine or expected postoperative pain immediately after surgery should not be coded at all. The deciding element is whether the provider documents the pain as a distinct finding beyond expected recovery.
Documentation: A patient has documented pain from a wire suture identified as a surgical complication.
Coding question: Does the pain get coded to G89.18?
Rule: No — pain associated with a specific postoperative complication is coded to the Chapter 19 code for that complication; G89.18 (or G89.28 for chronic) may be added only if appropriate to further identify the pain, not as the primary code for it.
Scenarios state the decision rule, not a code assignment — code selection always follows the provider's documentation and the ICD-10-CM Official Guidelines.
Documentation checklist
- Whether the pain is distinct from expected post-surgical recovery, or is the routine kind the guideline says not to code.
- Whether a specific postoperative complication is identified as the cause.
- Acute versus chronic, when the provider states one — otherwise the default is acute.
Codes are assigned from provider documentation; a coder never infers a diagnosis.
Common mistakes
- Coding routine, expected postoperative pain as G89.18 — the guideline says not to code it at all.
- Coding G89.18 when a specific complication is documented, instead of the Chapter 19 complication code.
- Using G89.18 for post-thoracotomy pain, which has its own code, G89.12.
Written and reviewed by MedCoder against the official ICD-10-CM files; educational, not medical or billing advice. The official tabular notes and guidelines above take precedence in every case.
Decision Points
The directives on this code's own record, as a pre-claim checklist.
- 1 Code Also note — a second code may apply; the guidelines leave its sequencing to the circumstances of the encounter. See the Code Also notes
- 3 Excludes1 entries — codes named there are generally not reported together with this code (Guidelines I.A.12.a). See the Excludes1 notes
- 27 Excludes2 entries — those conditions are not part of this code and may be reported additionally when documented. See the Excludes2 notes
Checklist rows are derived from this code's own official directives; the wording of each check is MedCoder editorial. The official notes themselves are in the sections each row links to.
Verify Before Coding
- No Medicare Code Editor or MS-DRG Definitions Manual restrictions apply to this code.
From the code registry, the Medicare Code Editor, and the MS-DRG Definitions Manual. Check it against a full claim in Claim Check.
Relationships & Classification
MedCoder structured relationships — computed from published CMS and AHRQ datasets
Other codes that name G89.18 or its code family, from the CMS ICD-10-CM tabular instructional notes. Tabular-note edges are stored at the code family level that carries each note.
Referenced by 1 Excludes1 note: R52 — Pain, unspecified (via G89.-).
These codes’ tabular lists mark this diagnosis as mutually exclusive — not reported together unless the conditions are documented as unrelated.
Referenced by 1 Code Also instruction: F45.42 — Pain disorder with related psychological factors (via G89.-).
These codes suggest coding this condition alongside when both are present.
MS-DRG Grouper Relationships (FY2027)
Potential MS-DRG participation — not a DRG assignment.
FY2027 MS-DRG: not on the CMS CC/MCC list — as a secondary diagnosis this code does not change MS-DRG severity for that release.
Named in the grouper logic of 2 MS-DRGs: DRG 947 (MDC 23), DRG 948 (MDC 23).
From the CMS MS-DRG Definitions Manual (Appendices B and C). Actual DRG assignment depends on the complete claim.
Clinical classification (AHRQ CCSR):NVS019 — Nervous system pain and pain syndromes (default).
Clinical Classifications Software Refined (CCSR) for ICD-10-CM Diagnoses. Healthcare Cost and Utilization Project (HCUP), Agency for Healthcare Research and Quality.
Related Codes
Same clinical category (CCSR)
AHRQ's Clinical Classifications Software groups these diagnoses under the same clinical category (Nervous system pain and pain syndromes).
G89.0 — Central pain syndrome, G89.11 — Acute pain due to trauma, G89.12 — Acute post-thoracotomy pain, G89.21 — Chronic pain due to trauma, G89.22 — Chronic post-thoracotomy pain, G89.28 — Other chronic postprocedural pain, G89.29 — Other chronic pain, G89.3 — Neoplasm related pain (acute) (chronic), G89.4 — Chronic pain syndrome, G90.2 — Horner's syndrome, G90.50 — Complex regional pain syndrome I, unspecified, G90.511 — Complex regional pain syndrome I of right upper limb, G90.512 — Complex regional pain syndrome I of left upper limb, G90.513 — Complex regional pain syndrome I of upper limb, bilateral, G90.519 — Complex regional pain syndrome I of unspecified upper limb, G90.521 — Complex regional pain syndrome I of right lower limb, G90.522 — Complex regional pain syndrome I of left lower limb, G90.523 — Complex regional pain syndrome I of lower limb, bilateral, G90.529 — Complex regional pain syndrome I of unspecified lower limb, G90.59 — Complex regional pain syndrome I of other specified site, +4 more
Same Index main term, other category
The ICD-10-CM Index to Diseases and Injuries files this code under the main term “Pain”; these codes share that main term but sit in a different category of the Tabular List.
F45.41 — Pain disorder exclusively related to psychological factors (psychogenic), G50.1 — Atypical facial pain (face, facial, atypical), H57.1 — Ocular pain (ocular), I20.9 — Angina pectoris, unspecified (chest, ischemic), J34.89 — Other specified disorders of nose and nasal sinuses (nose), J39.2 — Other diseases of pharynx (pharynx), K08.89 — Other specified disorders of teeth and supporting structures (tooth), K13.79 — Other lesions of oral mucosa (mouth), K14.6 — Glossodynia (tongue), K62.89 — Other specified diseases of anus and rectum (anus), K82.9 — Disease of gallbladder, unspecified (gallbladder), M25.50 — Pain in unspecified joint (joint), M25.51 — Pain in shoulder (shoulder), M25.52 — Pain in elbow (joint, elbow), M25.53 — Pain in wrist (joint, wrist), M25.54 — Pain in joints of hand (joint, hand), M25.55 — Pain in hip (joint, hip), M25.56 — Pain in knee (joint, knee), M25.57 — Pain in ankle and joints of foot (joint, toe), M25.59 — Pain in other specified joint (joint, specified site NEC), +72 more
Contextual Map
Every relationship of G89.18 in one view: hierarchy, official tabular instructions in both directions, clinical classification, risk adjustment, MS-DRG participation, index terms and change history — each edge carrying the CMS source it derives from.
Run G89.18 with these 2 related codes in Claim Check
Hierarchy
- G00-G99 — Chapter 6: Diseases of the Nervous System (G00-G99) (G00-G99)[Hierarchy]— CMS ICD-10-CM tabular structure · icd10cm-fy2026
Referenced by Excludes1 notes
- R52 — Pain, unspecified[Excludes1](via G89.-): “acute and chronic pain, not elsewhere classified (G89.-)”— CMS ICD-10-CM tabular instructional notes · icd10cm-fy2026
Referenced by Code Also instructions
- F45.42 — Pain disorder with related psychological factors[Code Also](via G89.-): “associated acute or chronic pain (G89.-)”— CMS ICD-10-CM tabular instructional notes · icd10cm-fy2026
Clinical classification (CCSR)
- NVS019 — Nervous system pain and pain syndromes[CCSR]— AHRQ CCSR for ICD-10-CM Diagnoses (HCUP)
MS-DRG Grouper
- DRG 947 — SIGNS AND SYMPTOMS WITH MCC[MS-DRG]: “SIGNS AND SYMPTOMS WITH MCC (MDC 23)”— CMS MS-DRG Definitions Manual (Appendix B) · FY2027
- DRG 948 — SIGNS AND SYMPTOMS WITHOUT MCC[MS-DRG]: “SIGNS AND SYMPTOMS WITHOUT MCC (MDC 23)”— CMS MS-DRG Definitions Manual (Appendix B) · FY2027
MDC crossing
- MDC 23 — Factors Influencing Health Status and Other Contacts with Health Services[MDC crossing]: “Factors Influencing Health Status and Other Contacts with Health Services — the grouper's crossing between diagnoses and procedures: a principal diagnosis sets the MDC, and same-MDC procedures move the stay to its surgical DRGs. 1,258 same-MDC procedures group here; browse them on the MDC page.”— CMS MS-DRG Definitions Manual · FY2027
Index entries
- Pain (s), acute, postprocedural NEC[Index term]— CMS ICD-10-CM Index to Diseases and Injuries · icd10cm-fy2026
- Pain (s), postoperative NOS[Index term]— CMS ICD-10-CM Index to Diseases and Injuries · icd10cm-fy2026
- Pain (s), postprocedural NOS[Index term]— CMS ICD-10-CM Index to Diseases and Injuries · icd10cm-fy2026
Nearest codes (12)
- G89 — Pain, not elsewhere classified[Sibling]— CMS ICD-10-CM tabular structure · icd10cm-fy2026
- G89.0 — Central pain syndrome[Sibling]— CMS ICD-10-CM tabular structure · icd10cm-fy2026
- G89.1 — Acute pain, not elsewhere classified[Sibling]— CMS ICD-10-CM tabular structure · icd10cm-fy2026
- G89.11 — Acute pain due to trauma[Sibling]— CMS ICD-10-CM tabular structure · icd10cm-fy2026
- G89.12 — Acute post-thoracotomy pain[Sibling]— CMS ICD-10-CM tabular structure · icd10cm-fy2026
- G89.2 — Chronic pain, not elsewhere classified[Sibling]— CMS ICD-10-CM tabular structure · icd10cm-fy2026
- G89.21 — Chronic pain due to trauma[Sibling]— CMS ICD-10-CM tabular structure · icd10cm-fy2026
- G89.22 — Chronic post-thoracotomy pain[Sibling]— CMS ICD-10-CM tabular structure · icd10cm-fy2026
- and 4 more
Change history
- FY2016 — In the code set at ICD-10-CM adoption [Change history]— CMS release files (code change ledger) · icd10cm-fy2016
Common coding questions
Is routine post-op pain coded to G89.18?
No. The Chapter 6 guideline states that routine or expected postoperative pain immediately after surgery should not be coded at all. G89.18 is for postoperative or postprocedural pain the provider documents as a distinct finding beyond that expected recovery pain.
The patient has pain from a documented surgical complication — G89.18?
No. Pain associated with a specific postoperative complication (the guideline’s example is painful wire sutures) is coded to the Chapter 19 code for that complication; G89.18 may be added only if appropriate to further identify the pain, not used as the primary code for it.
Does “acute” need to be documented for G89.18 to apply?
Not necessarily — the guideline defaults post-thoracotomy and other postoperative pain not specified as acute or chronic to the acute code. A documented chronic postprocedural pain moves to G89.28 instead.
Sources for this page
Codes, titles, notes, index terms and mappings on this page are transcribed from the datasets below. Relationships MedCoder computed and text MedCoder wrote are labelled where they appear.
- Code, title, tabular notes and index terms Official source data
- CMS/CDC ICD-10-CM FY2027 tabular list, index and tables, effective October 1, 2026 Release, file and checksum · Publisher’s page
- Coding guidelines Official source data
- ICD-10-CM Official Guidelines for Coding and Reporting (FY2027), quoted by section Release, file and checksum · Publisher’s page
- Claim edits Official source data
- CMS Definitions of Medicare Code Edits — v44.0 (October 2026) Release, file and checksum · Publisher’s page
- Inpatient payment groups Official source data
- CMS MS-DRG Definitions Manual (incl. Appendix B diagnosis index, Appendix C CC/MCC list, Appendix E procedure index) and IPPS Final Rule tables — v44 Release, file and checksum · Publisher’s page
- Change history and date-of-service validity Official source data
- CMS ICD-10-CM release addenda, ingested release by release into the change ledger Release, file and checksum · Publisher’s page
- Comparisons, relationships and the contextual map MedCoder structured relationship
- Computed by MedCoder from the tabular notes and tables above; every derived relationship is marked as derived where it appears
- Summary, coding notes, decision checklist and FAQ answers MedCoder explanation
- Written by MedCoder to explain the sources above: drafted with AI assistance, checked by a person against the release files, and labelled as MedCoder text where it appears. Not official text.
Labels on this page: Official source data · MedCoder structured relationship · MedCoder explanation. How to read the labels · All data sources and release dates
Cite this page
Reference this page in a research guide, syllabus or article. The release is included because code content changes each year.
MedCoder.ai. "G89.18 — Other acute postprocedural pain." ICD-10-CM FY2027. https://medcoder.ai/icd10/code/g89.18-other-acute-postprocedural-pain
Change history
- FY2016 — October 1, 2015In the code set at ICD-10-CM adoptionOther acute postprocedural pain
No changes since FY2016 — additions, deletions, description changes and billable-status changes are tracked through FY2027, and none are recorded for this code. Note changes are tracked from FY2027 only.
Nearest Codes in This Family
Official ICD-10-CM classifications closest to G89.18 in its code family, with their registry titles.
- G89 — Pain, not elsewhere classified
- G89.0 — Central pain syndrome
- G89.1 — Acute pain, not elsewhere classified
- G89.11 — Acute pain due to trauma
- G89.12 — Acute post-thoracotomy pain
- G89.2 — Chronic pain, not elsewhere classified
- G89.21 — Chronic pain due to trauma
- G89.22 — Chronic post-thoracotomy pain
- G89.28 — Other chronic postprocedural pain
- G89.29 — Other chronic pain