The HSA triple advantage and its inheritance trap
The Health Savings Account gets a rare triple tax advantage[1]. It is also, less famously, one of the worst assets you can leave to a non-spouse heir. Both facts matter for retirement planning.
The triple advantage
If you are covered by a qualifying high-deductible health plan, you can contribute to an HSA[1]. For 2026 the limit is $4,400 with self-only coverage or $8,750 with family coverage, plus a $1,000 catch-up from age 55[2]. The money then gets three tax breaks in a row:
- Deductible going in. Contributions reduce taxable income (above the line, so no itemizing needed)[1], and contributions made through an employer’s cafeteria plan also skip Social Security and Medicare tax[6].
- Tax-free growth. Interest, dividends, and gains inside the account are never taxed while they stay there.
- Tax-free coming out, as long as withdrawals reimburse qualified medical expenses[1]. A traditional 401(k) gets the first two and a Roth gets the last two. The HSA gets all three[4].
The receipts strategy
A withdrawal is qualified if it reimburses a medical expense incurred any time after the HSA was established[1], and the IRS sets no deadline on when you reimburse yourself[5]. That makes a popular strategy possible: invest the HSA, pay today’s medical bills out of pocket, and keep the receipts. Decades later, those saved receipts let you take the (much larger) balance out tax-free whenever you want, so the HSA works like an even better Roth. The record-keeping is on you: no receipts, no tax-free withdrawal[3].
An example: a couple maxing the 2026 family limit and paying $3,000 a year of medical bills from cash flow builds up $3,000 a year of future tax-free withdrawals while the full contribution keeps compounding. Over twenty years that is $60,000 of receipts. It works as a tax-free emergency fund inside a health account, available in any year, in any amount, with no effect on taxable income, MAGI, ACA subsidies, or Medicare surcharges.
The HSA in retirement
Once you enroll in Medicare you can no longer contribute[1], but the account keeps working. Medicare Part B, Part D, and Medicare Advantage premiums are qualified expenses (Medigap premiums are not), as are deductibles, copays, dental, vision, and long-term-care costs[1]. So retiree healthcare, one of the biggest line items in any plan, can be paid with never-taxed dollars. And after 65 the 20% penalty on non-medical withdrawals goes away. A non-medical withdrawal is simply taxed as ordinary income, like a traditional IRA[1]. So at worst, an HSA ends up working like a pre-tax account.
The inheritance trap
At death the picture changes sharply. A spouse who inherits an HSA simply treats it as their own HSA, and nothing is lost. Any other heir hits a cliff. The account stops being an HSA on the date of death, and its entire fair market value is taxable income to the heir in that single year, reduced only by any of the owner’s qualified medical expenses the heir pays within a year of the death[1]. (If the estate is the beneficiary, the value goes on the owner’s final income tax return instead.) There is no 10-year stretch, no step-up and no spreading. A $300,000 HSA landing on an heir in one tax year can be taxed at their top marginal rate, on top of their salary.
So an HSA is a great account to spend and a poor account to leave to anyone but a spouse. Many retirees deliberately use up the HSA first in late retirement, against saved receipts and Medicare premiums, and leave Roth assets, which heirs receive tax-free, for last.
Try it in Deorbit Plan
Enter your balance in the Accounts panel (HSA bucket) and your annual contributions in the Income & savings panel. The simulator caps them at the 2026 IRS limits, indexed with inflation. In the Spending panel, the “Pay out-of-pocket costs from HSA” toggle spends HSA dollars tax-free against medical out-of-pocket costs while any remain. And the estate metric on the dashboard applies the inheritance trap for you. Leftover HSA dollars are valued net of your heir’s marginal tax rate, while Roth dollars count in full, so you can see what it costs to die with money still in an HSA.
This page explains how the rules work. It is not financial, tax or investment advice. Read the disclaimer.
References
- IRS Publication 969: Health Savings Accounts and other tax-favored health plans ↩
- IRS Rev. Proc. 2025-19: 2026 HSA contribution limits ↩
- IRS: About Form 8889, Health Savings Accounts (HSAs) ↩
- Investopedia: Health Savings Account (HSA) ↩
- IRS Notice 2004-50, Q&A-39 (2004-2 C.B. 196): no deadline to reimburse yourself for a qualified medical expense; distributions may be deferred to later taxable years ↩
- IRS Publication 15-B: Employer’s tax guide to fringe benefits (HSA contributions exempt from social security and Medicare tax) ↩