Tax Strategy Guide

The HSA in retirement: your stealth IRA

The Health Savings Account is the most misunderstood account in retirement planning — and quietly the most powerful. It’s the only account with a triple tax advantage, and after age 65 it transforms into something even better: a tax-free pool for medical costs and Medicare premiums and a penalty-free traditional-IRA equivalent for everything else. Used deliberately, an HSA can become a six-figure, tax-advantaged healthcare fund. Here are the 2026 rules, the Medicare timing trap, and the “stealth IRA” strategy that makes it shine.

$4,400
2026 HSA contribution limit, self-only ($8,750 family)
IRS
+$1,000
Catch-up contribution for account holders age 55 and older
IRS
Tax advantage: deductible in, tax-free growth, tax-free medical out
IRC §223
Age 65
When the 20% non-medical withdrawal penalty disappears
IRS

1. The only triple-tax account

Every other retirement account makes you choose: deduct now and pay tax later (traditional), or pay tax now and withdraw free later (Roth). The HSA refuses to choose. Contributions are tax-deductible going in, the balance grows tax-free, and withdrawals for qualified medical expenses come out tax-free — a triple advantage no IRA or 401(k) can match.

That alone would make it valuable. What makes it a retirement powerhouse is the second act that begins at 65, when the rules loosen and the account becomes flexible enough to function like a traditional IRA plus a tax-free medical fund. The catch is that you have to set it up during your working years, while you’re still eligible to contribute — which means understanding the rules now.

2. 2026 limits and HDHP rules

To contribute to an HSA, you must be covered by a qualifying high-deductible health plan (HDHP) and not enrolled in Medicare. The 2026 figures:

2026 figureSelf-onlyFamily
HSA contribution limit$4,400$8,750
Catch-up (age 55+)+$1,000 (each spouse, in their own HSA)
HDHP minimum deductible$1,700$3,400
HDHP out-of-pocket max≤ $8,500≤ $17,000

A few rules worth knowing: the catch-up is per person, so a 55-plus couple needs two HSAs to capture both $1,000 catch-ups. Contributions are an above-the-line deduction (you don’t need to itemize), and the account is yours — it follows you across jobs and into retirement with no use-it-or-lose-it rule. Unused funds simply roll over and, once you hit your custodian’s investment threshold, can be invested for growth.

3. What changes at 65

Age 65 is the hinge. Two things happen. First, you can no longer contribute once you enroll in Medicare (more on the timing trap below). Second — and this is the gift — the 20% penalty on non-medical withdrawals disappears.

That second change is transformative. Before 65, pulling HSA money for a non-medical purpose costs you income tax plus a 20% penalty. After 65, the penalty is gone, so a non-medical withdrawal is simply taxed as ordinary income — exactly like a traditional IRA distribution. Qualified medical withdrawals remain tax-free at any age. So from 65 on, your HSA is two accounts in one: a tax-free medical fund and a traditional-IRA-equivalent for anything else.

After 65: medical withdrawal = tax-free  |  non-medical withdrawal = ordinary income, no penalty

4. Paying Medicare with your HSA

Here’s the everyday superpower most retirees overlook: you can pay Medicare premiums from your HSA, tax-free, starting at 65. Eligible premiums include:

The one premium that’s not HSA-eligible is Medigap (Medicare Supplement). Long-term care insurance premiums do qualify, subject to age-based caps. Since Medicare premiums are an unavoidable, lifelong expense for most retirees, routing them through your HSA effectively gives you a permanent tax-free discount on healthcare you were going to pay for anyway. Over a long retirement, the Part B premiums alone can total tens of thousands of dollars — all of it payable tax-free.

5. The Medicare contribution trap

This is the rule that trips up people working past 65. The moment you enroll in any part of Medicare, your HSA contribution limit becomes zero for that month forward. Your existing balance is untouched — you just can’t add to it anymore.

The subtle danger is retroactive Part A. If you enroll in Medicare after age 65, Part A coverage can be backdated up to six months (but never before the month you turned 65). Contributions you made during that retroactive window become excess contributions, which carry a penalty if not corrected. There’s no blanket “stop contributing six months early” rule — what matters is your actual Medicare effective date. If you’re still working past 65, deferring Medicare, and contributing to an HSA, plan the stop date around your real enrollment timing.

Time your last contribution

If you’ll claim Medicare after 65, stop HSA contributions far enough ahead to account for up to six months of retroactive Part A. Getting this wrong creates excess contributions and a 6% excise tax until corrected.

6. The stealth-IRA strategy

Now the move that turns a modest HSA into a major asset. Instead of spending HSA money on current medical bills, do this:

  1. Contribute the max every year you’re eligible.
  2. Pay current medical bills out of pocket from other funds — and save every receipt.
  3. Invest the HSA balance and let it compound tax-free for years or decades.
  4. Reimburse yourself later — even in retirement — tax-free, for those old saved expenses, whenever you want the cash.

