2026 ICD-10-CM Diagnosis Code K87Disorders of gallbladder, biliary tract and pancreas in diseases classified elsewhere

ICD-10-CM CodesK00–K95K80-K87K87

ICD-10-CM K87
CMSSource: CMS FY 2026 ICD-10-CM dataset · Effective Oct 1, 2025 – Sep 30, 2026

K87 is a billable ICD-10-CM diagnosis code for disorders of gallbladder, biliary tract and pancreas in diseases classified elsewhere. It is valid on HIPAA claims for fiscal year 2026 (October 1, 2025 through September 30, 2026) and groups to MS-DRG 444 through 446. The code is a manifestation code that cannot be reported as the principal diagnosis. In AHRQ's Clinical Classifications Software (CCSR), this diagnosis falls under Biliary tract disease.

K87 does not risk-adjust for Medicare Advantage under the CMS-HCC V28 model. It still risk-adjusts in the RxHCC Part D (V08) category 66 for payment year 2026.

Code Identity

ICD-10-CM Code
K87
Billable Status
Yes — Valid for Submission
Code Describes
Disorders of gallbladder, biliary tract and pancreas in diseases classified elsewhere
Short Description
Disord of GB, biliary trac and pancreas in dis classd elswhr
Chapter
K80-K87
Disorders of gallbladder, biliary tract and pancreas

Code Classification

ChapterK00–K95Diseases of the digestive system
SectionK80-K87Disorders of gallbladder, biliary tract and pancreas
CategoryK87Disorders of gallbladder, biliary tract and pancreas in diseases classified elsewhere
This CodeK87Disorders of gallbladder, biliary tract and pancreas in diseases classified elsewhere

Code EditsBilling

Medicare Code Editor checks that affect claim validity for K87.

Manifestation codes describe the manifestation of an underlying disease, not the disease itself, and therefore should not be used as a principal diagnosis.

Medicare Risk Adjustment (HCC)Billing

K87 does not risk-adjust for Medicare Advantage under the CMS-HCC V28 model, but it maps to payment categories in the other CMS models shown below.

CMS-HCC V28 (Medicare Advantage Payment Model)
Not mapped
no payment category in the model that pays 100% of MA risk scores
Prior Model (CMS-HCC V24)
Not mapped under V24
this diagnosis newly risk-adjusts under the V28 model
Part D (RxHCC)
RxHCC 66 — Pancreatic Disorders and Intestinal Malabsorption, Except Pancreatitis
also risk-adjusts in the Part D prescription drug model (V08)

Source: CMS Payment Year 2026 risk adjustment mappings and model software. Weights are relative factors, not dollar amounts; a beneficiary's total RAF also includes demographics and interactions. Browse all CMS-HCC categories.

Tabular List NotesGuidance

Coding notes and annotation back-references applicable to this code.

Code First

  • underlying disease

Type 1 Excludes

  • cytomegaloviral pancreatitis B25.2
  • mumps pancreatitis B26.3
  • syphilitic gallbladder A52.74
  • syphilitic pancreas A52.74
  • tuberculosis of gallbladder A18.83
  • tuberculosis of pancreas A18.83

Index to Diseases and InjuriesGuidance

Alphabetical index entries that point to this code.

Clinical ClassificationClinical

AHRQ’s CCSR groups this code into broader clinical categories.

CCSR DIG017
Biliary tract disease
Default principal diagnosis: inpatient No · outpatient No

Patient EducationClinical

Bile Duct Diseases

Your liver makes a digestive juice called bile. Your gallbladder stores it between meals. When you eat, your gallbladder pushes the bile into tubes called bile ducts. They carry the bile to your small intestine. The bile helps break down fat. It also helps the liver get rid of toxins and wastes.

Read the full article at MedlinePlus

Courtesy of MedlinePlus, a service of the U.S. National Library of Medicine.

Convert K87 to ICD-9-CMHistory

The closest ICD-9-CM equivalents under the General Equivalence Mappings.

ICD-9-CM
576.8 Dis of biliary tract NEC
Approximate The match is approximate rather than exact.
ICD-9-CM
577.8 Pancreatic disease NEC
Approximate The match is approximate rather than exact.

Code HistoryHistory

FY 2016AddedAdded to the ICD-10-CM code setEffective October 1, 2015, the first year of ICD-10-CM.
FY 2017–2025No changes
FY 2026CurrentCurrent code set, no changesEffective October 1, 2025 through September 30, 2026.

Questions About K87Overview

Is K87 a billable code?

Yes. This is a billable ICD-10-CM code, specific enough to report disorders of gallbladder, biliary tract and pancreas in diseases classified elsewhere on HIPAA-covered claims from October 1, 2025 through September 30, 2026.

What MS-DRG does K87 group to?

On inpatient claims, disorders of gallbladder, biliary tract and pancreas in diseases classified elsewhere maps to MS-DRG 444, 445, 446, with relative weights from 0.8273 to 1.6709 depending on complications. Higher weights mean higher Medicare reimbursement.

Can K87 be a principal diagnosis?

No. This is a manifestation code: disorders of gallbladder, biliary tract and pancreas in diseases classified elsewhere describes the manifestation of an underlying disease rather than the disease itself, so the underlying condition is sequenced first.

What is the ICD-9 equivalent of K87?

Under the General Equivalence Mappings, disorders of gallbladder, biliary tract and pancreas in diseases classified elsewhere converts to ICD-9-CM 576.8 (dis of biliary tract NEC) and 577.8 (pancreatic disease NEC). The mapping is approximate, so confirm the match fits the documentation.

Does K87 risk-adjust for Medicare Advantage payment?

Not for Medicare Advantage: K87 maps to no category in the CMS-HCC V28 model. It still risk-adjusts in the RxHCC Part D (V08) category 66 (Pancreatic Disorders and Intestinal Malabsorption, Except Pancreatitis).