2027 ICD-10-CM Diagnosis Code B87.2Ocular myiasis

ICD-10-CM Codes›A00–B99›B85-B89›B87

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

B87.2 is a billable ICD-10-CM diagnosis code for ocular myiasis. It is valid on HIPAA claims for fiscal year 2027 (October 1, 2026 through September 30, 2027) and groups to MS-DRG 606 through 607. Coders also document this condition as external ocular myiasis. In AHRQ's Clinical Classifications Software (CCSR), this diagnosis falls under Parasitic, other specified and unspecified infections.

Code Identity

ICD-10-CM Code
B87.2
Billable Status
Yes — Valid for Submission
Code Describes
Ocular myiasis
Short Description
Ocular myiasis
Same as the full description in the CMS dataset.
Parent Code
Myiasis

Code Classification

ChapterA00–B99Certain infectious and parasitic diseases
SectionB85-B89Pediculosis, acariasis and other infestations
CategoryB87Myiasis
This CodeB87.2Ocular myiasis

Approximate SynonymsGuidance

Alternate terms and clinical phrases that map to this code.

  • External ocular myiasis
  • Infestation of orbit caused by fly larvae
  • Internal ocular myiasis
  • Ophthalmic myiasis
  • Parasitic infestation of orbit

Instructional NotesGuidance

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

Includes

Further defines, or gives examples of, the content of the category.

From B87 Myiasis applies to 9 codes
  • infestation by larva of flies
From Chapter 1 (A00-B99) Certain infectious and parasitic diseases applies to 1,068 codes
  • diseases generally recognized as communicable or transmissible

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 Chapter 1 (A00-B99) Certain infectious and parasitic diseases applies to 1,068 codes
  • carrier or suspected carrier of infectious disease (Z22.-)
  • certain localized infections - see body system-related chapters
  • infectious and parasitic diseases complicating pregnancy, childbirth and the puerperium (O98.-)
  • infectious and parasitic diseases specific to the perinatal period (P35-P39)
  • influenza and other acute respiratory infections (J00-J22)

Use Additional Code

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

From Chapter 1 (A00-B99) Certain infectious and parasitic diseases applies to 1,068 codes
  • code to identify resistance to antimicrobial drugs (Z16.-)

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 INF009
Parasitic, other specified and unspecified infections
Default principal diagnosis: inpatient Yes · outpatient Yes

Clinical InformationClinical

  • Myiasis

    the invasion of living tissues of man and other mammals by dipterous larvae.

Patient EducationClinical

Parasitic Diseases

Parasites are living things that use other living things - like your body - for food and a place to live. You can get them from contaminated food or water, a bug bite, or sexual contact. Some parasitic diseases are easily treated and some are not.

Read the full article at MedlinePlus

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

Convert B87.2 to ICD-9-CMHistory

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

ICD-9-CM
134.0 Myiasis
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 B87.2Overview

What is the ICD-10 code for ocular myiasis?

The ICD-10-CM code for ocular myiasis is B87.2 (sometimes written as B872). It is billable on HIPAA-covered claims from October 1, 2026 through September 30, 2027.

Is B87.2 (Myiasis) a billable code?

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

What MS-DRG does B87.2 group to?

When ocular myiasis is the principal diagnosis on an inpatient stay, it groups to MS-DRG 607, 606, with relative weights from 0.8772 to 1.5721 depending on complications. Higher weights mean higher Medicare reimbursement.

What is the ICD-9 equivalent of B87.2?

Under the General Equivalence Mappings, ocular myiasis converts to ICD-9-CM 134.0 (myiasis). The mapping is approximate, so confirm the match fits the documentation.