How to Compare Prescription Drug Prices at Different Pharmacies
There is no single price for a prescription. Each pharmacy sets its own cash price, and your insurance price depends on your plan. Here is how to compare the same prescription across pharmacies, with or without insurance, in about ten minutes.
To compare prescription drug prices, write down the exact drug name, strength, form and quantity from your prescription, then check the price for that exact fill at several nearby pharmacies, both the cash price and your insurance price. Prices really do differ: research on U.S. pharmacy claims has found that cash prices for the same generic drug vary widely between pharmacies in the same ZIP code, much more than brand-name prices do.
- Generic drugs show the biggest price gaps between pharmacies; brand-name prices are much more uniform.
- Compare like for like: the same drug, strength, form (tablet, capsule, liquid) and quantity.
- If you have insurance, compare your copay or coinsurance against the cash price. Either one can be lower.
- On Medicare, the Medicare Plan Finder estimates your yearly drug costs by plan, and preferred pharmacies can cost less.
- Federal law lets your pharmacist tell you when paying cash would be cheaper than using your plan. Ask.
Why the same drug costs different amounts
A pharmacy's cash price (sometimes called its "usual and customary" price) is set by the pharmacy, not by the drug maker or the government. Insured prices are set by contracts between your plan, its pharmacy benefit manager and each pharmacy. That is why two stores a mile apart can charge very different amounts for an identical bottle of pills.
Researchers have measured this. A 2022 study in Health Services Research looked at retail pharmacy claims from 2014 to 2019 and measured how much cash prices for the same drug varied between pharmacies within the same ZIP code. Price variation for generic drugs was several times higher than for brand-name drugs. The same study found that the pharmacies' cost to buy generics fell by about 31% over the period while the median generic cash price rose by about 7%, so generic markups grew. Local competition and income explained very little of the variation (Teasdale et al., 2022).
A 2023 study of diabetes medicines using 2019 claims from more than 45,000 U.S. pharmacies reached a similar conclusion: the greatest price variation was in generic non-insulin drugs. In that study, independent pharmacies had higher average cash prices and more variation than chain pharmacies (Warraich et al., 2023). That was one study of one drug group, and prices for your drug in your area may not follow the same pattern, so do not assume one kind of store is always cheapest. Check.
Step by step: how to compare
The single biggest mistake is comparing different fills. A price for 30 tablets of 10 mg tells you nothing about 90 tablets of 20 mg. Follow these steps:
- Copy the exact prescription details. Drug name (brand or generic), strength (for example 20 mg), form (tablet, capsule, extended-release, cream, liquid) and quantity.
- Use the generic name if one exists. FDA-approved generics have the same active ingredient, strength, dosage form and route as the brand, and must meet the same quality standards (FDA). If your prescription says "dispense as written," ask your prescriber whether a generic is fine.
- Check at least three pharmacies. Include a large chain, a grocery or big-box store pharmacy and a local independent if there is one near you. Price lookup sites and phone calls both work; for phone calls, read out the exact details from step 1.
- Get two numbers for each pharmacy if you are insured: the cash price and your insurance price. Your plan's member website or app may show your cost at in-network pharmacies.
- Compare other quantities. Ask what a 90-day supply costs if your prescriber agrees it is appropriate. Sometimes it is cheaper per pill, sometimes not.
- Write it down and transfer if needed. Once you find the lowest price, ask that pharmacy to transfer the prescription from your current one. The new pharmacy usually handles the transfer for you.
Rx.com drug pages are one way to do step 3 for cash prices: for example, the atorvastatin price page lists cash prices for a given strength and quantity at nearby pharmacies. To pay one of those prices, show the free Rx.com discount card at the counter. It is not insurance and cannot be combined with insurance on the same fill.
Comparing prices when you have insurance
With insurance, the question is not just "which pharmacy," but "insurance or cash at this pharmacy." Your insured price depends on your plan's deductible, whether you pay a flat copayment or a percentage (coinsurance), and which tier the drug is on. HealthCare.gov defines a copayment as a fixed amount you pay for a covered service after your deductible, and coinsurance as a percentage of the cost (HealthCare.gov).
Cash sometimes wins. A study of 9.5 million commercial pharmacy claims from 2013 found that about 23% of the time, the patient's copay was higher than what the pharmacy was paid for the drug, and for generics that happened on about 28% of claims (Van Nuys et al., JAMA 2018). That data is older, but it shows why checking both prices is worth it.
Before you choose cash, remember the trade-off: a cash purchase usually does not count toward your deductible or out-of-pocket maximum. If you expect to hit your deductible this year anyway, running the fill through insurance may cost less over the whole year. Our guide to whether the cash price is cheaper than insurance walks through that decision in detail.
Comparing prices on Medicare
If you have a Medicare drug plan (Part D or a Medicare Advantage plan with drug coverage), there are two separate comparisons to make.
Comparing plans. Medicare's plan comparison tool at Medicare.gov lets you enter the prescriptions you take and see an estimate of your monthly and yearly cost under each plan in your area (Medicare.gov). It is worth repeating every open enrollment, because plans change their drug lists and pharmacy networks.
Comparing pharmacies within your plan. Medicare says that if your plan has preferred in-network pharmacies, they may save you money on out-of-pocket costs, while out-of-network pharmacies usually cost more and may mean paying the full price. Some plans also offer mail order for up to a 3-month supply (Medicare.gov).
Paying cash outside your plan is allowed, but Medicare states that discount cards are not creditable coverage, and when you use one instead of your plan, the purchase does not count toward your Medicare deductible or out-of-pocket maximum (Medicare.gov). That matters most for people with high drug costs who may reach the yearly cap.
Free tools you can use
| Tool | What it compares | Best for |
|---|---|---|
| Cash price lookup sites and pharmacy discount card programs | Cash prices for one drug at nearby pharmacies | Uninsured, high deductible, or checking whether cash beats a copay |
| Your health plan's website or app | Your cost under your plan, sometimes by pharmacy and by mail order | Anyone with private insurance |
| Medicare.gov plan comparison tool | Estimated yearly drug costs across Medicare plans | Medicare enrollees, especially at open enrollment |
| A phone call to the pharmacy | The real price at that counter today, cash and insured | Confirming any price before you transfer |
Federal price transparency rules also require most private health plans to offer an online self-service tool showing what members would pay for covered items and services; since January 1, 2024 this covers all covered items and services, and the information is available on paper on request (CMS). If you cannot find your drug cost online, call the member services number on your insurance card.
30-day vs 90-day fills and mail order
For medicines you take long term, a 90-day supply can lower the cost per day, and it means fewer trips. It is not automatically cheaper, though, so compare the price per pill. Medicare notes that using a mail-order pharmacy is sometimes cheaper (Medicare.gov), and some plans offer mail order for up to a 3-month supply. Private plans set their own rules for 90-day and mail-order fills, so check your plan's drug list or call member services.
When you are starting a new drug or your dose may change, start with a 30-day supply and switch once the dose is stable.
A worked example
Say your prescription is for a generic cholesterol drug, 20 mg tablets, 30 tablets, and you have a plan with a deductible you have not met. Here is how a comparison might go:
- You look up 20 mg, 30 tablets on a price comparison page and see a cash price range across five nearby pharmacies, with the highest several times the lowest.
- You log in to your plan's app. Because you have not met your deductible, your insured cost is the plan's negotiated price, which is higher than the lowest cash price.
- You check 90 tablets. At the lowest-priced pharmacy, 90 tablets cost less per pill than three separate 30-tablet fills.
- You rarely use other care and will not reach your deductible this year, so paying cash makes sense. If you expected large medical bills this year, insurance might win.
- You call the cheapest pharmacy, confirm the price, and ask them to transfer the prescription.
The same steps work for any drug. If the answer comes out differently, for example a brand-name drug where your copay is far lower than any cash price, use your insurance. Our guide on how to save money on prescriptions covers other options such as manufacturer programs and asking for a lower-cost alternative, and what a prescription discount card is explains how card prices work at the counter.
🚨 Do Not Let Price Shopping Delay Your Medicine
- Never skip doses or stretch pills to save money without talking to your prescriber. For blood pressure, heart, seizure, diabetes and many other medicines, gaps can be dangerous.
- If you are about to run out, fill at least a short supply at any pharmacy while you compare, or ask your pharmacist about an emergency supply.
- Avoid websites that sell prescription drugs without a prescription. The FDA warns that unsafe online pharmacies often sell unapproved, counterfeit or otherwise unsafe medicines (FDA).
- If you cannot afford a medicine, tell your prescriber. There is often a cheaper drug in the same class.
Frequently Asked Questions
How do I compare prescription drug prices?
Write down the exact drug, strength, form and quantity, then check that exact fill at three or more nearby pharmacies, both the cash price and, if insured, your plan price. Confirm the lowest one by phone before transferring.
Why do pharmacies charge different prices for the same prescription?
Each pharmacy sets its own cash price, and insured prices come from separate contracts with each plan. Research shows generic cash prices vary much more between pharmacies than brand-name prices.
Can I compare prescription prices with insurance?
Yes. Your plan's website or app often shows your cost by pharmacy, and federal rules require most private plans to offer a price tool. Compare that number against the cash price at the same pharmacy.
Is a 90-day supply always cheaper?
Not always. It often costs less per pill, especially through a plan's mail-order program, but compare the per-pill price. Wait until your dose is stable before switching to 90 days.
Does paying cash count toward my deductible?
Usually not. Medicare states that discount card purchases do not count toward your Medicare deductible or out-of-pocket maximum. Private plans vary, so ask your plan whether it accepts receipts for cash purchases.
Will the pharmacist tell me if cash is cheaper?
They are allowed to under 2018 federal laws, but they are not required to volunteer it. Ask directly what the cash price would be.
Check your prescription's cash price
Look up your drug on Rx.com to see cash prices at nearby pharmacies, then use the free Rx.com discount card at pickup when cash is the lower price.
Sources
- Teasdale B, Nguyen A, van Meijgaard J, Schulman KA. Trends and determinants of retail prescription drug costs. Health Services Research. 2022;57(3):548-556. pmc.ncbi.nlm.nih.gov
- Warraich HJ, Siddiqi HK, Li DG, van Meijgaard J, Vaduganathan M. Pharmacy and neighborhood-level variation in cash price of diabetes medications in the United States. PLoS One. 2023;18(12):e0294164. pmc.ncbi.nlm.nih.gov
- Van Nuys K, Joyce G, Ribero R, Goldman DP. Frequency and magnitude of co-payments exceeding prescription drug costs. JAMA. 2018;319(10):1045-1047. jamanetwork.com
- U.S. Food and Drug Administration. Generic drug facts. fda.gov
- HealthCare.gov. Copayment (glossary). healthcare.gov
- Patient Right to Know Drug Prices Act, Public Law 115-263 (2018). govinfo.gov
- Know the Lowest Price Act of 2018, Public Law 115-262. govinfo.gov
- Medicare.gov. Helpful tools: compare plans in your area. medicare.gov
- Medicare.gov. What pharmacies can I use? medicare.gov
- Medicare.gov. Help with drug costs. medicare.gov
- U.S. Food and Drug Administration. How to buy medicines safely from an online pharmacy. fda.gov
- Centers for Medicare & Medicaid Services. Health plan price transparency: consumers. cms.gov