You can use your HSA at a pharmacy to pay for prescriptions, insulin, a wide range of over-the-counter medications, menstrual products, and many medical supplies and devices. With the 2026 contribution limits set at $4,400 for self-only coverage and $8,750 for family coverage, there is a meaningful tax-free pool to spend at the register.1Internal Revenue Service. Revenue Procedure 2025-19 The line the IRS draws is between items that treat or prevent a medical condition and items that are for general wellness or personal care.
What Qualifies at the Pharmacy
HSA-eligible spending traces back to the federal definition of “medical care,” which covers amounts paid for diagnosing, treating, or preventing disease.2Office of the Law Revision Counsel. 26 USC 213 – Medical, Dental, Etc., Expenses Every prescription drug and all forms of insulin qualify, regardless of the condition being treated.
Since the CARES Act took effect in 2020, over-the-counter medications qualify without a doctor’s prescription. That covers pain relievers, antihistamines, and cold medicine off the shelf. The same law permanently added menstrual care products—tampons, pads, liners, and cups—to the eligible list.
Medical devices and diagnostic tools used to treat or monitor illness also qualify. Blood sugar test kits, blood pressure monitors, bandages, hearing aids and their batteries, pregnancy test kits, and home COVID-19 rapid tests are all eligible.3Internal Revenue Service. Publication 502 – Medical and Dental Expenses Sunscreen with SPF 15 or higher is widely accepted by HSA administrators because the FDA classifies it as an over-the-counter drug rather than a cosmetic.
What Doesn’t Qualify
The IRS excludes items used for personal care rather than medical treatment. Toothpaste, toothbrushes, dental floss, and mouthwash fall outside the definition. So do toiletries like shampoo, deodorant, and soap. Cosmetic products and procedures aimed at improving appearance are ineligible.3Internal Revenue Service. Publication 502 – Medical and Dental Expenses
Vitamins and supplements are the item that trips people up most often. A daily multivitamin bought for general health does not qualify. But if your doctor prescribes a specific supplement to treat a diagnosed deficiency, that purchase can become eligible with a Letter of Medical Necessity. The letter should come from your healthcare provider and include your diagnosis, the specific product prescribed, and the recommended length of treatment. Without that documentation, the supplement stays in the personal expense column.
Paying With the HSA Debit Card
The simplest way to pay is to swipe the HSA debit card issued by your account custodian. Most major retail pharmacies run a system called the Inventory Information Approval System, or IIAS, that checks each item’s product code against a list of eligible medical expenses. When you bring a mix of qualifying and non-qualifying items to the register, the system splits the transaction automatically: your HSA card covers the eligible portion, and you pay the rest with a personal card or cash. No sorting, no arguing with a cashier.
Not every pharmacy or retailer has IIAS in place. If the system isn’t available, your HSA debit card may still work, but the burden shifts to you to make sure every item in the transaction actually qualifies. Buying non-eligible items with HSA funds, even by accident, creates a taxable distribution.
Paying Out of Pocket and Reimbursing Yourself Later
You don’t have to use the HSA debit card at the time of purchase. You can pay with a personal credit card, debit card, or cash, and reimburse yourself from your HSA later through your provider’s online portal or mobile app. There is no federal deadline for submitting the reimbursement. A prescription you pay for today can be reimbursed months or years from now, letting the HSA balance stay invested and grow tax-free in the meantime.
The one hard rule runs in the other direction. You can only reimburse expenses that occurred after your HSA was established.4Internal Revenue Service. Publication 969 – Health Savings Accounts and Other Tax-Favored Health Plans A pharmacy receipt dated before your account existed will never be eligible, no matter how long you wait. State law determines exactly when an HSA is considered established, so check with your custodian if you opened your account recently.
Covering a Spouse or Dependent’s Pharmacy Costs
Your HSA isn’t limited to your own pharmacy purchases. You can use it for qualified medical expenses incurred by your spouse, any dependent you claim on your tax return, and certain individuals who would qualify as dependents except that they filed a joint return or had income above the exemption threshold.4Internal Revenue Service. Publication 969 – Health Savings Accounts and Other Tax-Favored Health Plans For divorced or separated parents, a child is treated as the dependent of both parents for HSA purposes, regardless of which parent claims the exemption.
Your spouse and dependents do not need to be on your high-deductible health plan for their pharmacy expenses to qualify. As long as the purchase meets the IRS definition of medical care, you can pay for it from your HSA.
Receipts and Tax Reporting
Every HSA distribution shows up on your federal tax return. Contributions and distributions get reported on IRS Form 8889, filed alongside your Form 1040.5Internal Revenue Service. Instructions for Form 8889 If the IRS questions whether a distribution was used for a qualified expense, the burden of proof falls on you. A credit card statement showing a lump sum at a pharmacy won’t cut it.
For every pharmacy purchase, keep an itemized receipt showing the store name, date, each item purchased, and the amount paid. Many HSA providers let you upload receipts through their app or website. The IRS applies the same standards to electronic records as paper ones, so scanned or photographed receipts are acceptable as long as they’re legible and organized.6Internal Revenue Service. What Kind of Records Should I Keep Because there’s no time limit on reimbursements, keeping these receipts indefinitely is worth the minimal effort.
What Happens If You Buy Something That Doesn’t Qualify
If you use HSA funds for something that isn’t a qualified medical expense, the distribution gets added to your taxable income for the year. On top of that, you owe an additional 20% tax on the non-qualified amount.4Internal Revenue Service. Publication 969 – Health Savings Accounts and Other Tax-Favored Health Plans Combined with your marginal income tax rate, the hit can be steep. Someone in the 22% federal bracket who accidentally spends $500 on non-qualified items would owe roughly $210 in combined taxes and penalties on that amount.
The 20% penalty goes away once you turn 65, become disabled, or in the event of death. After age 65, non-qualified distributions are still taxed as ordinary income, but without the extra penalty.4Internal Revenue Service. Publication 969 – Health Savings Accounts and Other Tax-Favored Health Plans For the years before that, the split-transaction feature at IIAS pharmacies is the easiest guard against paying the penalty on a stray item at checkout.