Retirement doesn't automatically close your HSA, but the rules change
You can keep a Health Savings Account after you retire, but you cannot open a new one once you turn 65. If you already have an HSA before retirement, it stays open and you can continue to use it. The moment you enroll in Medicare—which happens automatically at 65 for most people—you become ineligible to contribute new money to an HSA, though the account itself and the money in it remain yours to withdraw.
The timing matters because Medicare enrollment and age 65 are not the same thing. Some people delay Medicare past 65, which means they can keep contributing to an HSA longer. Others enroll in Medicare before 65 due to disability or end-stage renal disease. Once Medicare coverage starts, contributions stop, but withdrawals continue to work as they always have.
Key Takeaways
- You can keep an existing HSA after retirement and withdraw from it at any time without penalty, regardless of age.
- You cannot open a new HSA or make new contributions once you enroll in Medicare, which typically happens at age 65.
- If you delay Medicare past 65, you can continue to contribute to an HSA until the month you enroll.
- Withdrawals from an HSA after age 65 for non-medical expenses are taxed as ordinary income but no longer face the 20% penalty.
- An HSA can serve as a supplemental retirement savings account if you have unused medical funds, since the tax-free growth continues indefinitely.
What happens to your HSA when you turn 65
At age 65, you become ineligible to contribute to an HSA the moment you enroll in Medicare Part A, Part B, or Part D. Most people enroll automatically, but some actively delay enrollment. If you delay, you can keep contributing until the month you actually enroll. Once enrolled, the IRS treats you as ineligible, and any contributions you make after that point are subject to a 6% excise tax on the excess amount.
The account itself does not close. Your balance stays in the account, continues to earn interest or investment returns if you have invested it, and you can withdraw from it whenever you need to. The only change is that you cannot add new money through payroll deductions or personal contributions.
How withdrawals work after you retire
Before age 65, HSA withdrawals for may have access to medical expenses are tax-free and penalty-free. After age 65, withdrawals for may have access to medical expenses remain tax-free and penalty-free. The difference is what happens if you withdraw money for something other than a medical expense.
Before age 65, a non-medical withdrawal triggers both income tax and a 20% penalty. After age 65, a non-medical withdrawal triggers only income tax—the 20% penalty goes away. This makes an HSA function somewhat like a traditional IRA after you turn 65, except that medical withdrawals stay tax-free indefinitely. Many retirees use this feature to cover Medicare premiums, copays, deductibles, and out-of-pocket costs that Medicare does not cover.
Keep records of what you spend the money on. The IRS does not require you to submit receipts when you withdraw, but if you withdraw for a non-medical expense and later face an audit, you need to prove it was not medical. Withdrawals for may have access to medical expenses have no documentation requirement at the time of withdrawal, but keeping records protects you if questions arise later.
Using an HSA to pay for Medicare costs in retirement
Medicare premiums, deductibles, and copayments all count as may have access to medical expenses, so you can withdraw from your HSA to pay them tax-free. This includes Part B premiums, Part D prescription drug premiums, and Medigap supplemental insurance premiums. It does not include long-term care insurance premiums, which are subject to annual limits and do not count as may have access to expenses for HSA purposes.
Dental and vision care that Medicare does not cover also count as may have access to expenses. If you need a crown, root canal, glasses, or hearing aids, you can pay for them with HSA funds tax-free. Over-the-counter medications and medical equipment like blood pressure monitors and glucose meters also may have access to.
This is one reason some people view an HSA as a retirement savings tool. If you have contributed to an HSA for decades and rarely used it, the balance can grow substantially. In retirement, you have predictable medical expenses—Medicare premiums, ongoing prescriptions, specialist visits—that you can pay with tax-free HSA withdrawals, stretching your retirement savings further.
If you delay Medicare, you can keep contributing
Some people work past 65 or choose not to enroll in Medicare when ready. If you have employer health coverage and do not enroll in Medicare, you remain may be able to access to contribute to an HSA. This applies only if you are still covered by a high-deductible health plan (HDHP) through your employer or through the individual market.
The moment you enroll in any part of Medicare, contributions stop. If you enroll in Part A only, contributions stop. If you enroll in Part B only, contributions stop. If you enroll in Part D only, contributions stop. The rule is absolute: any Medicare enrollment ends HSA contributions when ready.
If you are self-employed or have a spouse who is self-employed, the same rule applies. You can continue to contribute to an HSA as long as you are covered by an HDHP and not enrolled in Medicare. Once Medicare starts, contributions end, even if your spouse is still working and covered by an HDHP.
Transferring or inheriting an HSA
If you have a spouse, they can inherit your HSA and treat it as their own. The account transfers to them with no tax consequences, and they can continue to use it under the same rules that explore to their own HSA. If they are already retired and on Medicare, they can still withdraw from the inherited HSA for their own may have access to medical expenses tax-free.
If you have non-spouse beneficiaries—adult children, for example—the HSA does not transfer to them in the same way. The account is closed, and the balance is paid out to your estate. The beneficiary owes income tax on the full amount, with no deduction for medical expenses. This is one reason some people prioritize spending down an HSA or directing it to a spouse before death.
Common mistakes to avoid in retirement
The most common mistake is enrolling in Medicare without realizing it closes your HSA contributions. If you turn 65 and do nothing, you are automatically enrolled in Medicare Part A. If you want to keep contributing to an HSA, you must actively decline Part A enrollment by contacting Social Security. This is a deliberate choice, not a default, and you need to do it before the enrollment window closes.
Another mistake is withdrawing from an HSA for non-medical expenses after 65 and not understanding the tax consequence. The 20% penalty is gone, but ordinary income tax still applies. If you withdraw $10,000 for a non-medical expense and you are in the 22% federal tax bracket, you owe $2,200 in federal income tax on that withdrawal, plus any state income tax. Plan accordingly and keep records of what you spend the money on.
A third mistake is assuming your HSA balance must be spent by a certain age or date. There is no important date. An HSA can sit in your account indefinitely, earning returns, and you can withdraw from it at any point in your life. Some people leave HSA balances untouched for years, using other retirement funds first, and tap the HSA later when medical expenses spike.
Frequently Asked Questions
Can I open an HSA after I turn 65?
No. Once you turn 65 and enroll in Medicare, you cannot open a new HSA or make contributions to an existing one. If you have not opened an HSA before Medicare enrollment, you cannot open one afterward. The only exception is if you delay Medicare past 65—then you can open and contribute to an HSA until the month you enroll in Medicare.
What happens if I contribute to an HSA after I enroll in Medicare?
Any contributions you make after Medicare enrollment are subject to a 6% excise tax on the excess amount each year the money remains in the account. The IRS considers you ineligible to contribute, so the contributions are treated as excess contributions. You should withdraw the excess amount and any earnings on it to avoid the ongoing penalty.
Can I use my HSA to pay for long-term care insurance?
Long-term care insurance premiums are not a may have access to HSA expense for people over 65. There are annual limits on how much you can withdraw for long-term care premiums, and most long-term care policies exceed those limits. You cannot use HSA funds tax-free to pay for long-term care insurance, though you can use them for actual long-term care services if you need them.
Do I have to spend my HSA before I die?
No. You can leave an HSA balance to your spouse in your will, and they can inherit it and use it as their own. If you leave it to non-spouse beneficiaries, the account closes and they receive the balance as income, owing tax on the full amount. There is no requirement to spend the balance during your lifetime.
Can I withdraw from my HSA to pay for my spouse's medical expenses?
Only if your spouse is your tax dependent. If you claim your spouse as a dependent on your tax return, their medical expenses count as may have access to expenses for your HSA. If you do not claim them as a dependent, their medical expenses do not count, and withdrawals to pay for them are treated as non-medical withdrawals and subject to income tax.