2027 ICD-10-CM Diagnosis Code K59.31Toxic megacolon

ICD-10-CM Codes›K00–K95›K55-K64›K59

ICD-10-CM K59.31
CMSSource: CMS FY 2027 ICD-10-CM dataset · Effective Oct 1, 2026 – Sep 30, 2027

K59.31 is a billable ICD-10-CM diagnosis code for toxic megacolon. It is valid on HIPAA claims for fiscal year 2027 (October 1, 2026 through September 30, 2027) and groups to MS-DRG 393 through 395. As a secondary diagnosis, it counts as a complication or comorbidity (CC) and moves an inpatient stay to a higher severity level within its MS-DRG family. It does not count, however, when the principal diagnosis is one of 15 closely related codes. Coders also document this condition as drug-induced megacolon. In AHRQ's Clinical Classifications Software (CCSR), this diagnosis falls under Drug induced or toxic related condition and Other specified and unspecified gastrointestinal disorders.

For Medicare Advantage risk adjustment, K59.31 maps to CMS-HCC Category 78 (Intestinal Obstruction/Perforation) under the V28 model, adding a risk factor of about 0.326 for a community, non-dual, aged beneficiary in payment year 2027.

Code Identity

ICD-10-CM Code
K59.31
Billable Status
Yes — Valid for Submission
Code Describes
Toxic megacolon
Short Description
Toxic megacolon
Same as the full description in the CMS dataset.
Parent Code
Megacolon, not elsewhere classified

Code Classification

ChapterK00–K95Diseases of the digestive system
SectionK55-K64Other diseases of intestines
CategoryK59Other functional intestinal disorders
This CodeK59.31Toxic megacolon

Medicare Risk Adjustment (HCC)Billing

K59.31 maps to a payment category in the CMS-HCC model used to risk-adjust Medicare Advantage payments. Weights are the published community factors for payment year 2027.

CMS-HCC V28 Category (Payment Model)
HCC 78— Intestinal Obstruction/Perforation
Payment HCC · PY 2027 one of 76 ICD-10-CM codes in this category
Risk Adjustment Factor (RAF) Weight
+0.326
community, non-dual, aged · ranges 0.326–0.688 across segments
Hierarchy
Superseded by HCC 77
a more severe related category takes the payment when both are reported
Prior Model (CMS-HCC V24)
HCC 33
V24 retired V28 pays 100% of MA risk scores since PY 2026
Other CMS Models
PACE (CMS-HCC V22): HCC 33 · ESRD (V21): HCC 33 · ESRD (V24): HCC 33
ESRD V21 weights: 0.072 dialysis, 0.285–0.346 functioning graft · ESRD V24 weights: 0.078 dialysis, 0.250–0.474 functioning graft
Part D (RxHCC)
Not mapped
K59.31 does not risk-adjust in the RxHCC prescription drug model

Source: CMS Payment Year 2027 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.

Approximate SynonymsGuidance

Alternate terms and clinical phrases that map to this code.

  • Drug-induced megacolon
  • Secondary acquired megacolon
  • Toxic megacolon due to ulcerative colitis
  • Toxic state
  • Toxic state due to colonic dilatation

Instructional NotesGuidance

Instructions from the official ICD-10-CM Tabular List that apply to K59.31: its own notes plus those printed at K59.3, K59, and Chapter 11. A note printed at a category, block or chapter applies to every code under it.

Excludes1

Not coded here: the excluded code is never reported together with this one, unless the two conditions are unrelated.

From K59.3 Megacolon, not elsewhere classified applies to 2 codes
  • congenital megacolon (aganglionic) (Q43.1)
  • megacolon (due to) (in) Chagas' disease (B57.32)
  • megacolon (due to) (in) Clostridium difficile (A04.7-)
  • megacolon (due to) (in) Hirschsprung's disease (Q43.1)
From K59 Other functional intestinal disorders applies to 14 codes
  • change in bowel habit NOS (R19.4)
  • intestinal malabsorption (K90.-)
  • psychogenic intestinal disorders (F45.8)

Excludes2

Not included here: the excluded condition is not part of this code, but a patient may have both, so both codes may be reported.

From K59 Other functional intestinal disorders applies to 14 codes
  • functional disorders of stomach (K31.-)
From Chapter 11 (K00-K95) Diseases of the digestive system applies to 863 codes
  • certain conditions originating in the perinatal period (P04-P96)
  • certain infectious and parasitic diseases (A00-B99)
  • complications of pregnancy, childbirth and the puerperium (O00-O9A)
  • congenital malformations, deformations and chromosomal abnormalities (Q00-Q99)
  • endocrine, nutritional and metabolic diseases (E00-E88)
  • injury, poisoning and certain other consequences of external causes (S00-T88)
  • neoplasms (C00-D49)
  • symptoms, signs and abnormal clinical and laboratory findings, not elsewhere classified (R00-R94)

