2027 ICD-10-CM Diagnosis Code T87.40Infection of amputation stump, unspecified extremity

ICD-10-CM Codes›S00–T88›T80-T88›T87

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

T87.40 is a billable ICD-10-CM diagnosis code for infection of amputation stump, unspecified extremity. It is valid on HIPAA claims for fiscal year 2027 (October 1, 2026 through September 30, 2027) and groups to MS-DRG 564 through 566. 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 61 closely related codes. The code is flagged as an unspecified code, since codes identifying laterality exist in the same family. Coders also document this condition as chronic infection as complication of amputation. In AHRQ's Clinical Classifications Software (CCSR), this diagnosis falls under Complication of other surgical or medical care, injury, initial encounter.

For Medicare Advantage risk adjustment, T87.40 maps to CMS-HCC Category 409 (Amputation Status, Lower Limb/Amputation Complications) under the V28 model, adding a risk factor of about 0.598 for a community, non-dual, aged beneficiary in payment year 2027.

Code Identity

ICD-10-CM Code
T87.40
Billable Status
Yes — Valid for Submission
Code Describes
Infection of amputation stump, unspecified extremity
Short Description
Infection of amputation stump, unspecified extremity
Same as the full description in the CMS dataset.
Parent Code
Infection of amputation stump

Code Classification

ChapterS00–T88Injury, poisoning and certain other consequences of external causes
SectionT80-T88Complications of surgical and medical care, not elsewhere classified
CategoryT87Complications peculiar to reattachment and amputation
This CodeT87.40Infection of amputation stump, unspecified extremity

Code EditsBilling

Medicare Code Editor checks that affect claim validity for T87.40.

Unspecified codes exist in the ICD-10-CM classification for circumstances when documentation in the medical record does not provide the level of detail needed to support reporting a more specific code. However, in the inpatient setting, there should generally be very limited and rare circumstances for which the laterality (right, left, bilateral) of a condition is unable to be documented and reported. The following pages contain the list of unspecified ICD-10-CM diagnosis codes for which there is a more specific code to identify laterality (right, left, bilateral) within that code family.

Medicare Risk Adjustment (HCC)Billing

T87.40 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 409— Amputation Status, Lower Limb/Amputation Complications
Payment HCC · PY 2027 one of 44 ICD-10-CM codes in this category
Risk Adjustment Factor (RAF) Weight
+0.598
community, non-dual, aged · ranges 0.284–0.844 across segments
Hierarchy
Superseded by HCC 263 and HCC 405
a more severe related category takes the payment when both are reported
Prior Model (CMS-HCC V24)
HCC 189
V24 retired V28 pays 100% of MA risk scores since PY 2026
Other CMS Models
PACE (CMS-HCC V22): HCC 189 · ESRD (V21): HCC 189 · ESRD (V24): HCC 189
ESRD V21 weights: 0.090 dialysis, 0.339–0.654 functioning graft · ESRD V24 weights: 0.081 dialysis, 0.396–0.831 functioning graft
Part D (RxHCC)
Not mapped
T87.40 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.

  • Chronic infection as complication of amputation
  • Chronic infection of amputation stump
  • Infection of amputation stump

Coding GuidelinesGuidance

The appropriate 7th character is to be added to each code from block Complications peculiar to reattachment and amputation (T87). Use the following options for the applicable episode of care:

  • A - initial encounter
  • D - subsequent encounter
  • S - sequela

Source: ICD-10-CM Official Guidelines for Coding and Reporting, FY 2027, published by CMS and the National Center for Health Statistics.

