FDA Therapeutic Equivalency Codes: How Laws Determine If Generics Can Be Substituted

FDA Therapeutic Equivalency Codes: How Laws Determine If Generics Can Be Substituted

When you pick up a prescription at the pharmacy, you might not realize that a simple two-letter code on a government database is deciding whether you get a brand-name drug or a cheaper generic. That code is part of the FDA’s Therapeutic Equivalency (TE) Codes system - a legal framework that tells pharmacists exactly which generics can be swapped in place of brand-name drugs without risking your health. This isn’t just a technical detail. It’s the backbone of how billions of dollars in drug costs are saved every year while keeping patients safe.

What Are TE Codes, and Why Do They Matter?

Therapeutic Equivalency Codes are assigned by the U.S. Food and Drug Administration (FDA) to prescription drugs that have multiple manufacturers. These codes are published monthly in the Approved Drug Products with Therapeutic Equivalence Evaluations, commonly called the Orange Book. The system was created by the Hatch-Waxman Act of 1984, which aimed to speed up access to affordable generics without sacrificing safety.

The code itself is simple: one or two letters. But what those letters mean is critical. If a drug has an A code, it means the FDA has determined that the generic version is therapeutically equivalent to the brand-name drug. That means it has the same active ingredients, works the same way in the body, and produces the same clinical effect. If it has a B code, the FDA says there’s not enough evidence to prove it can be safely substituted.

Here’s the legal punchline: in every U.S. state, pharmacists are required by law to check the Orange Book before substituting a generic. If the code is an A, they can swap it. If it’s a B, they can’t - unless the prescriber specifically allows it. This isn’t a recommendation. It’s a legal requirement.

The A Code: When Substitution Is Allowed

Not all A codes are the same. The second character adds more detail. The most common is AA, which means the generic is an immediate-release oral tablet or capsule with no bioequivalence issues. For example, a generic version of lisinopril 10mg with an AA rating can be swapped with the brand-name Zestril without hesitation.

Then there’s AB. This code tells you something interesting: the product may have had problems at first, but later evidence proved it works just as well. Maybe the first version had a slightly different inactive ingredient, or the bioequivalence study was borderline. The FDA re-reviewed the data and upgraded it to AB. That’s a sign the system works - science can change the rules.

Why does this matter? Because if you’re on a chronic condition like high blood pressure or diabetes, switching between generics with an A rating is safe. A 2021 study in the Journal of Generic Medicines found that over 94% of all generic prescriptions filled in the U.S. were for A-rated drugs. That’s not luck. It’s the result of rigorous testing and clear legal standards.

The B Code: When Substitution Is Blocked

Not every generic gets an A. Some get a B - and that’s not a failure. It’s a warning.

Take BT for topical creams. A generic version of a steroid cream might have the same active ingredient, but if the base (the lotion or ointment) is different, the skin might absorb it at a different rate. The FDA doesn’t have enough data to say it’s the same, so it gets a BT code. Pharmacists are trained to avoid substituting these unless told otherwise.

Other B codes include:

  • BC - extended-release tablets with unclear bioequivalence
  • BD - proven to have bioequivalence problems
  • BN - inhalers or nebulized drugs where delivery matters
  • BR - suppositories or enemas
  • BX - no data available to judge equivalence

In 2023, about 24% of all drugs listed in the Orange Book had B codes. That might sound high, but most of them are complex products - inhalers, injectables, creams, and slow-release pills - where small differences in formulation can change how the drug behaves in your body.

Pharmacists often hesitate to substitute B-coded drugs. A 2022 survey by the Generic Pharmaceutical Association found that 68% of pharmacists were uncomfortable swapping BT-coded topical products, even if the prescriber didn’t say no. That’s because the science isn’t clear - and no one wants to be the one who switches a patient and then sees a bad reaction.

Prescription pad stamped 'NO SUBSTITUTION' with floating TE code letters swirling in the air.

How State Laws Turn FDA Codes Into Legal Rules

The FDA doesn’t force pharmacies to substitute. It just tells them what’s equivalent. The actual substitution law? That’s up to each state.

In California, Business and Professions Code Section 4073 says pharmacists can only substitute if the generic has an A code. In New York, the Office of the Professions requires pharmacists to check the most current Orange Book before making any switch. Texas, Florida, and Illinois all have similar laws - some even require the pharmacist to notify the patient or the prescriber.

