Yes, you can use your HSA to pay for prescriptions without paying taxes on the money

A Health Savings Account (HSA) is designed to let you set aside pre-tax dollars for medical expenses, and prescriptions are one of the main things it covers. When you use HSA money to pay for a prescription your doctor has written, you do not owe income tax on that withdrawal — as long as the prescription is for you, your spouse, or your dependent.

This is different from using regular money from your checking account. If you paid for a prescription with after-tax dollars, you cannot get that money back or deduct it later. With an HSA, the money never gets taxed in the first place, which means you keep more of what you earn.

The prescription has to be written by a licensed provider — a doctor, nurse practitioner, or physician assistant. Over-the-counter medications like ibuprofen or cold medicine do not count, even if they work well for you, unless a doctor writes a prescription for them specifically.

Key Takeaways

  • You can withdraw HSA funds to pay for any prescription a licensed provider writes for you, your spouse, or your dependent without owing income tax on the withdrawal.
  • The prescription must come from a licensed healthcare provider; over-the-counter medications do not count unless prescribed in writing.
  • You can pay for the prescription at the pharmacy counter using your HSA debit card, or pay out of pocket and reimburse yourself from your HSA later.
  • Keep the prescription receipt and any documentation showing the medication was medically necessary, in case the IRS asks about the withdrawal.
  • If you withdraw HSA money for something that is not a may have access to medical expense, you owe income tax on that amount plus a 20 percent penalty.

How to pay for a prescription with your HSA

Most HSAs come with a debit card that works like a regular bank card. When you pick up a prescription at the pharmacy, you can hand the pharmacist your HSA debit card and pay directly. The money comes out of your HSA account, and you do not have to do any paperwork or file anything with the IRS.

If your HSA does not have a debit card, or if you want to use a different payment method, you can pay for the prescription with your regular debit card or cash, then request a reimbursement from your HSA. You will need to submit the pharmacy receipt showing the prescription name, the date, and the amount you paid. Your HSA administrator will review it and send the money back to your checking account within a few business days.

Some people prefer to pay out of pocket and reimburse themselves later because it gives them a record of what they spent. If you do this, keep the receipt in a safe place — you do not have to file it with your taxes, but the IRS can ask to see it if they question your withdrawal.

What counts as a prescription expense

A prescription counts as a may have access to medical expense if a doctor, dentist, optometrist, or other licensed provider writes it. This includes medications for chronic conditions like diabetes or high blood pressure, antibiotics for infections, birth control, and psychiatric medications. It also includes prescriptions for topical creams, inhalers, and injectable medications.

The pharmacy does not have to be a chain drugstore. You can use your HSA at independent pharmacies, mail-order pharmacies, and online pharmacies as long as they are licensed to dispense prescriptions in your state. If you are filling a prescription at a pharmacy that also sells other items, the HSA debit card should only charge your HSA account for the prescription itself, not for other purchases you make at the same time.

Insulin and other diabetes supplies like test strips and lancets are also covered, whether or not they require a prescription in your state. Some states allow you to buy insulin without a prescription, and your HSA will still cover it.

What does not count, even if you buy it at a pharmacy

Over-the-counter medications are not covered by your HSA unless a doctor writes a prescription for them. This means you cannot use your HSA to pay for ibuprofen, acetaminophen, cold medicine, allergy pills, or antacids that you pick up off the shelf, even if they are sold at a pharmacy. If your doctor writes a prescription for one of these medications, then it becomes a may have access to expense and your HSA will cover it.

Vitamins and supplements do not count, even if you buy them at a pharmacy or health food store. The only exception is if a doctor prescribes a specific vitamin or supplement to treat a diagnosed medical condition — for example, a prescription for vitamin D if you have a deficiency. In that case, you would need the written prescription to prove it is medically necessary.

Cosmetic products do not count, even if they are sold at a pharmacy. Sunscreen, moisturizer, and anti-aging creams are not covered. However, if a dermatologist prescribes a medicated cream to treat acne or another skin condition, that prescription is covered.

Keeping records in case the IRS asks

You do not have to send receipts to the IRS when you file your taxes. However, you should keep them for at least three years in case the IRS questions your HSA withdrawals. The receipt should show the pharmacy name, the date, the prescription name, and the amount you paid.

If you use your HSA debit card, your HSA administrator will send you a statement each month or quarter showing what you spent and where. This statement is not a receipt, but it is a record that the withdrawal happened. Keep both the statement and the pharmacy receipt together.

If the IRS asks about a withdrawal and you cannot show that it was for a may have access to medical expense, you will owe income tax on that amount. You will also owe a 20 percent penalty on top of the tax. This is why it matters to keep good records, even though you do not have to file them with your return.

Using your HSA for prescriptions while traveling

If you are traveling in the United States and need to fill a prescription, you can use your HSA debit card at any licensed pharmacy. The card works the same way it does at home. If you are traveling outside the United States, check with your HSA administrator first — some HSA debit cards do not work internationally, and some pharmacies outside the U.S. may not accept them.

If you are in a country where you have to pay cash for a prescription, you can pay out of pocket and request a reimbursement when you return home. You will need the pharmacy receipt, which should show the medication name and the amount you paid. Some receipts from foreign pharmacies may be in another language, but your HSA administrator should still accept them as long as you can show what you bought.

What happens if you use your HSA for a non-may have access to expense

If you withdraw money from your HSA and use it for something that is not a may have access to medical expense — for example, you use your HSA debit card to buy groceries or pay for a gym membership — you owe income tax on that amount. You also owe a 20 percent penalty on top of the tax.

If you made a mistake and withdrew money for something you thought was covered but was not, you can put the money back into your HSA within a certain time frame. The rules for this are strict, so contact your HSA administrator right away if this happens. Do not wait until tax time to deal with it.

After age 65, the penalty goes away — you still owe income tax on non-may have access to withdrawals, but not the 20 percent penalty. This is one reason some people keep their HSAs open even after they retire.

Frequently Asked Questions

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

Yes, you can use your HSA to pay for prescriptions for your spouse and any dependents you claim on your taxes. You do not have to be the person taking the medication. Keep the receipt showing who the prescription was for, in case the IRS asks.

What if my insurance does not cover a prescription my doctor prescribed?

You can still use your HSA to pay for it. The prescription itself is a may have access to expense — whether or not your insurance covers it does not change that. Your HSA covers the full cost you pay out of pocket.

Can I use my HSA for prescriptions if I am on Medicare?

Once you are on Medicare, you can no longer contribute new money to your HSA. However, you can still withdraw money from your HSA to pay for prescriptions. After age 65, the 20 percent penalty for non-may have access to withdrawals goes away, but you still owe income tax on them.

Do I need to tell my pharmacy that I am using an HSA?

No. When you hand over your HSA debit card, the pharmacy processes it like any other payment card. You do not need to explain that it is an HSA or provide any special documentation. The card itself tells the pharmacy it is a healthcare payment card.

What if my HSA debit card is declined at the pharmacy?

This usually means your HSA account does not have enough money in it, or the pharmacy's system does not recognize the card as a healthcare card. Call your HSA administrator to check your balance. If the balance is correct, ask the pharmacy to try processing it again, or pay out of pocket and request a reimbursement later.