Bilateral Knee Osteoarthritis ICD-10 Code M17.0 Explained

Listen to this article

The bilateral knee osteoarthritis ICD-10 code is M17.0, bilateral primary osteoarthritis of knee. It’s billable in the FY 2027 code set and replaces any need for separate right and left codes when primary osteoarthritis affects both knees. Below: the full M17 code map, the most common laterality mistakes, coding after a knee replacement, and how M17.0 supports injections and imaging.

The M17 Code Map

Category M17 splits knee osteoarthritis by type (primary, post-traumatic or other secondary) and by side. Bilateral codes exist for each type, so you rarely need two codes for two knees. Knee claims sit inside the larger orthopedic workflow covered in our orthopedic billing guide for CPT codes and modifiers.

CodeMeaningUse when
M17.0Bilateral primary OA of kneePrimary OA in both knees
M17.11 / M17.12Unilateral primary OA, right / left kneePrimary OA in one knee only
M17.10Unilateral primary OA, unspecified kneeOne knee, side not documented
M17.2Bilateral post-traumatic OA of kneeBoth knees, after injury
M17.31 / M17.32Unilateral post-traumatic OA, right / left kneeOne knee, after injury
M17.4Other bilateral secondary OA of kneeBoth knees, other documented cause
M17.5Other unilateral secondary OA of kneeOne knee, other cause; no side digit
M17.9OA of knee, unspecifiedKnee OA with no detail on type or side
Grid of knee osteoarthritis codes M17.0 to M17.5 by type and by knee
Pick the type of osteoarthritis first, then the knee or knees.

When the provider writes “osteoarthritis of both knees” and documents no injury or other cause, the condition is coded as primary, M17.0. Post-traumatic and secondary codes need the provider to state that cause.

M17.0, Not M17.11 Plus M17.12

The most common error on bilateral knee OA claims is reporting the right and left unilateral codes together. The ICD-10-CM Official Guidelines for Coding and Reporting FY 2027 say to use separate side codes only when no bilateral code exists. M17.0 exists, so it’s the correct choice.

The reverse error also shows up: M17.11 is right-knee OA, not a bilateral code, despite older guides that call it one. Modifier 50 never applies to diagnosis codes; it belongs on procedure lines, which our guide to CPT modifiers explains.

Coding After a Knee Replacement

Before and after a right knee replacement, M17.0 changes to M17.12 plus Z96.651
Once one knee is replaced, code the remaining knee’s OA and the artificial joint.

Bilateral OA stays M17.0 until one knee no longer has the condition. After a right total knee replacement, later visits use M17.12 for the left knee plus Z96.651, presence of right artificial knee joint. If both knees have been replaced, Z96.653 reports the bilateral artificial joints. This follows the laterality guideline for bilateral conditions treated in separate encounters.

Knee Pain With Osteoarthritis

Don’t add M25.561 or M25.562, knee pain, when the pain is from the documented osteoarthritis; pain is a routine part of the diagnosis. Pain codes fit visits where no cause has been found yet, as our knee pain ICD-10 coding guide explains.

Procedures Commonly Billed With M17.0

A knee injection or aspiration is reported with CPT 20610 without ultrasound guidance or 20611 with it. For both knees, payers differ on modifier 50 versus RT and LT lines, so follow each payer’s rule. Viscosupplement drugs carry their own HCPCS J codes, and many payers apply coverage limits tied to failed conservative treatment.

Weight-bearing X-rays of both knees, such as CPT 73565, and total knee arthroplasty (CPT 27447) also link back to the M17 code for the knee involved. Medical necessity for imaging and injections depends on what the note says, which our knee medical necessity documentation guide covers in detail.

Sample Coding Scenario

Sample (fictional data). A 66-year-old patient has worsening pain and stiffness in both knees. Standing X-rays show joint-space narrowing on both sides, and the provider documents primary osteoarthritis of both knees, then injects both knees with a corticosteroid without imaging guidance.

Coding: M17.0 as the diagnosis. CPT 20610 for both knees, billed with modifier 50 or with RT and LT lines depending on the payer, each linked to M17.0. Change the details to match your own patient’s record.

Common Denials and Fixes

A CARC, or claim adjustment reason code, appears on the remittance and explains why a line was denied or reduced.

ProblemWhy it failsFix
M17.11 and M17.12 on one claimA bilateral code existsReport M17.0 alone.
Bilateral 20610 denied (CARC 4 or 16)Wrong modifier format for that payerRebill with the payer’s bilateral convention.
M17.0 after one knee was replacedThe replaced knee no longer has OAUse M17.11 or M17.12 plus Z96.65-.
Injection denied as not necessary (CARC 50)No documented failed conservative careDocument prior therapy and current function.

Frequently Asked Questions

What is the ICD-10 code for bilateral knee osteoarthritis?

The code is M17.0, bilateral primary osteoarthritis of knee. It’s billable in the FY 2027 code set. Use it when the provider documents osteoarthritis in both knees and no injury or other cause. Post-traumatic OA of both knees uses M17.2, and other secondary OA of both knees uses M17.4.

Is M17.11 a bilateral code?

No. M17.11 is unilateral primary osteoarthritis of the right knee, and M17.12 is the left knee. Neither one is a bilateral code. When both knees have primary osteoarthritis, report M17.0 instead of listing the two unilateral codes together on the same claim.

How do I code OA in one knee and a replacement in the other?

Report the unilateral OA code for the knee that still has osteoarthritis, M17.11 or M17.12, and add the Z96.65- code for the replaced knee, such as Z96.651 for a right artificial knee joint. Don’t keep using M17.0 once one knee no longer has the condition.

What is the difference between M17.0 and M17.9?

M17.0 tells the payer the osteoarthritis is primary and affects both knees. M17.9, osteoarthritis of knee unspecified, gives neither detail. Use M17.9 only when the record truly doesn’t say which knee or knees are involved; a quick provider query usually resolves it.

Getting Knee OA Claims Right

Bilateral knee osteoarthritis ICD-10 coding comes down to type and side: M17.0 for primary OA in both knees, the unilateral codes only when one knee is involved, and Z96.65- once a knee is replaced. The current tables are on the CMS ICD-10 code sets page. If orthopedic claims keep coming back with laterality or modifier denials, contact the EzMedPro team about medical billing and coding support.

Sources: CMS ICD-10-CM FY 2027 code set and the ICD-10-CM Official Guidelines for Coding and Reporting FY 2027 (CMS and CDC/NCHS). CPT is a registered trademark of the American Medical Association. This article explains coding and billing only and is not medical or legal advice.