The HSA Is the Only Account That's Tax-Free Twice
Deductible going in, tax-free coming out. And in retirement it does something no other account can: spend from it and your Social Security tax bill doesn't move.
A health savings account is the only account in the tax code that gets a deduction on the way in and comes out tax-free. A traditional 401(k) gives you the first. A Roth gives you the second. An HSA gives you both, as long as the money eventually pays a qualified medical expense.
For 2026 you can put in $4,400 with self-only coverage or $8,750 with family coverage, plus $1,000 more once you turn 55. You need a qualifying high-deductible health plan to contribute, and the money is yours permanently whether or not you change jobs or plans.
The part most people miss is what happens at 65. The 20% penalty for non-medical withdrawals disappears entirely. From that birthday on, an HSA is at worst a traditional IRA and at best a completely tax-free account. There is no version where it ends up worse than the 401(k) you'd otherwise have used.
Why Two Tax Breaks Beat One
Every other retirement account makes you pick which end to shelter. Put money in a traditional 401(k) and you skip tax today, then pay ordinary income tax on every dollar you pull out decades later. Put it in a Roth and you pay tax today so withdrawals are clean. Both are reasonable. Both tax you exactly once.
An HSA skips both ends. The contribution reduces this year's taxable income, the balance grows without tax drag, and a withdrawal for a qualified medical expense is never taxed at all.
| Account | Deduction going in | Growth | Coming out |
|---|---|---|---|
| Traditional 401(k) or IRA | Yes | Untaxed | Taxed as ordinary income |
| Roth IRA | No | Untaxed | Tax-free |
| HSA, medical use | Yes | Untaxed | Tax-free |
| HSA, non-medical after 65 | Yes | Untaxed | Taxed as ordinary income |
Read the last two rows together and the shape of it becomes clear. The medical case is the best treatment available anywhere in the code. The non-medical case after 65 is identical to a traditional IRA. The account's floor is the thing most people are already doing with their retirement savings.
The Retirement Trick Nobody Mentions
Here's the part that connects the HSA to everything else on this site, and it has nothing to do with the triple tax break.
A qualified HSA withdrawal never enters your adjusted gross income. It isn't income at all, as far as the return is concerned. That means it doesn't count toward provisional income, which is the number that decides how much of your Social Security gets taxed.
Every other source of retirement cash does count. Traditional IRA and 401(k) withdrawals, pensions, interest, dividends, capital gains, and even tax-exempt municipal bond interest all feed provisional income. The HSA is the one place you can take money from without moving that needle at all, which makes it a real exception to the usual withdrawal order.
That matters most precisely where it hurts most. Take the single filer from the Social Security tax guide, aged 65 with a $42,000 benefit, already drawing $43,000 from a traditional IRA and sitting right at the edge of the phase-in. A $6,000 medical bill arrives.
Paying it from the IRA
- The extra withdrawal is taxable itself, and it drags another 85 cents of benefit into taxable income per dollar
- Federal tax rises from $5,614 to $8,021
- To actually net $6,000 after tax, the withdrawal has to be $9,322
Paying it from the HSA
- A qualified distribution never touches AGI, so provisional income is unchanged
- Federal tax stays at $5,614
In that zone one dollar of HSA does the work of $1.55 of traditional IRA. The ratio shrinks as you move away from the phase-in, but it never drops to even.
| Where the household sits | IRA needed to net $6,000 | Value of an HSA dollar |
|---|---|---|
| Single, inside the phase-in | $9,322 | 1.55× |
| Single, above the spike | $7,825 | 1.30× |
| Married, inside the phase-in | $7,712 | 1.29× |
| Married, in the 12% band | $6,818 | 1.14× |
This is also why the account is worth more to the people who are usually told to worry least about it. The single filer, including the surviving spouse who became one, gets the largest benefit from having a pot of money that doesn't show up as income.
Everyone Already Has a Qualified Expense
The usual objection to treating an HSA as a retirement account is that it only pays off if you end up with medical bills, which sounds a lot like betting on your own bad health. That objection mostly dissolves at 65.
Once you turn 65, Medicare premiums become qualified medical expenses. Part B, Part D and Medicare Advantage premiums can all be paid straight from the HSA, tax-free. Essentially every retiree pays Part B for the rest of their life, so the account has a guaranteed destination whether or not anything goes wrong with your health.
It also means an IRMAA surcharge, the income-related increase to Part B and Part D premiums for higher-income households, gets paid with untaxed dollars. That surcharge is driven by income from two years earlier, so a large Roth conversion can raise a premium the HSA then covers.
Four Ways People Lose the Advantage
The HSA has more sharp edges than its reputation suggests, and three of the four below are permanent once they happen.
Medicare ends contributions, and it reaches backward
From the first month you're enrolled in Medicare, your contribution limit is zero. The trap is that Part A coverage is often backdated when you enroll after 65, and claiming Social Security after 65 enrolls you automatically. Contributions made during that retroactive window become excess contributions after the fact, which carry their own penalty. Anyone planning to work past 65 while still contributing needs the enrollment timing and the contribution timing to agree with each other.
A non-spouse beneficiary gets a tax bill, not an account
Leave an HSA to a spouse and it simply becomes their HSA, with everything intact. Leave it to anyone else, including a child, and the account stops being an HSA on the date of death. The entire fair market value becomes taxable income to that person in that single year, reduced only by qualified expenses they pay within a year of the death. A large HSA inherited by an adult child in their peak earning years is one of the least efficient inheritances in the code, which cuts against spending it last in some families.
The expense has to come after the account
You can reimburse yourself for a qualified expense years later, and there's no deadline for doing it. Some people pay medical bills out of pocket on purpose, keep the receipts, let the HSA compound untouched for decades, and reimburse themselves much later. What doesn't work is reaching back to expenses incurred before the HSA existed. The account has to have been open when the bill was.
The high-deductible plan has to actually fit
Contributing requires a qualifying high-deductible plan, which for 2026 means a deductible of at least $1,700 for self-only or $3,400 for family coverage, with out-of-pocket exposure capped at $8,500 and $17,000. For a household with heavy or unpredictable medical use, the deductible can cost more in a bad year than the tax break saves, which is its own calculation if you are buying coverage before Medicare starts. The tax treatment is excellent in isolation and that isn't the same as the plan being the right one.
HSA FAQ
What is the HSA triple tax advantage?
Contributions reduce taxable income, the balance grows without being taxed, and withdrawals for qualified medical expenses are never taxed. No other account does all three. A traditional 401(k) shelters the contribution but taxes the withdrawal, and a Roth does the reverse.
What are the 2026 HSA contribution limits?
$4,400 for self-only coverage and $8,750 for family coverage, plus a $1,000 catch-up contribution if you are 55 or older. The limit covers everything going into the account, including anything an employer contributes on your behalf.
Can I use HSA money for anything after 65?
Yes. The 20% additional tax on non-medical distributions no longer applies once you reach 65. A non-medical withdrawal is then taxed as ordinary income, exactly like a traditional IRA withdrawal. Medical withdrawals stay tax-free at any age.
Do HSA withdrawals affect how much of my Social Security is taxed?
Qualified medical withdrawals do not. They never enter adjusted gross income, so they do not count toward provisional income, which is the figure that determines what share of benefits is taxable. Traditional IRA and 401(k) withdrawals do count, and so does tax-exempt municipal bond interest. A non-medical HSA withdrawal after 65 counts as ordinary income and does affect it.
Can I use my HSA to pay Medicare premiums?
Yes, once you are 65 or older. Part B, Part D and Medicare Advantage premiums are all qualified medical expenses, including any IRMAA surcharge. Medigap and other Medicare supplemental policies are not. Because nearly every retiree pays Part B for life, this gives almost any HSA a guaranteed tax-free use.
Can I still contribute to an HSA after I start Medicare?
No. Your contribution limit becomes zero starting with the first month of Medicare enrollment. Because Part A coverage is frequently backdated by up to six months when you enroll after 65, contributions made in that retroactive period become excess contributions and have to be corrected.
Is there a deadline to reimburse myself for an old medical expense?
No deadline, but the expense must have been incurred after the HSA was established, and you need to keep the records. This is what makes it possible to pay bills out of pocket for years, leave the account invested, and reimburse yourself much later.
What happens to my HSA when I die?
A spouse named as beneficiary simply takes it over as their own HSA. For anyone else, the account stops being an HSA and its full value becomes taxable income to the beneficiary in the year of death, reduced only by qualified medical expenses they pay within one year. The difference between those two outcomes is large enough to be worth checking the beneficiary designation.
Retire BFF is an independent publisher, not a registered investment adviser, tax adviser, or financial planner. Everything here is general information about how the rules work, not advice about your situation. Figures are illustrative 2026 examples using published IRS amounts, and your own result depends on your full return and your health plan. Confirm current figures at irs.gov and talk to a tax professional before acting.