You can withdraw money from your HSA at any time, but the tax consequences depend on what you spend it on
Yes, you can take money out of your HSA whenever you want. The account is yours. But the IRS treats HSA withdrawals differently depending on whether you use the money for may have access to medical expenses or for something else. If you withdraw funds for a non-medical reason before age 65, you owe income tax on that amount plus a 20 percent penalty. If you withdraw for a may have access to medical expense — whether you're 30 or 75 — there's no tax or penalty at all.
The catch is that "may have access to medical expense" has a specific definition under IRS rules, and it's narrower than you might think. Over-the-counter pain relievers, for example, are covered. Vitamins are not. Dental work is covered. Cosmetic dental work is not. The difference matters because the IRS can audit your HSA withdrawals years later and demand repayment plus penalties if it decides you spent the money wrong.
Key Takeaways
- Withdrawals for may have access to medical expenses carry no tax or penalty at any age, and you keep the tax deduction you received when you contributed.
- Withdrawals for non-medical reasons before age 65 trigger both income tax and a 20 percent penalty on the amount withdrawn.
- After age 65, you can withdraw money for any reason and pay only income tax (no penalty), though non-medical withdrawals lose their tax-free status.
- The IRS publishes a list of what counts as a may have access to medical expense, and it excludes many health-related purchases like vitamins and cosmetic procedures.
- You can withdraw money directly from your HSA or reimburse yourself for expenses you paid out of pocket, and both routes have the same tax treatment.
How withdrawals for medical expenses work
When you withdraw HSA money to pay for a may have access to medical expense, you owe no federal income tax and no penalty. This is true whether you're 25 or 85. The money comes out tax-free, just as it went in tax-free.
may have access to medical expenses include doctor visits, prescription medications, hospital stays, surgery, dental work (but not cosmetic dentistry), vision care, hearing aids, and many other treatments. The IRS maintains a full list on its website. The key rule is that the expense must be for diagnosis, cure, mitigation, treatment, or prevention of disease, or for treatment of a bodily function or structure.
You don't have to withdraw the money and spend it immediately. You can pay a medical bill out of your own pocket, keep the receipt, and reimburse yourself from your HSA weeks or even years later. The tax treatment is the same either way. Many people do this deliberately — they let the HSA grow and invest the money, then reimburse themselves later when they need cash.
Non-medical withdrawals before age 65
If you withdraw HSA money for something that isn't a may have access to medical expense before you turn 65, the IRS taxes you twice. You owe ordinary income tax on the amount withdrawn, plus a 20 percent penalty on top of that. So if you withdraw $1,000 for a non-medical reason and you're in the 22 percent tax bracket, you'd owe $220 in income tax plus $200 in penalty — $420 total.
This penalty is separate from income tax, not part of it. It's the IRS's way of discouraging people from using HSAs as general savings accounts. The penalty applies to the withdrawal amount itself, not to any earnings the money made while it sat in the account.
You report the withdrawal on your tax return using IRS Form 8889. If you made a withdrawal you now realize was non-may have access to, you can sometimes correct it by recontributing the money within a certain window, but this gets complicated and depends on your specific situation. It's better to know the rules before you withdraw.
What happens after you turn 65
At age 65, the 20 percent penalty goes away. You can withdraw money from your HSA for any reason — medical or not — and you'll only owe income tax on non-medical withdrawals. No penalty. This makes the HSA function like a traditional IRA at that point: you can use it for retirement expenses of any kind.
The tax treatment changes, though. If you withdraw $5,000 for a non-medical reason after 65, you owe income tax on that $5,000 at your ordinary tax rate. If you withdraw $5,000 for a may have access to medical expense, you owe nothing. So the incentive to use HSA money for medical expenses remains, but the penalty for not doing so disappears.
Many people use this feature strategically. They contribute to their HSA while working and in a lower tax bracket, let the money grow, and then withdraw it for medical expenses in retirement when they're in a higher tax bracket anyway — effectively locking in the lower tax rate from when they contributed.
Withdrawals and your HSA provider
How you actually take money out depends on your HSA provider. Some HSAs are tied to a debit card that works like a regular bank card — you swipe it at the pharmacy or doctor's office and the money comes out of your HSA. Others require you to request a check or transfer. A few let you do both.
When you use the debit card, the provider usually assumes the purchase is for a may have access to medical expense and doesn't ask questions at the point of sale. But you're still responsible for keeping receipts and proving the expense was may have access to if the IRS ever asks. The debit card is a convenience, not a may provide that the withdrawal is tax-free.
If you're reimbursing yourself for an expense you already paid out of pocket, you'll typically request a check or bank transfer from your HSA provider. Keep the original receipt and any documentation of the medical expense. The IRS can request this documentation years after the withdrawal, so don't throw receipts away just because you've filed your tax return.
Common may have access to medical expenses
The list of what counts is long, but some items surprise people. Prescription medications are covered. Over-the-counter medications like ibuprofen and cold medicine are covered — but only if you have a prescription for them (this changed in 2020). Vitamins and supplements are not covered unless they're prescribed by a doctor to treat a specific condition.
Dental work is covered, including cleanings, fillings, and orthodontia. Cosmetic dentistry — like teeth whitening or veneers done purely for appearance — is not. Vision care, including eye exams, glasses, and contact lenses, is covered. Hearing aids and related care are covered. Mental health treatment, including therapy and psychiatric medications, is covered.
Some expenses that feel medical but aren't covered include gym memberships (even if prescribed for health), cosmetic surgery, and most over-the-counter health products like bandages or thermometers. If you're unsure whether a specific expense qualifies, the IRS website has a searchable database, or you can ask your HSA provider — though the provider's answer isn't binding if the IRS disagrees.
How to track withdrawals and stay compliant
Keep a record of every withdrawal and what it was for. This doesn't have to be complicated — a spreadsheet with the date, amount, and expense description works. Attach receipts and any medical documentation. If you're reimbursing yourself for an out-of-pocket expense, note the original date you paid it and the date you reimbursed yourself from the HSA.
The IRS doesn't require you to submit receipts with your tax return, but it can ask for them during an audit. HSA audits aren't common, but they do happen, and they can go back several years. Having organized records makes the process much faster and protects you if there's a question about whether an expense was may have access to.
Some HSA providers send you a year-end statement showing all your withdrawals. Review it for accuracy. If you made a withdrawal you now think was non-may have access to, you may be able to correct it by recontributing the funds, but you'll need to act quickly and understand the rules for your specific situation. A tax professional can help if you're unsure.
Frequently Asked Questions
Can I withdraw HSA money to pay off medical debt?
Yes, if the debt is for a may have access to medical expense. If you owe a hospital bill for surgery, you can use HSA funds to pay it. If you owe money for cosmetic procedures or non-may have access to expenses, the withdrawal itself is non-may have access to and subject to tax and penalty (if you're under 65).
What if I withdraw money and later find out it wasn't a may have access to expense?
You can recontribute the funds to your HSA within a limited window, though the rules are complex and depend on your plan. It's safer to report the withdrawal as non-may have access to on your tax return and pay the tax and penalty. Consult a tax professional if this happens — trying to fix it yourself can create more problems.
Do I have to withdraw money from my HSA, or can I just leave it there?
You don't have to withdraw anything. HSAs have no required minimum withdrawals at any age, unlike traditional IRAs. You can let the money sit and grow indefinitely, then withdraw it for medical expenses whenever you need it — even decades later.
Can I withdraw HSA money to pay for my spouse's medical expenses?
Yes. As long as the expense is may have access to and your spouse is claimed as a dependent on your tax return, you can use your HSA to pay for their medical care. The money doesn't have to be used only for your own expenses.
What counts as a may have access to medical expense for mental health treatment?
Therapy, counseling, and psychiatric medications are all covered. Inpatient treatment for mental health conditions is covered. However, expenses for general wellness or self-help programs that aren't prescribed by a healthcare provider typically aren't covered, even if they relate to mental health.