Pain Management ICD-10-CM codes cheat sheet

The pain diagnosis codes used most, grouped by type and site, with the rules for when a G89 code comes first. All 67 codes are billable in the FY 2027 code set.

Pain Management ICD-10 codes

Grouped the way the visit goes. Open a code for its official description, notes, and the codes beside it.

Coding tips for pain management

  1. 1

    When a G89 code goes first

    When pain control or pain management is the reason for the visit, list the G89 code first and the site of the pain after it. For any other visit without a confirmed diagnosis, list the site first and the G89 code after.

  2. 2

    No G89 code without acute, chronic or a cause

    Don’t use G89 unless the note says acute, chronic, post-thoracotomy, postprocedural or neoplasm-related. Don’t use it when the underlying diagnosis is known, either, unless the visit is for pain control.

  3. 3

    Chronic pain syndrome is not chronic pain

    G89.4 is only for chronic pain syndrome the provider has documented by name. Chronic pain on its own goes to G89.2-, such as G89.29.

  4. 4

    Cancer pain is G89.3, acute or chronic

    Use G89.3 for pain related to cancer or a tumor. It goes first when the visit is for pain control, and as an additional code when the visit is for the cancer itself.

  5. 5

    Pain after surgery

    Routine or expected pain right after surgery isn’t coded. Postoperative pain without a complication goes to a postoperative G89 code, such as G89.18 (acute) or G89.28 (chronic), and defaults to acute when the note doesn’t say.

Codes to stop using

These codes still turn up on superbills, but they can’t be billed on their own in the FY 2027 code set.

M54.5

Low back pain

Low back pain now has three codes.

UseM54.50M54.51M54.59

M51.36

Other intervertebral disc degeneration, lumbar region

Lumbar disc degeneration now says where the pain is.

UseM51.360M51.361M51.362M51.369

M51.37

Other intervertebral disc degeneration, lumbosacral region

Lumbosacral disc degeneration now says where the pain is.

UseM51.370M51.371M51.372M51.379

M79.1

Myalgia

Myalgia now names the site.

UseM79.10M79.11M79.12M79.18

R51

Headache

Headache needs a fourth character.

UseR51.9R51.0

Use the list as a starting point

A common-code collection can speed up navigation, but it cannot determine the correct diagnosis code. Review the complete record, select the most specific supported code, and confirm official and payer guidance before use.

Source and release

Data release
U.S. ICD-10-CM · FY 2027
Effective date
Oct 1, 2026

Vero chose the pain management codes on this list. Code names and descriptions come from the FY 2027 ICD-10-CM data published by CDC/NCHS, and each coding tip links to the official guideline, Medicare manual, or code note it comes from.

Source: CDC. ICD-10-CM is developed by CDC’s National Center for Health Statistics (NCHS) under the World Health Organization’s authorization, and it is available free of charge on CDC’s website.

Vero’s use of ICD-10-CM, including links to CDC’s website, does not imply endorsement by CDC, the U.S. Department of Health and Human Services, or the U.S. Government of Vero Scribe Inc. or its products and services.

Frequently asked questions

What is the ICD-10 code for pain?

There isn’t one code. Pain at a known site is coded to that site, such as M54.50 for low back pain or M25.561 for right knee pain. R52 is for pain NOS with no site, and G89 codes describe acute, chronic, postprocedural or neoplasm-related pain.

What is the ICD-10 code for chronic pain?

G89.29 (other chronic pain) for chronic pain not elsewhere classified, G89.21 when it’s due to trauma, G89.28 after a procedure, and G89.3 for neoplasm-related pain. G89.4 is chronic pain syndrome, only when the provider documents that condition.

What is the ICD-10 code for pain management?

ICD-10-CM codes the pain, not the service. When pain control is the reason for the visit, list the G89 code first, such as G89.29 for chronic pain, then the code for the site of the pain. This page groups 67 common pain codes.

Is M54.5 still valid for low back pain?

No. Use M54.50 (low back pain, unspecified), M54.51 (vertebrogenic low back pain) or M54.59 (other low back pain).

Is this a complete list of ICD-10-CM codes for Pain Management?

No. This is a curated navigation list of commonly referenced codes, not a complete Pain Management code set or coding recommendation.

How should I use the Pain Management code references?

Open an individual code page to review its FY 2027 description, hierarchy, and coding notes, then confirm the active code set, documentation, official guidance, and payer requirements before use.