Because there’s no deadline to reimburse a qualified expense, your HSA becomes a tax-free account that grows untouched while your receipts sit as “IOUs” you can cash anytime. There’s a bonus for federal retirees worried about Medicare surcharges: HSA distributions for medical costs don’t count toward your modified adjusted gross income, so they can help you stay under the IRMAA thresholds that raise Part B and Part D premiums. Few strategies stack this many advantages at once.

7. Project your HSA growth

See what consistent contributions and tax-free compounding can build. Enter a starting balance, an annual contribution, the years until you stop contributing, and a growth rate.

Your HSA plan

$0
Tax-free HSA balance at the end.
Total you contributed$0
Tax-free growth earned$0

Assumes contributions at year-end and steady annual growth. Every dollar shown is available tax-free for qualified medical expenses and Medicare premiums — and penalty-free for anything after 65. Illustration only, not advice.

8. The federal angle

Federal employees have a clean on-ramp to all of this: several FEHB plans are HSA-qualified HDHPs. Enroll in one of those plans during your working years and you can fund an HSA — and many of these FEHB HDHPs sweeten the deal with a plan “pass-through” contribution into your HSA, essentially free money toward the account each year.

The play for feds is straightforward: contribute to the HSA while working under an FEHB HDHP, invest and grow it, then in retirement use it tax-free for your Part B premiums and out-of-pocket healthcare. It pairs naturally with the rest of a federal tax plan — coordinate it with your Roth versus traditional decisions and your broader picture of how retirement income is taxed. One account, three tax breaks, and a federal employer that often chips in — it’s among the most underused benefits in the federal toolkit.

9. Frequently asked questions

What happens to an HSA in retirement?

An HSA becomes one of your most flexible retirement accounts. Qualified medical expenses remain tax-free at any age, and after age 65 the 20% penalty on non-medical withdrawals disappears — so the account works like a traditional IRA for general spending (taxed as ordinary income) while staying completely tax-free for medical costs and most Medicare premiums. That dual nature is why an HSA is sometimes called a “stealth IRA”: it has the best tax treatment of any account if you have any health costs at all in retirement, which virtually everyone does.

What are the 2026 HSA contribution limits?

For 2026, you can contribute $4,400 with self-only HDHP coverage or $8,750 with family coverage. Account holders age 55 and older can add a $1,000 catch-up contribution. To contribute, you must be enrolled in an HSA-qualified high-deductible health plan and not enrolled in Medicare. For 2026 the qualifying HDHP must have a deductible of at least $1,700 (self) or $3,400 (family), with an out-of-pocket maximum no higher than $8,500 (self) or $17,000 (family). If both spouses are 55-plus, each must make the catch-up contribution in their own HSA.

Can I use my HSA to pay Medicare premiums?

Yes, tax-free, once you’re 65 or older. You can use HSA funds to pay premiums for Medicare Part B ($202.90 a month in 2026), Part D, and Part C (Medicare Advantage), as well as Part A premiums if you have to buy them. The one exception is Medigap (Medicare Supplement) premiums, which are not HSA-eligible. Long-term care insurance premiums also qualify, subject to age-based limits. Using your HSA for Medicare premiums is one of the most valuable retirement uses of the account, since those premiums are an unavoidable expense for most retirees.

Can I contribute to an HSA after enrolling in Medicare?

No. Once you enroll in any part of Medicare, your HSA contribution limit drops to zero starting that month — though your existing balance remains yours to use indefinitely. There’s a trap to watch: if you enroll in Medicare after age 65, Part A can be backdated up to six months, which can turn contributions you made during that retroactive period into excess contributions subject to penalty. There’s no blanket “stop six months early” rule — what matters is your actual Medicare effective date. If you’re still working past 65 and contributing to an HSA, coordinate your Medicare timing carefully.

What is the HSA “stealth IRA” strategy?

The strategy is to contribute the maximum to your HSA, pay current medical bills out of pocket instead of from the HSA, invest the HSA balance, and let it grow tax-free for decades. You save your medical receipts, and any time later — even in retirement — you can reimburse yourself tax-free for those old expenses. Meanwhile the account compounds with a triple tax advantage: deductible going in, tax-free growth, and tax-free qualified withdrawals. Because HSA distributions for medical costs don’t count toward your modified adjusted gross income, the strategy can also help keep you under the IRMAA thresholds that raise Medicare premiums.

Sources
  1. Fidelity, “HSA Contribution Limits and Eligibility Rules for 2026”
  2. IRS Publication 969, “Health Savings Accounts and Other Tax-Favored Health Plans”
  3. CMS, “2026 Medicare Part B Premiums”
  4. Medicare.gov, premiums payable from an HSA
  5. OPM, FEHB high-deductible plans with HSAs
  6. IRS Rev. Proc. 2025-19, 2026 HSA/HDHP limits