Cephalexin is one of the oldest and cheapest antibiotics in the American pharmacy, and the wholesale numbers prove it. CMS publishes a National Average Drug Acquisition Cost of $0.12098 per 500 mg capsule, effective August 19, 2026. A pharmacy’s entire drug cost for a 28-capsule prescription is under $3.40.
What you actually pay depends almost entirely on which counter you walk up to and whether you asked for a price first. The same prescription can be $8 at a transparent-pricing pharmacy and over $25 at the retail rate that Cost Plus Drugs publishes as its comparison benchmark. This guide uses figures read on September 3, 2026 from CMS NADAC, the Drugs.com cash price guide, and Cost Plus Drugs’ own product pages, and it prices brand-name Keflex and the children’s oral suspension alongside the standard capsules.
What Does Cephalexin Cost Without Insurance?
The table below shows three reference points for each product: pharmacy acquisition cost from CMS NADAC (the floor, not a retail price), a typical published cash price, and the high end. Cost Plus Drugs publishes a “retail price at other pharmacies” benchmark on every product page, which is a useful ceiling.
| Product (cash, no insurance) | Low | Average | High |
|---|---|---|---|
| Generic cephalexin 500 mg, 28 capsules | $3.39 (CMS NADAC acquisition cost, $0.12098 per capsule) | $9.95 (Drugs.com price guide) | $24.08 (Cost Plus retail benchmark, $0.86 per capsule) |
| Generic cephalexin 500 mg, 30 capsules | $3.63 (CMS NADAC) | $7.90 (Cost Plus Drugs, before $5.25 shipping) | $25.80 (Cost Plus retail benchmark) |
| Generic cephalexin 250 mg, 30 capsules | $2.76 (CMS NADAC, $0.09205 per capsule) | $6.93 (Drugs.com price guide) | $17.40 (Cost Plus retail benchmark) |
| Cephalexin 250 mg/5 mL oral suspension, 100 mL | $5.08 (CMS NADAC, $0.05076 per mL) | $13.52 (Drugs.com price guide) | $22.79 for a 200 mL bottle (Drugs.com) |
| Generic cephalexin 750 mg, 30 capsules | $109.02 (Cost Plus Drugs) | $149.28 (CMS NADAC, $4.97616 per capsule) | $291.90 (Cost Plus retail benchmark) |
| Brand Keflex 500 mg, 20 capsules | $63.05 (Drugs.com price guide) | $103.30 for 40 capsules (Drugs.com) | $217.77 for 40 capsules (Drugs.com high end) |
Two things in that table are worth a second look. The 750 mg row is the only one where CMS acquisition cost sits above a real retail price, meaning Cost Plus is buying that strength well below the national average. And brand Keflex at 100 capsules runs $852.35 to $917.00 on Drugs.com, against $23.68 for 100 generic capsules on the same site.
What Drives the Price
The strength you are prescribed
This is the single biggest swing factor and almost nobody expects it. Per CMS NADAC effective August 19, 2026, a 500 mg capsule costs pharmacies $0.12098 while a 750 mg capsule costs $4.97616. That is a 41-fold jump for 1.5 times as much drug, driven by how few manufacturers make the 750 mg size. Drugs.com prices 20 of the 750 mg capsules at $54.91 against $8.32 for 20 of the 500 mg.
Capsule versus tablet versus suspension
Cephalexin capsules and cephalexin tablets are not priced anywhere near each other. CMS NADAC lists the 500 mg capsule at $0.12098 and the 500 mg tablet at $1.28124, and Drugs.com prices 100 of the 500 mg tablets at $635.04 against $23.68 for 100 capsules. If a prescription is written for tablets, that is worth a conversation with the prescriber before it gets filled.
Liquid for kids costs more per dose
For a child who cannot swallow capsules, the oral suspension is the practical form and it carries a heavier markup. Drugs.com lists the 125 mg/5 mL suspension at $10.43 for 100 mL and $16.61 for 200 mL, and the 250 mg/5 mL strength at $13.52 for 100 mL and $22.79 for 200 mL. NADAC also shows that the smaller bottle costs more per mL: the 100 mL package sits at $0.07503 per mL for the 250 mg/5 mL strength while the 200 mL package is $0.05076. Buying the size the prescription actually calls for is cheaper than two small bottles.
Brand name versus generic
Keflex is the brand and it is priced like a specialty product even though the molecule went generic decades ago. Drugs.com lists Keflex 250 mg at $53.46 for 20 capsules and $77.97 for 30, and Keflex 750 mg at $266.75 to $463.26 for 50 capsules. Drugs.com also reports no manufacturer coupons and no patient assistance programs for either Keflex or generic cephalexin as of September 3, 2026, so there is no discount route back down for the brand.
The pharmacy, not the drug
Because generics are so cheap to acquire, nearly all of the spread you see is each pharmacy’s own cash-price policy. The gap between $7.90 and $25.80 for the identical 30 capsules is not a supply-chain story. It is a pricing-desk story, and the only way to find the low number is to ask two or three counters before you fill.
Cash Price vs. Insurance
For a drug this cheap, insurance frequently costs you more than paying cash. A $10 or $15 generic copay is above the $7.90 Cost Plus price and above the $6.93 Drugs.com price for 30 of the 250 mg capsules, so running the claim can be a net loss.
There is a second reason to ask for the cash price: money you spend on a cash-price or discount-card transaction usually does not count toward your deductible, but neither does it matter much at these amounts. If you are early in a high-deductible year and paying full freight anyway, the cash price is simply the lower of two numbers.
Ask the pharmacist directly for the cash price before the claim is submitted, and compare it to the copay. Pharmacists are allowed to tell you which is cheaper. If you want a broader walkthrough of how the discount-card channel prices generics, see our comparison of GoodRx vs. SingleCare.
How to Pay Less
1. Price the mail-order pharmacies before you walk in. Cost Plus Drugs publishes its full math on the product page: cephalexin 500 mg for 30 capsules is $2.52 in drug cost, $0.38 in 15% markup and $5.00 in pharmacy labor for $7.90, with $5.25 standard shipping added at checkout. Delivered, that is $13.15. It is not always the winner against a local $8 cash price, but it is a published number you can compare against.
2. Bring a free discount card and compare at least three pharmacies. The 3x spread between $7.90 and $25.80 for the same 30 capsules is the whole game. Our guide to comparing discount cards covers how to run the same drug through more than one card, and the fair price checker shows what a reasonable cash number looks like.
3. Do not count on the Walmart $4 list. This is the most common piece of outdated advice about cheap antibiotics. The Walmart Prescription Program drug list linked from Walmart’s own $4 Prescriptions page, dated effective March 24, 2025 and read September 3, 2026, contains no antibiotics whatsoever. Cephalexin does not appear at any tier, and neither do sulfamethoxazole-trimethoprim, nitrofurantoin or fluconazole. The list covers chronic-condition generics (metformin, lisinopril, levothyroxine, sertraline) plus a $24 albuterol inhaler tier. Walmart’s cash price for cephalexin may still be competitive, but it is a counter quote, not a $4 program price.
4. Ask whether a cheaper strength or form works. If the 750 mg capsule is on the prescription, the price difference against 500 mg capsules is roughly $50 versus $8 for 20 capsules on Drugs.com. Whether an alternative is appropriate is a question for the prescriber, but it is a question worth asking before you pay.
5. Budget for the visit, because it usually costs more than the drug. A $10 antibiotic behind a $200 urgent care bill is a $210 problem. Compare what you would pay at urgent care against a cash-pay office visit, and check whether a federally funded health center near you charges on a sliding scale. Our guide to free and sliding-scale clinics explains how income-based fees work and who qualifies.
6. If a bill already landed, it is negotiable. Pharmacy prices are usually paid up front, but the visit that generated the prescription is not. If you were billed after the fact and the number looks wrong, our walkthrough on negotiating medical bills covers what to say and what to ask for in writing.
The Bottom Line
Generic cephalexin should cost you somewhere between about $7 and $16 for a full course. If you are quoted more than $25 for 30 capsules of the 500 mg strength, you are paying a retail markup that another pharmacy in the same town will not charge. Brand-name Keflex at $63.05 for 20 capsules has no cost justification when the identical generic is $8.32 for the same count on the same price guide.
The two exceptions to the cheap-antibiotic rule are the 750 mg capsule and the tablet form, both of which are dramatically more expensive than the standard 500 mg capsule. For children, the oral suspension is the practical choice at $10 to $23 a bottle, with the larger bottle cheaper per mL. For related pricing, see our guides to antibiotic costs generally, amoxicillin, doxycycline and Bactrim and UTI antibiotics.