Yes, you can use HSA funds to pay for prescriptions without a tax penalty

Prescription medications are one of the most common things people use HSA money for, and the IRS treats them as a may have access to medical expense. You can pay for prescriptions directly from your HSA account at the pharmacy, or you can pay out of pocket and reimburse yourself from the account later. Either way, the withdrawal is tax-free as long as the medication was prescribed by a doctor.

The key requirement is that a licensed healthcare provider must have written the prescription. Over-the-counter medications—even ones you might think of as serious, like certain allergy or cold medicines—do not count unless a doctor specifically prescribes them. If your doctor writes a prescription for an OTC drug, it becomes a may have access to expense.

Your HSA can also cover the cost of insulin and other diabetes medications, inhalers, blood pressure medications, and virtually any other prescription your doctor writes. The medication does not have to be brand-name; generic versions count equally.

Key Takeaways

  • Prescribed medications are may have access to HSA expenses, and you can withdraw money tax-free to pay for them at any pharmacy.
  • Over-the-counter drugs do not count unless a doctor writes a prescription for them specifically.
  • You can pay the pharmacy directly with your HSA debit card, or pay out of pocket and reimburse yourself from the account later.
  • Keep the prescription and receipt as proof in case the IRS asks about the withdrawal years later.
  • Prescription costs count toward your deductible if you have a high-deductible health plan paired with your HSA.

How to pay for prescriptions with your HSA

Most HSA accounts come with a debit card that works like a regular bank card. You can use it at the pharmacy counter or online when you fill a prescription. The pharmacy processes it the same way it would process a credit card, and the money comes directly from your HSA balance.

If your HSA does not have a debit card, or if you prefer to keep records separate, you can pay for the prescription with your personal money and then request a reimbursement from your HSA custodian. Write down the date, the pharmacy name, the medication name, and the cost. Some HSA providers let you submit reimbursement requests online through their portal; others require a form and receipt by mail.

There is no time limit on when you can reimburse yourself. You could pay for a prescription today and request reimbursement from your HSA five years from now, as long as you have kept the receipt and can document that the expense was incurred while you had an active HSA.

What counts as a prescription expense

The IRS considers a prescription expense may have access to if a doctor, dentist, optometrist, or other licensed practitioner wrote it. This includes medications for physical health, mental health, and dental work. Antidepressants, anxiety medications, and psychiatric prescriptions all count. So do prescriptions for birth control, hormone therapy, and other reproductive health medications.

The pharmacy does not have to be in your insurance network, and your insurance does not have to cover the drug for it to be a may have access to HSA expense. If your insurance denies coverage for a medication your doctor prescribed, you can still use HSA funds to pay for it without penalty.

Prescriptions written by veterinarians do not count, even if the medication is the same as one prescribed to humans. Medications for pets are not may have access to medical expenses under IRS rules.

Prescriptions and your health insurance deductible

If you have a high-deductible health plan (HDHP)—which is required to own an HSA—prescription costs count toward your annual deductible. This means that if your deductible is $1,500 and you spend $400 on prescriptions, you have $1,100 left to meet before your insurance starts paying its share.

Using HSA funds to pay for prescriptions does not change this. Whether you pay with your HSA debit card or with personal money, the prescription cost still counts toward your deductible. The HSA just gives you a tax-free way to pay for it.

Once you have met your deductible, your insurance begins to cover prescriptions according to your plan's copay or coinsurance structure. You can still use HSA funds to pay your copay or coinsurance if you want to, and that withdrawal is also tax-free.

Keeping records for HSA prescription withdrawals

The IRS does not require you to submit receipts when you withdraw money from your HSA, but you must keep them for your own records. If the IRS audits your account years later and asks why you withdrew $200 in March 2024, you need to show a receipt from a pharmacy dated in March 2024 for a prescription.

Save the receipt from the pharmacy, not just the credit card statement. The receipt should show the medication name, the date, the pharmacy name, and the amount paid. If you use your HSA debit card, the transaction will appear on your HSA statement, but the statement alone does not prove it was for a prescription—the pharmacy receipt does.

If you reimburse yourself from your HSA, keep both the receipt and a record of your reimbursement request. Some HSA providers send confirmation emails; others provide a transaction history in their online portal. Either way, you want a paper trail that shows you paid for the prescription and then withdrew the money from your HSA to cover it.

What happens if you use HSA funds for a non-may have access to prescription

If you withdraw HSA money to pay for something that is not a may have access to medical expense—such as an over-the-counter medication you bought without a prescription—you owe income tax on that withdrawal plus a 20 percent penalty. The penalty applies only to the non-may have access to portion, not to your entire HSA balance.

For example, if you withdrew $500 and $100 of it was for a non-may have access to expense, you would owe income tax on the $100 plus a $20 penalty. You would not owe the penalty on the $400 that was for a may have access to prescription.

If you make a mistake and realize it later, some HSA providers allow you to return the money within a certain window and avoid the penalty. Contact your HSA custodian as soon as you realize the error; they can tell you whether a correction is possible.

Frequently Asked Questions

Can I use my HSA to pay for my family's prescriptions?

Yes, as long as they are your tax dependents. You can use your HSA to pay for prescriptions for your spouse and children, even if they are not covered by your health insurance plan. The prescription must still be written by a licensed provider, but it does not have to be your doctor.

What if my prescription is not covered by my insurance?

You can still use your HSA to pay for it. Insurance coverage does not determine whether an expense is may have access to for HSA purposes—a doctor's prescription does. If your doctor prescribes a medication and your insurance denies it, the HSA withdrawal is still tax-free.

Can I use my HSA for mail-order or online pharmacy prescriptions?

Yes. As long as the pharmacy is licensed and the medication requires a valid prescription, you can use your HSA debit card or reimburse yourself for the cost. Online and mail-order pharmacies count the same way as in-person pharmacies.

Do I need to show my prescription to my HSA provider when I withdraw money?

No. Your HSA provider does not verify that a withdrawal is for a may have access to expense at the time you make it. You keep the receipt as proof for your own records. The IRS may ask to see it during an audit, but your HSA custodian will not.

What if I have leftover HSA money at the end of the year?

Unlike a flexible spending account (FSA), HSA money does not expire. You can carry your balance forward to the next year and use it for prescriptions or other may have access to medical expenses whenever you need to. The money remains in your account as long as you keep the HSA open.