How Pharmacies Actually Make Money on Prescriptions
By BetterBuyRx Editorial Team
Written for cost and savings education only — not medical advice, and not medically reviewed. Always confirm details with your doctor or pharmacist. See our methodology.
Last updated
Pharmacies are typically paid the cost of acquiring a drug plus a dispensing fee or markup, but the actual reimbursement rate depends heavily on whether you have insurance, which PBM manages that insurance, and whether you pay cash. This is why prices for the same drug can vary significantly by pharmacy. Prices vary by pharmacy, location, quantity, and eligibility, so comparing before you fill is often worthwhile.
The basic math behind a prescription
At a simple level, a pharmacy's payment for dispensing a prescription has two parts: the ingredient cost (what the pharmacy paid to acquire the drug from a wholesaler or manufacturer) and a dispensing fee or markup that covers overhead like staff time, packaging, insurance processing, and counseling. For cash customers, the pharmacy sets its own price by adding a markup to its acquisition cost. For insured customers, a pharmacy benefit manager (PBM) sets the reimbursement rate based on a formula in its contract with that specific insurer, employer, or government program.
Why the same generic can pay pharmacies differently depending on who is billing
Because different PBMs and government programs use different reimbursement formulas, a pharmacy can be paid one amount for filling a generic under a commercial insurance plan, a different amount under Medicaid, and yet another amount for a cash customer using a discount card. Medicaid programs commonly use the National Average Drug Acquisition Cost (NADAC), a public benchmark published by CMS that reflects a national survey of what retail pharmacies actually pay to acquire covered outpatient drugs, plus a professional dispensing fee (Medicaid.gov). NADAC data is collected through a national retail pharmacy survey conducted for CMS and published weekly and monthly (Medicaid.gov).
Commercial insurance reimbursement, by contrast, is set through private contracts between PBMs and pharmacies, and those rates are not typically public. This is part of why it can be hard for a patient, or even a pharmacist, to predict in advance exactly what a given insurance plan will pay for a specific fill.
What the FTC found about PBM-driven reimbursement
The Federal Trade Commission's 2024 report on pharmacy benefit managers found that the largest PBMs, which are often vertically integrated with insurers and their own affiliated pharmacies, can set reimbursement rates that squeeze independent and small pharmacies, sometimes paying them less than larger, PBM-affiliated pharmacies for the same drug (FTC). This dynamic has been cited as a contributing factor in some independent pharmacy closures, since a pharmacy that is reimbursed below its acquisition cost on a given prescription loses money filling it, regardless of any dispensing fee.
Where the money actually goes: a simplified breakdown
| Payment component | Who sets it | What it covers |
|---|---|---|
| Ingredient (acquisition) cost | Wholesaler/manufacturer price the pharmacy pays | The pharmacy's cost to obtain the drug |
| Dispensing fee | Payer (Medicaid, PBM, or pharmacy's own cash price) | Staff time, packaging, insurance billing, counseling |
| Markup (cash price only) | Individual pharmacy | Overhead, profit margin, local competition |
| PBM reimbursement rate | Negotiated PBM-pharmacy contract | What insurance actually pays the pharmacy |
| Rebates and fees | Negotiated between PBM and manufacturer | Not typically passed directly to the dispensing pharmacy |
Why this matters when you are comparing prices
Because reimbursement and markup structures differ so much by payer, the same drug at the same pharmacy can have a cash price, a discount card price, and an insurance copay that are all different numbers, and none of them is guaranteed to be the lowest. This is exactly why it makes sense to compare prescription prices across multiple payment methods rather than assuming your insurance copay is automatically the best deal. A pharmacy that is well reimbursed by your specific plan might also be willing to offer a competitive cash price, while a pharmacy poorly reimbursed by that same plan might charge you more.
What this means for choosing where to fill a prescription
- Ask about cash price versus insurance copay for lower-cost generics, since cash can sometimes beat your copay, especially before you meet your deductible.
- Compare a few nearby pharmacies, since markup and negotiated rates vary enough that price differences between pharmacies for the same drug can be substantial.
- Understand that independent pharmacies operate on tighter margins in many cases, which is part of why some have started requiring cash payment upfront for certain low-margin prescriptions.
- Check discount card and coupon prices, since these can sometimes offer better rates than either your insurance copay or the pharmacy's standard cash price, depending on the drug and pharmacy.
Search your medication on BetterBuyRx to compare current prices across pharmacies before deciding where to fill your next prescription.
The bigger picture: pharmacy economics are not simple
Pharmacies are not simply marking up drugs by a fixed percentage. Reimbursement is a patchwork of public benchmarks like NADAC, private PBM contracts, dispensing fees that vary by state and payer, and rebate arrangements that mostly happen behind the scenes between manufacturers and PBMs rather than flowing to the pharmacy counter. Publicly available data such as CMS's NADAC files (Medicaid.gov) offer one of the few transparent windows into actual drug acquisition costs, though even that reflects a national average rather than any single pharmacy's specific contract terms.
Compare prescription prices on BetterBuyRx to see how much the price for your medication can shift once you look beyond a single pharmacy or a single payment method.
Frequently asked questions
Does a pharmacy make the same profit on every prescription?
No. Margins vary widely by drug, insurer, and pharmacy contract. A pharmacy might earn a reasonable margin on one insurer's reimbursement for a generic and lose money filling the same drug for a different plan, especially if a PBM's reimbursement rate is below the pharmacy's acquisition cost.
What is a dispensing fee?
A dispensing fee is a small, separate payment added to the drug's ingredient cost to cover the pharmacy's overhead for filling a prescription, such as staff time, packaging, and counseling. Amounts vary by payer and state; Medicaid programs across states have set differing average dispensing fees.
Why do independent pharmacies say they lose money on some prescriptions?
Some PBM contracts reimburse below what a pharmacy paid to acquire the drug, a practice regulators and pharmacy groups have raised concerns about. This is more likely to affect small and independent pharmacies that lack the negotiating leverage of large chains.
Does the cash price reflect what the pharmacy actually pays for the drug?
Not directly. The cash price a pharmacy sets includes its acquisition cost plus a markup and dispensing fee, and that markup varies by pharmacy, drug, and local market conditions. It is one reason the same drug can cost different amounts at two nearby pharmacies.
Can I ask my pharmacy how much it paid for my drug?
Pharmacies are not generally required to disclose their acquisition cost to patients, though some may discuss general pricing factors. Public data like NADAC can give you a rough national average acquisition cost benchmark for many drugs.
Sources
Compare prices & find savings
This guide is for cost and savings education only. It is not medical advice. Talk to your doctor or pharmacist before making any changes to your medications. Prices vary by pharmacy, location, quantity, and eligibility, and they change over time.
Related guides
- What Is a PBM? How Pharmacy Benefit Managers Affect Prices
Learn what a pharmacy benefit manager does, how PBMs shape drug prices and formularies, and what the FTC found about their role in the market.
- What Is NADAC? The Public Data Behind Drug Acquisition Costs
NADAC is a public CMS dataset showing what pharmacies typically pay to acquire drugs. Learn what it measures, how it's used, and why it isn't a retail price.
- Independent vs Chain Pharmacies: Price and Service Differences
How independent and chain pharmacy prices compare, what research shows about the differences, and what each type offers beyond price.
