2027 ICD-10-CM Diagnosis Code T18.5XXAForeign body in anus and rectum, initial encounter

ICD-10-CM Codes›S00–T88›T15-T19›T18

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

T18.5XXA is a billable ICD-10-CM diagnosis code for foreign body in anus and rectum, initial encounter. The 7th character A marks it as an initial encounter code, used while the patient is receiving active treatment. 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. Coders also document this condition as foreign body in anus. In AHRQ's Clinical Classifications Software (CCSR), this diagnosis falls under Effect of foreign body entering opening, initial encounter; External cause codes: intent of injury, accidental/unintentional; and External cause codes: other specified, classifiable and NEC; initial encounter.

Code Identity

ICD-10-CM Code
T18.5XXA
Billable Status
Yes — Valid for Submission
Code Describes
Foreign body in anus and rectum, initial encounter
Short Description
Foreign body in anus and rectum, initial encounter
Same as the full description in the CMS dataset.
Parent Code
Foreign body in anus and rectum

Code Classification

ChapterS00–T88Injury, poisoning and certain other consequences of external causes
SectionT15-T19Effects of foreign body entering through natural orifice
CategoryT18Foreign body in alimentary tract
This CodeT18.5XXAForeign body in anus and rectum, initial encounter

Approximate SynonymsGuidance

Alternate terms and clinical phrases that map to this code.

  • Foreign body in anus
  • Foreign body in anus and rectum
  • Foreign body in colon
  • Foreign body in rectosigmoid junction
  • Foreign body in rectum
  • Foreign body in sigmoid colon
  • Foreign body of large intestine

Coding GuidelinesGuidance

The appropriate 7th character is to be added to each code from block Foreign body in alimentary tract (T18). 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 T18.5XXA: its own notes plus those printed at T18, block T15-T19, 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 T18 Foreign body in alimentary tract applies to 45 codes
  • foreign body in pharynx (T17.2-)
From Block T15-T19 Effects of foreign body entering through natural orifice applies to 261 codes
  • foreign body accidentally left in operation wound (T81.5-)
  • foreign body in penetrating wound - See open wound by body region
  • residual foreign body in soft tissue (M79.5)
  • splinter, without open wound - See superficial injury by body region
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 T15-T19 Effects of foreign body entering through natural orifice applies to 261 codes
  • code, if known, for foreign body entering into or through a natural orifice (W44.-)
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.

7th Character

Every code in the category takes a 7th character from the listed values, with the placeholder X filling any empty positions before it.

From T18 Foreign body in alimentary tract applies to 45 codes
  • The appropriate 7th character is to be added to each code from category T18
  • Ainitial encounter this code
  • Dsubsequent encounter
  • Ssequela

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

Referenced in Other NotesGuidance

Instructional notes printed at other codes that name T18.5XXA, its category, or a range that includes it.

Excludes2 2

These codes carry an Excludes2 note naming T18.5XXA: its condition is not part of those codes, and both may be reported when the patient has both.

  • Block S30-S39 Injuries to the abdomen, lower back, lumbar spine, pelvis and external genitals
    effects of foreign body in anus and rectum (T18.5) names T18.5, which includes this code
  • Z03.82 Encounter for observation for suspected foreign body ruled out
    foreign body in alimentary tract (T18) names T18, which includes this code

External Cause of Injuries IndexGuidance

References for this code in the External Cause of Injuries Index; each main term links to its index entry.

  • Aspiration
    • food (any type) (into respiratory tract) (with asphyxia, obstruction respiratory tract, suffocation)

Clinical ClassificationClinical

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

CCSR INJ020
Effect of foreign body entering opening, initial encounter
Default principal diagnosis: inpatient Yes · outpatient Yes
CCSR EXT020
External cause codes: intent of injury, accidental/unintentional
Default principal diagnosis: inpatient No · outpatient No
CCSR EXT018
External cause codes: other specified, classifiable and NEC; initial encounter
Default principal diagnosis: inpatient No · outpatient No

Patient EducationClinical

Foreign Bodies

If you've ever gotten a splinter or had sand in your eye, you've had experience with a foreign body. A foreign body is something that is stuck inside you but isn't supposed to be there. You may inhale or swallow a foreign body, or you may get one from an injury to almost any part of your body.

Read the full article at MedlinePlus

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

Convert T18.5XXA to ICD-9-CMHistory

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

ICD-9-CM
937 Foreign body anus/rectum
ApproximateCombination The match is approximate, and more than one code can be needed to describe the source diagnosis. Confirm with contextual judgment.
ICD-9-CM
E915 FB entering oth orifice
ApproximateCombination The match is approximate, and more than one code can be needed to describe the source diagnosis. Confirm with contextual judgment.

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 T18.5XXAOverview

What is the ICD-10 code for foreign body in anus and rectum, initial encounter?

The ICD-10-CM code for foreign body in anus and rectum, initial encounter is T18.5XXA (sometimes written as T185XXA). It is billable on HIPAA-covered claims from October 1, 2026 through September 30, 2027.

Is T18.5XXA (Foreign body in anus and rectum) a billable code?

Yes. This is a billable ICD-10-CM code, specific enough to report foreign body in anus and rectum, initial encounter on HIPAA-covered claims from October 1, 2026 through September 30, 2027.

What does the 7th character A in T18.5XXA mean?

The final character A marks the initial encounter: use it while the patient is receiving active treatment for foreign body in anus and rectum, such as an emergency visit or first evaluation.

What MS-DRG does T18.5XXA group to?

When foreign body in anus and rectum, initial encounter 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.

What is the ICD-9 equivalent of T18.5XXA?

Under the General Equivalence Mappings, foreign body in anus and rectum, initial encounter converts to ICD-9-CM 937 (foreign body anus/rectum) and E915 (FB entering oth orifice). The mapping is approximate, so confirm the match fits the documentation.