You can write off prescriptions on your taxes, but only under two conditions: you itemize deductions on Schedule A instead of taking the standard deduction, and your total medical spending for the year is more than 7.5% of your adjusted gross income.1Internal Revenue Service. Publication 502 (2025), Medical and Dental Expenses Both filters knock out most taxpayers. For almost everyone else, paying for prescriptions through a Health Savings Account or Flexible Spending Account delivers a bigger, simpler tax benefit than the itemized deduction ever will.
The Two Hurdles You Have to Clear
Prescription drugs fall under the medical expense deduction, which lives on Schedule A. Schedule A is the itemizing form, and it only helps you if your total itemized deductions beat the standard deduction for your filing status. For 2026, that standard deduction is $16,100 for single filers, $32,200 for married couples filing jointly, and $24,150 for heads of household.2Internal Revenue Service. IRS Releases Tax Inflation Adjustments for Tax Year 2026 Everything on Schedule A has to add up to more than that number before itemizing is worth doing: state and local taxes, mortgage interest, charitable gifts, and medical costs combined.
Seniors face a higher bar. For 2025 through 2028, taxpayers 65 and older can claim an additional $6,000 deduction on top of the regular standard deduction, or $12,000 if both spouses qualify, which is layered on top of the existing additional standard deduction for seniors already in the code.3Internal Revenue Service. Check Your Eligibility for the New Enhanced Deduction for Seniors The group with the heaviest prescription costs often has the hardest standard deduction to beat.
The second hurdle sits inside the medical deduction itself. You can only count medical expenses to the extent they exceed 7.5% of your adjusted gross income, the figure on Form 1040, line 11.4Office of the Law Revision Counsel. 26 U.S. Code 213 – Medical, Dental, Etc., Expenses5Internal Revenue Service. Adjusted Gross Income If your AGI is $70,000, the floor is $5,250. Say you had $8,000 in qualifying medical expenses that year, including prescriptions, doctor visits, and lab work. Your deductible amount is $2,750. The first $5,250 counts for nothing.
That math is why prescription spending on its own almost never produces a deduction. The deduction tends to work for people with modest incomes and an unusually expensive medical year, where surgery, specialists, and ongoing drugs all stack up together.
Which Prescription Costs Qualify
The IRS counts any drug that requires a doctor’s prescription and is used to treat or prevent a physical or mental condition. Insulin qualifies even without a prescription, which is the one explicit exception.1Internal Revenue Service. Publication 502 (2025), Medical and Dental Expenses
Several things people assume are deductible are not:
- Over-the-counter drugs. Pain relievers, cold medicine, and allergy pills you can buy without a prescription do not count, even if your doctor recommends them. The exception is an OTC product your doctor writes an actual prescription for.
- Vitamins and supplements, unless prescribed to treat a specific diagnosed condition.
- Cosmetic products and procedures aimed at appearance rather than a medical condition.
- Medical marijuana, even in states where it is legal, because it remains a federally controlled substance.
- Medications imported from another country, unless the drug was legally imported, such as one the FDA has approved for individual importation.
Other Expenses That Help You Clear the Floor
Because 7.5% of AGI is a steep floor, the practical move is to combine prescriptions with every other qualifying medical expense from the same tax year. Payments to doctors, dentists, and specialists count, along with hospital bills, lab and diagnostic fees, long-term care insurance premiums, Medicare premiums, mental health services, and medical equipment such as wheelchairs or hearing aids.1Internal Revenue Service. Publication 502 (2025), Medical and Dental Expenses
Travel to and from medical appointments also counts. For 2026, the IRS medical mileage rate is 20.5 cents per mile, and parking fees and tolls on medical trips are deductible too.6Internal Revenue Service. IRS Sets 2026 Business Standard Mileage Rate at 72.5 Cents Per Mile, Up 2.5 Cents
Why an HSA or FSA Usually Beats the Deduction
If you are looking for a way to pay less tax on your prescriptions, a Health Savings Account or Flexible Spending Account will almost always do more for you than Schedule A. Both let you pay for prescription drugs with pre-tax dollars. Neither requires you to itemize, and neither has a 7.5% floor to clear.
An HSA is available if you have a qualifying high-deductible health plan. You contribute pre-tax money, and withdrawals used for qualified medical expenses, including prescriptions and insulin, come out tax-free.7Office of the Law Revision Counsel. 26 USC 223 – Health Savings Accounts Unused balances roll over indefinitely, so this year’s contributions can pay for drugs decades from now.
A health care FSA runs on a similar idea but with tighter rules. Your employer has to offer one, contributions are capped lower, and most plans run on a use-it-or-lose-it basis within the plan year. The upside: no high-deductible plan required, and your full annual election is available on day one.
The savings are immediate and automatic either way. If you are in the 22% federal bracket, every $100 you run through an HSA or FSA for prescriptions saves you $22 in federal income tax, plus any state income tax and the 7.65% payroll tax. No itemizing, no floor.
One rule to keep straight: prescription costs you pay from an HSA or FSA cannot also be claimed as an itemized medical expense. You get the tax benefit once, not twice.1Internal Revenue Service. Publication 502 (2025), Medical and Dental Expenses
A Note for the Self-Employed
If you are self-employed with a net profit, you can deduct health insurance premiums as an above-the-line adjustment on Schedule 1, line 17, without itemizing.8Internal Revenue Service. Instructions for Form 7206 (2025) That deduction covers medical, dental, vision, and qualified long-term care insurance premiums for you, your spouse, and your dependents. It does not cover individual prescription costs. Those still have to go through Schedule A, subject to the same itemizing requirement and 7.5% AGI floor as everyone else. If you do not claim 100% of your premiums above the line, the rest can be added to your Schedule A medical total.9Internal Revenue Service. Topic No. 502, Medical and Dental Expenses
Records to Keep
If you do claim prescriptions on Schedule A, keep the paperwork. For each prescription, you want a pharmacy receipt or statement showing the drug name, the date of purchase, and the amount you paid out of pocket. Subtract anything covered by insurance, an HSA, or an FSA. Hold onto your insurer’s Explanation of Benefits statements so you can prove the unreimbursed portion.
Keep these records for at least three years after you file, the standard IRS audit window.10Internal Revenue Service. How Long Should I Keep Records? The practical workflow: drop every pharmacy receipt into one folder during the year, pull your EOBs at tax time, and subtract what was reimbursed. If your remaining out-of-pocket total is nowhere near 7.5% of your income, the deduction is not available to you, and an HSA or FSA is where to put your energy next year.