Knowing how to put money into an HSA is only half the equation. Understanding HSA withdrawal rules determines whether you’ll enjoy tax-free spending on medical costs or face unexpected taxes and penalties. The rules are favorable when you follow them and costly when you don’t, with a 20% penalty plus income tax waiting on the other side of a non-qualified withdrawal before age 65.
This guide walks through every scenario: what counts as a qualified withdrawal, what triggers penalties, how the rules shift at age 65, and the strategies that help you get the most from your health savings account over a lifetime.
Qualified Medical Expense Withdrawals
The most straightforward use of HSA funds is paying for qualified medical expenses as defined by IRS Publication 502. When you withdraw money for these expenses, the distribution is completely tax-free. No federal income tax, no state income tax (in most states), and no penalties.
Qualified expenses include doctor visits, hospital services, prescription drugs, dental treatments, vision care, mental health services, over-the-counter medications, medical equipment, and dozens of other categories. The list is identical to what qualifies for a health care FSA. For the full breakdown, see our FSA eligible items guide.
You can withdraw funds by using your HSA debit card at the point of sale, writing a check from your HSA checkbook, transferring funds online to reimburse yourself for out-of-pocket payments, or submitting a claim to your HSA administrator. Whichever method you choose, keep documentation. The IRS may request proof that a distribution was used for a qualified expense, and you’ll need receipts, explanation of benefits (EOBs), or provider statements to support your claim.
The 20% Penalty for Non-Qualified Withdrawals
If you withdraw HSA funds for a purpose that is not a qualified medical expense and you are under age 65, the distribution is subject to both income tax and a 20% additional penalty. This is one of the steepest penalties in the tax code and is designed to discourage using the HSA as a general savings account before retirement.
For example, if you’re in the 22% federal tax bracket and withdraw $1,000 for a non-medical expense, you’d owe $220 in federal income tax plus a $200 penalty, totaling $420 in taxes on the $1,000 withdrawal. State income taxes would add to the total in most states. The HSA withdrawal rules make non-medical distributions before 65 one of the most tax-inefficient moves you can make.
Exceptions to the penalty (but not the income tax) apply in cases of death, disability, or turning 65. If you become disabled as defined by the IRS, non-medical withdrawals are taxed as income but the 20% penalty is waived.
How the Rules Change After Age 65
Once you reach age 65, the HSA withdrawal rules become significantly more flexible. Withdrawals for qualified medical expenses remain completely tax-free, as they are at any age. But withdrawals for non-medical expenses are no longer subject to the 20% penalty. Instead, they are simply taxed as ordinary income, similar to a traditional IRA or 401(k) distribution.
This transformation makes the HSA a powerful retirement planning tool. After 65, the account functions as a dual-purpose vehicle: tax-free for medical expenses and tax-deferred for everything else. Given that healthcare costs in retirement are substantial, with Fidelity estimating that an average 65-year-old couple needs approximately $315,000 for healthcare expenses in retirement, having a dedicated tax-free medical fund provides genuine financial security.
Medicare premiums, including Part B and Part D premiums, can be paid tax-free from your HSA after age 65. So can Medicare Advantage plan premiums, long-term care insurance premiums (up to IRS-specified age-based limits), and COBRA premiums. These are exceptions to the general rule that insurance premiums are not qualified HSA expenses. For a broader view of HSA advantages, see our HSA benefits guide.
No Deadline for Reimbursement
One of the most strategically important HSA withdrawal rules is that there is no time limit for reimbursing yourself for qualified medical expenses. If you incur a medical expense today, pay for it out of pocket, and save the receipt, you can reimburse yourself from your HSA years or even decades later. The only requirement is that the expense occurred after you established your HSA.
This rule enables a powerful long-term strategy. Instead of spending HSA funds immediately, some account holders pay medical expenses out of pocket, let their HSA balance grow through investments, and accumulate receipts for future reimbursement. Over time, the invested HSA balance can grow substantially, and the accumulated receipts create a pool of tax-free withdrawal capacity whenever it’s needed.
There’s no IRS form or reporting requirement for the timing of reimbursement. You simply need to retain proof that the expense was incurred after the HSA was opened and that it qualifies under Publication 502. A well-organized file of receipts and EOBs is your protection in the event of an audit.
Withdrawals for Your Spouse and Dependents
Your HSA funds can be used tax-free for qualified medical expenses incurred by your spouse and your tax dependents, even if they are not covered under your HDHP. This is a frequently overlooked benefit that expands the practical utility of the account significantly.
If your spouse has their own health plan (HDHP or otherwise) and incurs medical expenses, you can use your HSA to pay for those expenses tax-free. Similarly, medical expenses for your dependent children, including those covered under a different parent’s health plan, qualify for tax-free HSA withdrawals.
After divorce, you can still use your HSA for your own expenses and for expenses of dependents you claim on your tax return, but you can no longer use it for your ex-spouse’s expenses. After the death of the HSA holder, the account transfers to the designated beneficiary. If the beneficiary is the surviving spouse, it becomes their HSA. If the beneficiary is anyone else, the account ceases to be an HSA and the full balance is taxable to the beneficiary.
Reporting HSA Withdrawals on Your Tax Return
All HSA distributions must be reported on IRS Form 8889, which is filed with your Form 1040. Your HSA custodian will provide Form 1099-SA showing total distributions for the year. On Form 8889, you allocate distributions between qualified medical expenses (tax-free) and non-qualified uses (taxable plus potential penalty).
Keep your documentation organized because the IRS can request substantiation of qualified distributions. While you don’t submit receipts with your return, you must be able to produce them if audited. A simple system, whether digital or paper, that pairs each distribution with its corresponding receipt or EOB is the best protection.
Common HSA Withdrawal Mistakes
Using HSA funds for expenses incurred before the account was established is a mistake that triggers taxes and penalties. The HSA eligibility start date matters; any expense predating it is non-qualified regardless of medical necessity.
Paying for a spouse’s or dependent’s expenses when they no longer qualify (after divorce or when a child ages out of dependent status) is another trap. Verify dependent status before using HSA funds for family members’ expenses.
Failing to keep receipts is perhaps the most common error. Without documentation, you cannot prove a distribution was for a qualified expense, and the IRS will treat it as taxable income with the applicable penalty if you’re audited and cannot substantiate. According to IRS guidelines, the burden of proof rests on the account holder.
Frequently Asked Questions
Can I withdraw HSA funds for cosmetic surgery?
No. Cosmetic procedures that do not treat a medical condition are not qualified medical expenses under IRS Publication 502. Withdrawals for cosmetic surgery would be subject to income tax and the 20% penalty if you’re under 65. Reconstructive surgery following a medical event, such as surgery after an accident, may qualify if it addresses a functional issue.
What if I accidentally use my HSA card for a non-medical purchase?
You should repay the amount to your HSA before your tax filing deadline to avoid taxes and the penalty. If you can’t repay it, report the distribution as a non-qualified withdrawal on Form 8889. The amount will be included in your gross income and subject to the 20% penalty if you’re under 65.
Can I use my HSA to pay health insurance premiums?
Generally, no. Health insurance premiums are not considered qualified medical expenses, with several exceptions. After age 65, you can use HSA funds tax-free for Medicare premiums (Parts A, B, D, and Medicare Advantage). At any age, you can pay COBRA premiums and health insurance premiums while receiving unemployment compensation. Long-term care insurance premiums qualify up to age-based limits set by the IRS.
Do I need to withdraw funds in the same year as the medical expense?
No. There is no deadline for reimbursement. You can pay a medical expense out of pocket today and reimburse yourself from your HSA at any future date, as long as the expense occurred after your HSA was established. This flexibility is one of the most powerful features of the account.
Use Your HSA Withdrawals Strategically
The HSA withdrawal rules reward those who understand them and penalize those who don’t. Use your funds for qualified medical expenses to enjoy completely tax-free distributions. Avoid non-medical withdrawals before age 65 to sidestep the 20% penalty. Save your receipts indefinitely to preserve the option of future reimbursement. And after 65, leverage the account as both a tax-free medical fund and a flexible retirement account. For more on how HSAs compare to other savings options, read our HSA vs FSA guide. For strategies on reducing healthcare spending overall, visit our healthcare costs guide. And as always, consult a tax professional for advice specific to your situation.