ICD-10 Code for Rib Pain: R07.89 Explained
The ICD-10 code for nonspecific rib pain changed in 2024 — if your practice or clearinghouse is still defaulting to the old code, that's a denial waiting to happen. Here's the current code, why it changed, and how to tell it apart from the related codes coders mix it up with.
Rib pain is a common presenting symptom with a wide range of possible causes, from muscle strain to costochondritis to a fracture — which is exactly why picking the right code matters more than it might seem.
The Current Code: R07.89
As of the Q3 2024 Coding Clinic update, nonspecific rib pain is coded to R07.89 ("Other chest pain"). This replaced the older convention of indexing rib pain under R07.81 (Pleurodynia), which is now considered clinically inaccurate for general rib pain — pleurodynia specifically refers to pain from inflammation of the muscles between the ribs, not rib pain broadly. If your EHR templates or superbills still point to R07.81 by default, that's worth updating.
When a More Specific Code Applies Instead
R07.89 is for pain without a confirmed underlying cause. If the documentation supports a more specific diagnosis, a more specific code should be used instead:
M94.0 (Chondrocostal junction syndrome) — for costochondritis, when there's inflammation at the rib-cartilage junction
S22.31 / S22.32 / S22.39 — for a confirmed rib fracture, by laterality
R07.82 (Intercostal pain) — when the pain is specifically located between the ribs rather than on the rib itself
Coding straight to R07.89 when the documentation actually supports one of these more specific diagnoses is a common source of downcoding and, in some cases, denials for insufficient specificity.
Common CPT Pairings
Rib pain workups typically involve ruling out cardiac or pulmonary causes before landing on a musculoskeletal diagnosis. Common CPT codes billed alongside R07.89 include the office visit E/M code, a chest X-ray (71046, two views) to rule out fracture or pulmonary involvement, and sometimes an EKG (93000) when the pain's location or the patient's risk factors raise any question of cardiac origin.
Documentation That Supports This Code
To support R07.89 cleanly, documentation should describe the pain's location, whether it's reproducible on palpation (which points toward a musculoskeletal cause), and note that cardiac and pulmonary causes were considered and ruled out or are pending further workup. Vague documentation that just says "chest wall pain" without ruling out cardiopulmonary causes can trigger medical necessity questions if imaging or cardiac testing was also billed.
Why Getting This Right Matters
Because rib pain sits at the intersection of several possible diagnoses — musculoskeletal, cardiac, pulmonary — coders need to read the full note carefully rather than defaulting to a generic pain code out of habit. A billing partner that's current on Coding Clinic updates like the 2024 R07.81-to-R07.89 change catches this kind of shift before it turns into a pattern of denials.
Get a free practice audit and we'll check whether your current coding templates and clearinghouse defaults are still current with the latest Coding Clinic guidance.
Frequently Asked Questions
Is R07.89 billable? Yes, R07.89 is a billable, specific ICD-10-CM code.
What was the old code for rib pain? R07.81 (Pleurodynia) was previously used, but the Q3 2024 Coding Clinic update moved general rib pain coding to R07.89, reserving R07.81 for pleurodynia specifically.
What's the difference between R07.89 and R07.82? R07.89 is for general rib/chest pain without a more specific cause identified; R07.82 (Intercostal pain) is used when the pain is specifically located between the ribs.
Should costochondritis be coded as R07.89? No — if costochondritis is confirmed, M94.0 is the more specific and appropriate code, not the general rib pain code.
Does a rib pain diagnosis justify billing a chest X-ray? Often yes, since ruling out fracture or pulmonary causes is standard clinical practice for rib pain, but documentation should reflect the clinical reasoning for the imaging to support medical necessity.