Allergic Reaction ICD-10 Codes: T78, T88.6 and Z88 Explained

Is your practice leaking revenue? Find out exactly where.

Book a 15-minute operational audit with our team.

Table of Contents

Medical coder matching an allergy diagnosis in a note to the correct ICD-10 code

Allergic reaction ICD-10 codes depend on what the provider documents. An active reaction such as food anaphylaxis goes to T78.0-, a drug reaction to T88.6, and a standing allergy to a Z88 (drug) or Z91.0- (other) status code. Most T codes also need a seventh character.

Allergy coding goes wrong in two predictable ways. A status code gets reported for a reaction that is happening today, or a reaction code gets reported for an allergy that is only noted in the chart. Either choice can send a claim to the wrong place. This guide sorts the codes by what the provider actually documents, and it uses the FY2027 code set, which applies to encounters from October 1, 2026 through September 30, 2027 (CMS).

It is written for practice managers, billers and coders, not for clinical decisions. Treatment belongs to the provider, so it is not covered here. If you work in an allergy practice, see our page on allergy and immunology billing. For the wider code-set picture, our guide to CPT, ICD-10 and HCPCS codes covers how ICD-10, CPT and HCPCS fit together.

Key takeaways

  • Reaction codes (T78, T88.6) describe something happening at the encounter; status codes (Z88, Z91.0-) describe an allergy the patient carries.
  • Anaphylaxis from food sits in T78.0-, one code per food group. Milk is T78.07 and eggs T78.08, not T78.03, which is other fish.
  • Old shortcuts are stale: T78.1XXA no longer exists as a billable code in the FY2027 list, and there is no wasp or ant sting status code.
  • T78 and T88.6 codes need a seventh character, and an X placeholder when the code is shorter than six characters.
  • Code the provider’s documented diagnosis. If no definitive diagnosis is reached, symptom codes may be reported instead.

Reaction codes versus allergy status codes

Start by asking one question: is the patient having an allergic reaction at this encounter, or does the chart simply record an allergy? The answer picks the code family before you look at any trigger.

Reaction codes live in the injury and adverse-effects chapter. Examples are T78.0- for anaphylaxis due to food and T88.6 for anaphylaxis due to a correctly given drug. Status codes live in the Z-code chapter. Z88 is titled allergy status to drugs, medicaments and biological substances, and Z91.0- is allergy status other than to drugs (code listing). A status code tells the payer the allergy exists. It does not tell the payer a reaction was treated.

The two families can appear on the same claim. The tabular list carries an Excludes2 note between Z88 and Z91.0-, which means each may still be reported when both conditions apply (Z88 notes). A patient treated for peanut anaphylaxis, with a documented penicillin allergy, is a plausible example.

Which code family fits which documentation
What the note says Code family Example
Anaphylaxis from a food, treated today T78.0- (food anaphylaxis) T78.01XA for peanuts
Anaphylaxis from a correctly given drug T88.6XXA Add a T36-T50 code with 5 as the fifth or sixth character to name the drug
Anaphylactic shock, cause not stated T78.2XXA Query the provider for the cause if possible
Other or unspecified allergy T78.40XA or T78.49XA Used when a more specific code does not fit
Known drug allergy, no reaction today Z88.- Z88.0 for penicillin
Known food, insect or latex allergy, no reaction today Z91.0- Z91.010 for peanuts

Source: ICD-10-CM FY2027 code listings (icdlist.com, icd-10codes.com, AAPC code pages), summarized by RCM Finder. Verify against the official tabular list.

Flow showing how allergy documentation leads to a reaction code or an allergy status code
Decide reaction versus status first, then pick the trigger, then add the seventh character. Source: RCM Finder.

ICD-10 codes for food allergic reactions

Anaphylaxis due to food is coded in T78.0-, with one subcode per food group. The code descriptors say anaphylactic reaction, not allergic reaction, so use them only when the provider documents anaphylaxis (T78.0 subcodes).

Food anaphylaxis codes in T78.0- (initial encounter shown)
Code Food group Billing note
T78.00XA Unspecified food Use when the food is not named
T78.01XA Peanuts Name the food in the note
T78.02XA Shellfish (crustaceans) Fish is a separate code
T78.03XA Other fish Not milk or eggs
T78.04XA / T78.05XA Fruits and vegetables / tree nuts and seeds Two separate codes
T78.06XA Food additives Separate from T78.09
T78.07- / T78.08- Milk and dairy / eggs Further divided by baked milk or baked egg response; confirm the final characters
T78.09XA Other food products Use when no listed group fits