Here’s the catch: even if a drug has an A code, a doctor can write “dispense as written” or “no substitution” on the prescription. That overrides the law. Patients can also ask for the brand-name drug, even if a generic is available.

This patchwork of state rules is why the Orange Book is so important. It’s the one source that every state agrees to use. Without it, pharmacies would be guessing - and patients would be at risk.

The Real Cost of TE Codes

Let’s talk money. In 2022 alone, generic drugs with A codes saved U.S. healthcare systems $298 billion, according to IQVIA. Since 1995, the total savings from generics approved under the TE system is over $1.7 trillion.

That’s not just a number. It means a diabetic patient in Ohio can afford insulin. A veteran in Arizona can get their blood pressure medication without choosing between meds and groceries. A child in Michigan can take their asthma inhaler every day because it’s affordable.

But the system isn’t perfect. In 2022, the FDA received 1,247 citizen petitions challenging TE codes - mostly from brand-name companies trying to block generic competition. Many of these petitions target complex drugs with B codes, arguing that the generic isn’t truly equivalent. The FDA reviews each one, but it takes time. And while that’s happening, patients may pay more.

Giant FDA hand placing AA code on pills as corporate figures pull back a B code tablet, patients reaching toward light.

What’s Changing Now?

The FDA is working to fix the B code backlog. In 2023, they launched the Complex Generic Drug Initiative, aiming to reduce the percentage of B-coded drugs from 24.3% to under 15% by 2027. They’ve already cut review times for complex generics from 34 months in 2018 to 22 months in 2023.

A new draft guidance released in August 2023 says minor changes in inactive ingredients - like different dyes or fillers - shouldn’t automatically disqualify a drug from an A rating, as long as the active ingredient performs the same. That’s a big shift. It means more generics could get approved faster.

Also, the Orange Book is now digital. Since January 2023, it’s been available through an API, meaning electronic health record systems can pull TE code data directly. That means a pharmacist can check a code while the patient is still in the chair.

What Patients Should Know

If you’re prescribed a generic drug and you’re unsure whether it’s safe to switch, ask your pharmacist. They’re trained to check the Orange Book. If you’re switching from one generic to another, and your medication doesn’t seem to be working the same way, tell your doctor. It might not be your body - it could be a change in the inactive ingredients.

Don’t assume all generics are the same. Two generics of the same drug can have different TE codes. One might be AA, the other AB, or even B. The difference isn’t always obvious on the bottle.

And if your prescription says “do not substitute,” that’s your right. You don’t need to justify it. The law protects your choice.

What’s Next?

The future of TE codes is about complexity. As drugs get more advanced - biologics, inhalers, patches, implants - the old bioequivalence tests may not be enough. The FDA is developing new methods to measure performance, not just blood levels. That means the TE code system will keep evolving.

But the goal stays the same: make safe, affordable drugs available to everyone. The code might be simple. The science behind it? That’s anything but.

Can a pharmacist substitute a generic drug without my permission?

No. In most states, pharmacists can substitute a generic only if the prescription doesn’t say "dispense as written" and the drug has an FDA-designated "A" therapeutic equivalency code. Even then, many states require the pharmacist to inform you or get your consent. Always check your prescription label and ask if a substitution was made.

Why do some generic drugs have "B" codes if they’re approved by the FDA?

A "B" code means the FDA has not found enough evidence to say the generic is interchangeable with the brand-name drug. The drug may be approved for sale, but bioequivalence hasn’t been proven - especially for complex products like inhalers, creams, or extended-release tablets. These are not unsafe, but they’re not guaranteed to behave the same way in your body.

Do over-the-counter (OTC) drugs have therapeutic equivalency codes?

No. The FDA only assigns TE codes to prescription drugs that have multiple manufacturers. OTC drugs like ibuprofen or antacids are not evaluated for therapeutic equivalence because they’re not subject to the same approval pathways as prescription drugs.

How often is the Orange Book updated?

The Orange Book is updated every month with new drug approvals, code changes, and discontinued products. Pharmacists and pharmacies are required to use the most current version when making substitution decisions. The FDA also publishes a complete edition each October.

Can a drug have different TE codes for different strengths?

Yes. A 10mg tablet of a drug might have an "AA" code, while the 20mg version has a "B" code. Each strength and formulation is evaluated separately. That’s why it’s important to check the specific drug and dose - not just assume all versions are interchangeable.