Code First

The underlying condition named in the note is sequenced before this code.

From K59.3 Megacolon, not elsewhere classified applies to 2 codes
  • if applicable (T51-T65) to identify toxic agent

Source: CMS ICD-10-CM Tabular List. How to read instructional notes.

Referenced in Other NotesGuidance

Instructional notes printed at other codes that name K59.31, its category, or a range that includes it.

Excludes1 1

These codes carry an Excludes1 note naming K59.31: they are not reported together with it, unless the two conditions are unrelated.

  • Block K50-K52 Noninfective enteritis and colitis
    megacolon (K59.3-) names K59.3-, which includes this code

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 INJ030
Drug induced or toxic related condition
Default principal diagnosis: inpatient No · outpatient No
CCSR DIG025
Other specified and unspecified gastrointestinal disorders
Default principal diagnosis: inpatient Yes · outpatient Yes

Clinical InformationClinical

  • Megacolon, Toxic

    an acute form of megacolon, severe pathological dilatation of the colon. it is associated with clinical conditions such as ulcerative colitis; crohn disease; amebic dysentery; or clostridium enterocolitis.

Patient EducationClinical

Colonic Diseases

Your colon, also known as the large intestine, is part of your digestive system. It's a long, hollow tube at the end of your digestive tract where your body makes and stores stool. Many disorders affect the colon's ability to work properly. Some of these include:

Read the full article at MedlinePlus

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

Convert K59.31 to ICD-9-CMHistory

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

ICD-9-CM
556.9 Ulceratve colitis unspcf
Approximate The match is approximate rather than exact.

Code History & ChangesHistory

Replacement K59.31 replaces the following previously assigned code(s):

  • K59.3 - Megacolon, not elsewhere classified
FY 2019AddedAdded to the ICD-10-CM code setEffective October 1, 2018.
FY 2020–2026No changes
FY 2027CurrentCurrent code set, no changesEffective October 1, 2026 through September 30, 2027.

Questions About K59.31Overview

What is the ICD-10 code for toxic megacolon?

The ICD-10-CM code for toxic megacolon is K59.31 (sometimes written as K5931). It is billable on HIPAA-covered claims from October 1, 2026 through September 30, 2027.

Is K59.31 (Megacolon, not elsewhere classified) a billable code?

Yes. This is a billable ICD-10-CM code, specific enough to report toxic megacolon on HIPAA-covered claims from October 1, 2026 through September 30, 2027.

What MS-DRG does K59.31 group to?

When toxic megacolon is the principal diagnosis on an inpatient stay, it groups to MS-DRG 394, 395, 393, with relative weights from 0.6379 to 1.5877 depending on complications. Higher weights mean higher Medicare reimbursement.

Is K59.31 a CC or MCC?

CMS lists K59.31 as a CC (complication or comorbidity) for FY 2027. Reported as a secondary diagnosis, it moves the inpatient stay to a higher-weighted DRG within its severity family. It does not count when the principal diagnosis is one of the 15 closely related codes in its exclusion list.

Can K59.31 be reported with Q43.1?

Not as a rule. The Excludes1 note at K59.3, which applies to K59.31, lists "congenital megacolon (aganglionic) (Q43.1)". An Excludes1 note means the excluded code is never reported together with this one; the only exception is when the two conditions are unrelated to each other (Official Guidelines, Section I.A.12.a).

What HCC is K59.31?

K59.31 (toxic megacolon) maps to CMS-HCC Category 78 (Intestinal Obstruction/Perforation), commonly written as HCC 78, in the CMS-HCC V28 model used for Medicare Advantage risk adjustment in payment year 2027. It mapped to HCC 33 under the retired V24 model. It also maps in the PACE (CMS-HCC V22), ESRD (V21), and ESRD (V24) models. It does not map to any RxHCC in the Part D prescription drug model.

Does K59.31 risk-adjust for Medicare Advantage payment?

Yes. When documented and reported on a Medicare Advantage encounter, K59.31 adds a risk adjustment factor of about 0.326 to the beneficiary's RAF score for a community, non-dual, aged enrollee (published V28 weights range from 0.326 to 0.688 depending on the payment segment). A more severe related category (HCC 77) supersedes it when both are reported. See the full factor table on the HCC 78 category page.