Source: ICD-10-CM FY2027 listing for T78.0 (icdlist.com, icd-10codes.com, AAPC), summarized by RCM Finder. Seventh character A = initial encounter.

Two corrections matter here. First, milk and dairy is T78.07 and eggs is T78.08. T78.03 is other fish, so a milk claim coded T78.03 carries the wrong diagnosis. Second, the older general code T78.1XXA is no longer a complete code. In the FY2027 listing, T78.1 is divided into T78.11 (milk and dairy), T78.12 (eggs) and T78.19 (other adverse food reactions not elsewhere classified), each titled as an adverse food reaction rather than anaphylaxis (T78 listing).

Milk and egg codes need extra care. The listing now separates reactions in patients who tolerate baked milk or baked egg from those who react to it (T78.070, T78.071, T78.079, T78.080, T78.081) (AAPC code page). Those distinctions have to come from the provider’s note. A biller cannot choose them. If the note says only milk, query the provider before submitting.

“A diagnosis code is only as specific as the note behind it. When the trigger or severity is missing, ask before the claim goes out, not after the denial comes back.”

ICD-10 codes for drug allergies and drug reactions

A drug allergy can be coded two ways, and the difference is whether anything happened at the visit. A current anaphylactic reaction to a correctly given drug goes to T88.6. A known allergy with no reaction goes to a Z88 status code.

T88.6 is titled anaphylactic reaction due to adverse effect of correct drug or medicament properly administered. It carries a use-additional-code note to name the drug from T36-T50 with 5 as the fifth or sixth character. It also has an Excludes1 note for anaphylaxis due to serum (T80.5-) and for anaphylactic reaction due to adverse food reaction (T78.0-) (AAPC T88.6 entry). Excludes1 means those codes are not reported together with T88.6 unless the conditions are unrelated.

Drug allergy status codes in Z88
Code Allergy status to Common use
Z88.0 Penicillin Documented penicillin allergy
Z88.1 Other antibiotic agents Antibiotics other than penicillin or sulfonamides
Z88.2 Sulfonamides Sulfa drug allergy
Z88.3 Other anti-infective agents Not an analgesic code
Z88.4 Anesthetic agent Anesthetic allergy on file
Z88.5 Narcotic agent Codeine belongs here
Z88.6 Analgesic agent Aspirin and NSAID allergy belongs here
Z88.7 / Z88.8 / Z88.9 Serum and vaccine / other drugs / unspecified drugs Use the closest match

Source: ICD-10-CM FY2027 Z88 listing (icd-10codes.com, AAPC Z88.6 page), summarized by RCM Finder. Codeine placement follows the narcotic agent title; verify against the tabular list.

Two common mistakes show up in older code lists. Aspirin allergy is not Z88.3, which covers other anti-infective agents. Aspirin falls under the analgesic title, Z88.6. Codeine is a narcotic agent, so Z88.5 is right for that one. The Z88 block also says to code any follow-up examination (Z08-Z09) where it applies (Z88 listing).

Status codes record background information. They do not describe a treated reaction. Our guide on follow-up ICD-10 codes explains how history and status codes behave when they are used as the first-listed diagnosis.

Insect, latex and other allergy status codes

Insect, latex and contrast-dye allergies live in Z91.0-, which is allergy status other than to drugs and biological substances. These are status codes. They describe an allergy on file, not a sting that happened today.

  • Z91.010: allergy to peanuts. Z91.013 is seafood, Z91.014 mammalian meats and Z91.018 other foods (Z91.01 listing).
  • Z91.011 and Z91.012: milk products and eggs. The FY2027 listing divides both further by baked milk or baked egg, so confirm the last digit before billing.
  • Z91.030: bee allergy status. Z91.038: other insect allergy status. The listing has no separate wasp or ant status codes (Z91 listing).
  • Z91.040: latex allergy status. Z91.041: radiographic dye allergy status. Z91.048: other nonmedicinal substance.
  • Z91.02: food additives allergy status. Z91.09: other allergy status, other than to drugs and biological substances.

That last point corrects a pattern that appears in many online lists: codes such as Z91.031 and Z91.032 for wasp and ant. They do not appear in the FY2027 listing. Use Z91.038 for an insect other than a bee, and rely on the provider’s note for the rest.

For a reaction that is happening now, the status code is the wrong tool. A current systemic reaction to a sting is documented and coded as the diagnosis the provider records, such as anaphylactic shock. Skin reactions, including contact and atopic dermatitis, have their own code families, and our eczema ICD-10 guide covers them.

