DAW Codes: What They Mean for Your Prescription Fill

When you pick up a prescription, the DAW code, a two-digit code used by pharmacies to indicate whether a brand-name drug can be replaced with a generic version. Also known as Dispense As Written code, it tells the pharmacist whether they’re allowed to swap your medication—and sometimes, whether they must. These codes aren’t just paperwork; they directly affect what you get in your hands, how much you pay, and even how your insurance processes the claim.

DAW codes are set by the prescriber when they write the script. If a doctor writes "DAW 0," that means no substitution is allowed—they want the brand name exactly as written. "DAW 1" means the brand must be dispensed unless the patient chooses a generic. "DAW 2" means generics are allowed, but the prescriber didn’t specify whether to substitute. And "DAW 4"? That’s when the pharmacy picks the generic because it’s cheaper and the prescriber didn’t object. These aren’t random labels—they’re legal instructions tied to state laws and insurance rules. For example, in many states, if a drug is on a formulary and the prescriber didn’t block substitution, the pharmacy is required to offer the generic to save money.

Why does this matter to you? Because switching from brand to generic can cut your cost by 50% or more. But if you’re on a drug where even a small change in formulation affects how it works—like seizure meds, thyroid pills, or blood thinners—getting the wrong version could be risky. That’s why some doctors use DAW 1 to lock in the brand. Other times, your insurance might force a switch unless the doctor checks "DAW 0" to block it. You don’t need to be a pharmacist to understand this: if your prescription says "DAW 1" and you ask for the cheaper generic, the pharmacy must ask you first. If it says "DAW 2," they’ll likely give you the generic without asking. And if you see a surprise change in your pill color or size, check the DAW code on your receipt—it’s your right to know why the switch happened.

These codes are everywhere in pharmacy systems, but most patients never see them. That’s changing. More people are asking for transparency, and now, some apps and pharmacy portals show DAW codes on digital receipts. If you’re managing a chronic condition, knowing how to read these codes helps you avoid unexpected costs or medication changes. You can even ask your doctor to write a specific DAW code when prescribing. It’s not just about savings—it’s about control over your treatment.

Below, you’ll find real-world examples of how DAW codes interact with medications like anticonvulsants, antidepressants, and diabetes drugs. You’ll see how they affect insurance approvals, why some prescriptions get rejected when generics are substituted, and how to spot when a pharmacy might be cutting corners. Whether you’re paying out of pocket or using insurance, understanding DAW codes gives you power over your care.

Prescriber Override: When Doctors Can Require Brand-Name Drugs Instead of Generics

Prescriber override lets doctors block generic drug substitutions when clinically necessary. Learn how DAW codes, state laws, and EHR systems affect patient safety - and how to get it right.