A health savings account works as a retirement account once you turn 65
A health savings account (HSA) is one of the few accounts that lets you save money three different ways at once: you don't pay taxes when you put money in, the money grows without being taxed, and you don't pay taxes when you take it out for medical bills. After you turn 65, the rules change in a way that makes an HSA work like a traditional retirement account — you can withdraw money for any reason, not just medical costs, though non-medical withdrawals are taxed as income.
This matters for retirement because an HSA is the only account where medical expenses stay tax-free forever. If you have a regular retirement account and use it to pay a medical bill, you pay income tax on that withdrawal. With an HSA, medical bills stay free of tax at any age. That's a real advantage if you expect significant healthcare costs in retirement, which most people do.
Key Takeaways
- An HSA lets you save money for medical costs with no taxes going in, growing, or coming out — a benefit no other retirement account offers.
- After age 65, you can withdraw HSA money for any reason, but non-medical withdrawals are taxed as regular income, making it function like a traditional IRA at that point.
- You can only contribute to an HSA if you're enrolled in a high-deductible health plan, so your employer's insurance choices affect whether this strategy is available to you.
- Medical expenses in retirement — including Medicare premiums, dental work, and long-term care — can be paid from an HSA tax-free, even decades after you contributed the money.
- An HSA works best as a retirement tool if you can afford to pay medical bills out of pocket now and let the account grow untouched until later.
How the tax advantage changes at retirement age
Before age 65, an HSA has strict rules: you can only withdraw money to pay for medical costs you actually incurred. If you take money out for anything else, you pay income tax on it plus a 20 percent penalty. This makes it feel like a medical-only account, which it is.
At age 65, the 20 percent penalty disappears. You can withdraw money for any reason — groceries, travel, rent — and pay only income tax, the same as you would with a traditional IRA or 401(k). The difference is that if you use the money for a medical expense, you still pay no tax at all. This is why an HSA becomes a powerful retirement tool: it's a backup account that works like a regular retirement account but with a tax-free lane for medical bills.
This shift happens automatically. You don't need to do anything or move the money. The account straightforward follows the new rules once you reach 65.
Medical expenses that stay tax-free in retirement
The list of what counts as a medical expense is longer than most people realize. It includes obvious costs like doctor visits and prescriptions, but also dental work, vision care, hearing aids, mental health treatment, and physical therapy. It covers Medicare premiums — Part B, Part D, and Medigap policies — which is significant because those premiums are often a large part of retirement healthcare costs.
Long-term care insurance premiums can also be paid from an HSA tax-free, up to certain limits set by the IRS each year. If you end up needing nursing home care or in-home information, those costs themselves can be paid from an HSA if they're medically necessary. Over a long retirement, these expenses can add up to tens of thousands of dollars.
The key is that you need to keep receipts and documentation. The IRS doesn't require you to submit them when you withdraw the money, but you need to be able to prove the expense was medical if you're ever audited. Many people keep a folder or spreadsheet of medical costs and their dates.
Building an HSA balance while you're working
An HSA only works as a retirement tool if you actually save money in it rather than spending every dollar on current medical bills. This requires a different mindset than most people use with healthcare accounts. Instead of thinking "I have this account, so I should use it," think "I have this account, so I can save for later."
The contribution limits are set by the IRS and change each year. For 2024, you can contribute up to $4,150 if you have individual coverage or $8,300 if you have family coverage under a high-deductible plan. If you're 55 or older, you can add an extra $1,000 per year. These limits are higher than most people realize, which means an HSA can accumulate significant money over 10 or 20 years of work.
The best strategy is to pay medical bills from your regular checking account or another source if you can afford to, and let the HSA grow. Many people contribute the maximum, use their paycheck or savings to cover medical costs, and treat the HSA as a long-term investment account. The money can be invested in mutual funds or kept in cash, depending on your comfort level and how soon you'll need it.
How an HSA compares to other retirement accounts
A traditional IRA or 401(k) gives you a tax break on the way in and charges tax on the way out. A Roth IRA charges tax on the way in but not on the way out. An HSA is the only account that offers both: no tax going in, no tax coming out (for medical expenses), and tax-free growth. For medical costs specifically, it's the most efficient account available.
The catch is that you can only contribute to an HSA if your health insurance is a high-deductible plan. Many employers offer these plans, but not all. If your employer doesn't offer one, you may be able to buy one on the individual market, though the premiums are often higher. This means access to an HSA is not universal — it depends on what insurance options are available to you.
If you have access to both an HSA and a 401(k), the order usually makes sense this way: contribute enough to your 401(k) to get any employer match (information programs), then max out your HSA, then go back and contribute more to your 401(k) if you have money left over. The HSA's triple tax advantage makes it worth prioritizing.
What happens if you don't use the money for medical costs
After age 65, if you withdraw HSA money and don't use it for a medical expense, you pay income tax on that withdrawal — the same rate you'd pay on a 401(k) or IRA withdrawal. You don't pay the 20 percent penalty anymore, so it functions like a traditional retirement account at that point. This means an HSA becomes a backup retirement savings tool if you don't end up needing all of it for medical bills.
Some people worry about "wasting" an HSA if they stay healthy and don't have large medical expenses. But this isn't really a waste. You've straightforward built an extra retirement account that you can use for living expenses if needed. The tax-free medical lane is a bonus, not a requirement.
The money in an HSA is yours to keep. Unlike some healthcare accounts, unused HSA money doesn't disappear at the end of the year. It rolls over indefinitely, and when you die, your beneficiary inherits it (though the tax treatment depends on who the beneficiary is).
Situations where an HSA retirement strategy works best
An HSA makes the most sense as a retirement tool if you expect significant medical costs later — which is realistic for most people over 65. It's especially valuable if you're healthy now and can afford to pay medical bills from other sources, letting the HSA grow for decades. It's also useful if you're self-employed or have irregular income, because you can contribute in high-income years and use the money in lower-income years.
An HSA is less useful as a retirement strategy if you have a chronic condition that requires ongoing treatment and you need to spend the money as you earn it. In that case, the account functions as a current medical account, which is fine — it still saves you taxes — but it won't build into a retirement nest egg.
It's also worth considering whether you'll actually stay enrolled in a high-deductible plan through retirement. Once you turn 65 and enroll in Medicare, you can no longer contribute to an HSA, but you can still withdraw from it. If you switch to a different type of health plan before 65, you can't contribute anymore, though again, you can still use the money that's already there.
Frequently Asked Questions
Can I use my HSA to pay Medicare premiums?
Yes. Medicare Part B and Part D premiums, as well as Medigap insurance premiums, can all be paid from an HSA tax-free. This is one of the biggest ways an HSA helps in retirement, since these premiums are often several hundred dollars per month. Long-term care insurance premiums also may have access to, up to IRS limits.
What happens to my HSA if I switch jobs?
Your HSA stays with you. It's your account, not your employer's. You can take it to a new job, keep it with the same provider, or move it to a different HSA provider. The money is always yours, and you can continue contributing if your new employer offers a high-deductible plan.
Can I invest the money in my HSA?
Most HSA providers let you invest the balance in mutual funds, stocks, or bonds, similar to a brokerage account. Some require you to keep a minimum amount in cash. Investing can help the account grow faster over decades, but it also carries risk. Check with your HSA provider about what investment options they offer.
Do I have to spend down my HSA before Medicare starts?
No. You can let your HSA balance grow as large as you want. There's no requirement to use it before you turn 65 or enroll in Medicare. In fact, letting it grow untouched is often the best strategy if you can afford to pay medical bills another way.
What if I die with money still in my HSA?
Your beneficiary inherits the account. If your spouse is the beneficiary, they can treat it as their own HSA and continue using it. If someone else is the beneficiary, they receive the balance but it becomes taxable income to them (unless used for your final medical expenses). Name a beneficiary on your HSA the same way you would for a retirement account.