Anaphylactic shock, angioedema and unspecified allergy codes

When the cause of an allergic event is not documented, a short group of general codes in T78 applies. They are lower in specificity, so payers and coding auditors read them closely.

  • T78.2XXA: anaphylactic shock, unspecified.
  • T78.3XXA: angioneurotic edema.
  • T78.40XA: allergy, unspecified. T78.41XA: Arthus phenomenon. T78.49XA: other allergy.
  • T78.8: other adverse effects, not elsewhere classified (T78 listing).

T78.2XXA, T78.3XXA, T78.40XA, T78.41XA and T78.49XA follow the seventh-character rule explained below: each stem is shorter than six characters, so X placeholders fill the gap. T78.8 is shown without its extension in the listing, so check the tabular list before building a claim around it.

The guidelines also leave room for caution. If no definitive diagnosis is reached by the end of the encounter, sign and symptom codes may be reported in its place (FY2027 Official Guidelines, Section I.B.18). A visit that ends with itching and a rash but no confirmed allergen is a documentation question first and a coding question second.

The seventh character rule for allergy T codes

Each category in T78 needs a seventh character. The listing labels them A for initial encounter, D for subsequent encounter and S for sequela (T78 notes). Which one fits depends on the encounter and the provider’s documentation, so confirm the definitions in the Official Guidelines before you set a default.

When a code is shorter than six characters, the guidelines require an X placeholder so the seventh character stays in the seventh position (FY2027 Official Guidelines, Section I.A.5). That is why peanut anaphylaxis is written T78.01XA and anaphylactic shock T78.2XXA. A claim built from T78.01A with no placeholder is an invalid code.

Steps for building a seven-character allergy T code with an X placeholder and encounter letter
Build T codes in this order: stem, placeholder, encounter letter. Source: RCM Finder.

Z status codes do not use seventh characters. Mixing the two families in a template is a common cause of rejected claims, and a clean-claim edit can catch it before submission. Our guides on claim scrubbing and clean claims describe how those checks work.

Documentation that supports allergy codes

The provider’s note drives every choice in this guide. Coders can only report what is documented, so the note needs enough detail to separate a reaction from a status entry and to name the trigger.

  • Reaction or history. State whether the allergy was active at the visit or is background.
  • Trigger. Name the food, drug, insect or substance, not just allergy.
  • Severity. Anaphylaxis, shock and angioedema each map to different codes, so they have to be stated, not implied.
  • Drug route. For drug reactions, document whether the correct drug was properly administered, because T88.6 depends on it.
  • Provider’s diagnosis. Avoid coding from a patient’s own list of allergies.

A sampling audit of allergy diagnoses is a low-cost control. Pull a handful of encounters per month, compare the note with the code, and look for the mismatches described above. Our overview of medical coding audits describes how internal and external coding audits are usually run.

Diagnosis errors can surface as invalid-code or medical necessity denials. If your team handles these in-house, a documented process for working them saves time, and medical billing services can take that work off the front desk. For a general view of how coding fits into claim flow, see our medical coding examples guide.

See which diagnosis codes are costing you claims

Ask for a free practice audit and we will look at where diagnosis-code problems may be slowing payment. Pricing, if you want help, is quoted after the audit.

Get a Free Practice Audit

Our recommendations

  1. Sort every allergy entry into reaction or status. Add a required field to the encounter template that separates an active reaction from an allergy on file. It stops status codes from standing in for reactions.
  2. Retire old code lists. Replace any cheat sheet that shows T78.1XXA, Z91.031, Z91.032 or T78.03 for milk. Rebuild it from the current tabular list.
  3. Query for the food group and the severity. If the note says food reaction without a food, or reaction without severity, hold the claim and ask the provider.
  4. Check seventh characters in claim edits. Set a rule that flags any T78 or T88.6 code that does not end in A, D or S.
  5. Review allergy codes at each October update. The code set changes every October 1. Add a yearly check of the allergy block to your update checklist.
  6. Keep status codes in the secondary position. Z88 and Z91.0- record background allergies. Do not report them as the reason for a visit when the note describes an active reaction.

Bottom line

Allergic reaction ICD-10 coding comes down to one split: a reaction at the visit uses T78 or T88.6 with the right seventh character, and a standing allergy uses a Z88 or Z91.0- status code. Build code lists from the current tabular list and the provider’s note, not from old tables. If diagnosis problems keep appearing in your denial reports, our denial management services can trace the pattern, and the revenue calculator shows what unpaid claims may be costing your practice.