Instructional NotesGuidance

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

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 Block T80-T88 Complications of surgical and medical care, not elsewhere classified applies to 1,683 codes
  • any encounters with medical care for postprocedural conditions in which no complications are present, such as:
  • artificial opening status (Z93.-)
  • closure of external stoma (Z43.-)
  • fitting and adjustment of external prosthetic device (Z44.-)
  • burns and corrosions from local applications and irradiation (T20-T32)
  • complications of surgical procedures during pregnancy, childbirth and the puerperium (O00-O9A)
  • mechanical complication of respirator [ventilator] (J95.850)
  • poisoning and toxic effects of drugs and chemicals (T36-T65 with fifth or sixth character 1-4 or 6)
  • postprocedural fever (R50.82)
  • specified complications classified elsewhere, such as:
  • cerebrospinal fluid leak from spinal puncture (G97.0)
  • colostomy malfunction (K94.0-)
  • disorders of fluid and electrolyte imbalance (E86-E87)
  • functional disturbances following cardiac surgery (I97.0-I97.1)
  • intraoperative and postprocedural complications of specified body systems (D78.-, E36.-, E89.-, G97.3-, G97.4, H59.3-, H59.-, H95.2-, H95.3, I97.4-, I97.5, J95.6-, J95.7, K91.6-, L76.-, M96.-, N99.-)
  • ostomy complications (J95.0-, K94.-, N99.5-)
  • postgastric surgery syndromes (K91.1)
  • postlaminectomy syndrome NEC (M96.1)
  • postmastectomy lymphedema syndrome (I97.2)
  • postsurgical blind-loop syndrome (K91.2)
  • ventilator associated pneumonia (J95.851)
From Chapter 19 (S00-T88) Injury, poisoning and certain other consequences of external causes applies to 41,187 codes

Use Additional Code

Add a second code, after this one, to fully describe the condition.

From Block T80-T88 Complications of surgical and medical care, not elsewhere classified applies to 1,683 codes
  • code for adverse effect, if applicable, to identify drug (T36-T50 with fifth or sixth character 5)
  • code(s) to identify the specified condition resulting from the complication
  • code to identify devices involved and details of circumstances (Y62-Y82)
From Chapter 19 (S00-T88) Injury, poisoning and certain other consequences of external causes applies to 41,187 codes
  • code to identify any retained foreign body, if applicable (Z18.-)

Notes

General instructions on how these codes are used.

From Chapter 19 (S00-T88) Injury, poisoning and certain other consequences of external causes applies to 41,187 codes
  • Use secondary code(s) from Chapter 20, External causes of morbidity, to indicate cause of injury. Codes within the T section that include the external cause do not require an additional external cause code
  • The chapter uses the S-section for coding different types of injuries related to single body regions and the T-section to cover injuries to unspecified body regions as well as poisoning and certain other consequences of external causes.

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

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 INJ037
Complication of other surgical or medical care, injury, initial encounter
Default principal diagnosis: inpatient Yes · outpatient Yes

Patient EducationClinical

Limb Loss

People can lose all or part of an arm or leg for many reasons. Common ones include:

Read the full article at MedlinePlus

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

Convert T87.40 to ICD-9-CMHistory

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

ICD-9-CM
997.62 Infection amputat stump
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–2026No changes
FY 2027CurrentCurrent code set, no changesEffective October 1, 2026 through September 30, 2027.

Questions About T87.40Overview

What is the ICD-10 code for infection of amputation stump, unspecified extremity?

The ICD-10-CM code for infection of amputation stump, unspecified extremity is T87.40 (sometimes written as T8740). It is billable on HIPAA-covered claims from October 1, 2026 through September 30, 2027.

Is T87.40 (Infection of amputation stump) a billable code?

Yes. This is a billable ICD-10-CM code, specific enough to report infection of amputation stump, unspecified extremity on HIPAA-covered claims from October 1, 2026 through September 30, 2027.

What MS-DRG does T87.40 group to?

When infection of amputation stump, unspecified extremity is the principal diagnosis on an inpatient stay, it groups to MS-DRG 564, 566, 565, with relative weights from 0.7374 to 1.4909 depending on complications. Higher weights mean higher Medicare reimbursement.

Is T87.40 a CC or MCC?

CMS lists T87.40 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 61 closely related codes in its exclusion list.

What is the ICD-9 equivalent of T87.40?

Under the General Equivalence Mappings, infection of amputation stump, unspecified extremity converts to ICD-9-CM 997.62 (infection amputat stump). The mapping is approximate, so confirm the match fits the documentation.

What HCC is T87.40?

T87.40 (infection of amputation stump, unspecified extremity) maps to CMS-HCC Category 409 (Amputation Status, Lower Limb/Amputation Complications), commonly written as HCC 409, in the CMS-HCC V28 model used for Medicare Advantage risk adjustment in payment year 2027. It mapped to HCC 189 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 T87.40 risk-adjust for Medicare Advantage payment?

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