Frequently asked questions

What is the ICD-10 code for an allergic reaction?

There is no single code. Anaphylaxis due to food is T78.0-, anaphylactic shock without a stated cause is T78.2XXA, allergy unspecified is T78.40XA, and anaphylaxis due to a correctly given drug is T88.6XXA. Pick the code that matches the provider’s documented diagnosis and add the seventh character.

What is the difference between T78 and Z88 or Z91.0 codes?

T78 codes report an allergic or adverse event at the encounter. Z88 and Z91.0- are status codes that record an allergy the patient has. Status codes record the allergy, but they do not show that a reaction was treated.

Which ICD-10 code covers a peanut allergy?

For anaphylaxis due to peanuts at the visit, report T78.01XA. For a documented peanut allergy with no reaction at the visit, report Z91.010. The first is a reaction code with a seventh character. The second is a status code and has none.

What code applies to a penicillin or aspirin allergy?

Penicillin allergy status is Z88.0. Aspirin falls under allergy status to analgesic agent, Z88.6, not Z88.3, which is other anti-infective agents. These are status codes. A current anaphylactic reaction to a correctly given drug is reported with T88.6XXA instead.

Why does T78.01 need an X in the code?

Codes that need a seventh character must carry it in the seventh position, and the Official Guidelines require an X placeholder to fill empty positions. T78.01 has five characters, so an X fills the sixth place: T78.01XA. Without the placeholder, the code is invalid and the claim can reject.

Are there ICD-10 codes for wasp or ant sting allergy?

Not as separate status codes in the FY2027 listing. Z91.030 is bee allergy status and Z91.038 is other insect allergy status. Codes such as Z91.031 and Z91.032 that appear in some online lists do not appear there. Use Z91.038 for other insects and code a current reaction from the provider’s diagnosis.

Get your free practice audit

Tell us about your practice. We will contact you using the details you give.

  • A review of your recent claims, denials and A/R aging
  • Where your front desk and prior authorizations slow payment
  • A prioritized fix list you keep, whether or not you hire us

Pricing is quoted after the audit, based on your volume and the services you choose. Prefer to talk? Call +1 (302) 556-2288.

RCMFinder Master Intake Form

Sources

  1. ICD-10 codes (FY 2027 code set, effective dates and file list) — CMS (2026)
  2. FY 2027 ICD-10-CM Official Guidelines for Coding and Reporting — CMS (2026)
  3. ICD-10-CM 2027 file directory — CDC / NCHS (2026)
  4. T78 Adverse effects, not elsewhere classified — icdlist.com (code lookup, FY2027) (2026)
  5. T78.0 Anaphylactic reaction due to food — icd-10codes.com (code lookup) (2026)
  6. T78.07 Anaphylactic reaction due to milk and dairy products — AAPC (code lookup) (2026)
  7. T88.6 Anaphylactic reaction due to adverse effect of correct drug — AAPC (code lookup) (2026)
  8. Z88 Allergy status to drugs, medicaments and biological substances — icd-10codes.com (code lookup) (2026)
  9. Personal risk factors, not elsewhere classified (Z91) — icdlist.com (code lookup, FY2027) (2026)
  10. Z91.01 Food allergy status — icd-10codes.com (code lookup) (2026)

Disclaimer: This article is educational and is not legal, coding, clinical or compliance advice. ICD-10-CM codes and guidelines change every October 1, and payer rules vary. Confirm every code against the current official tabular list and Official Guidelines, and the provider's documentation, before you bill.

Awais Afzal, Healthcare Operations & Data Analyst

Awais has spent more than 16 years in healthcare digital marketing and clinical operations management. He builds data-driven revenue cycle blueprints for medical practices and leads product development of the RCM Finder portal. More about our team.

The RCM Finder portal, in seven pages
See how one portal runs your revenue cycle, from the visit to the payment.
The pain points it solves for practices and billing companies, what makes it different, screens from the portal and the reports ready on day one.
Picture of Awais Afzal

Awais Afzal

Awais Afzal is a healthcare entrepreneur and performance marketing specialist with over 16 years of experience in healthcare digital marketing and clinical operations management. As the driving force behind RCM Finder, Awais specializes in developing data-driven revenue cycle blueprints that help high-ticket medical practices scale operations and maximize cash flow.

Stop Leaving Money on the Table. Get Your Free RCM Audit.

Let our team of certified billing experts uncover the exact coding errors and workflow bottlenecks costing your practice thousands in hidden denials.