Strategy

Using an HSA as a retirement account

Last reviewed: November 23, 2026. Figures cited to official sources below.

An HSA is a health account with retirement-like tax features, not a substitute for a 401(k). The strategy people describe is to invest unused balances and use them later for medical costs — or, after 65, for other withdrawals that are taxable but without the extra 20% tax.

Estimate your 2027 federal tax savings

This uses official 2027 contribution limits and the federal tax rate you choose. It is an illustration, not a tax return and not a guarantee.

2027 federal limit for this selection: $4,500. Pick the rate closest to your situation, or ask a tax professional. These are illustration rates, not a filing tool.

Illustrated federal income-tax reduction

$990

Limits: IRS Rev. Proc. 2026-24 ($4,500 self-only, $9,000 family for 2027). Catch-up: IRC §223(b)(3) ($1,000). This estimate does not apply a state tax rate. California does not follow the federal HSA deduction; New Jersey treatment should be confirmed with the state.

Federal law allows a deduction or exclusion going in, tax-free growth, and tax-free withdrawals for qualified medical expenses at any age. After you reach 65, the additional 20% tax on non-qualified withdrawals no longer applies; ordinary income tax still can. That is the legal backbone of the “stealth IRA” idea. It is not a guaranteed return, and we do not project investment growth.

The strategy only works if you can pay current care from other funds, leave the HSA invested, and keep records of old qualified receipts if you plan to reimburse later. You also have to stay eligible to contribute, up to $4,500 or $9,000 in 2027, plus $1,000 if you qualify for the catch-up. Medicare enrollment sets the contribution limit to zero for those months, including retroactive months.

If a workplace 401(k) match is available, that match is usually the first dollar to capture. An HSA can sit beside it when you have eligible coverage. This is not investment advice.

None of this replaces the first step: you need HSA-eligible coverage and an open account. We mainly quote HSA-eligible plans. Premium tax credits are available only if you enroll through the Marketplace, and one path is not automatically cheaper than the other. Get an HSA plan quote.

Sources: draft 2026 Publication 969 (draft); IRC §223; Rev. Proc. 2026-24.

Eligible HSA contributions can reduce your federal taxable income. See whether an HSA is tax deductible and the HSA tax guides.

Common questions

Can I use an HSA like an IRA after 65?

After 65, non-qualified withdrawals avoid the extra 20% tax but are still ordinary income if not used for qualified medical expenses. Qualified medical withdrawals remain tax-free. You still cannot contribute for months you are enrolled in Medicare.

Is an HSA tax deductible?

Yes, at the federal level, if you are an eligible individual. Contributions you make are generally deducted on Form 8889 as an adjustment to income. Employer contributions are usually excluded from wages instead.

Keep reading

Need an HSA-eligible plan first?

These strategies only work if you have eligible coverage and an open HSA. We mainly quote HSA-eligible plans, Premium tax credits are available only if you enroll through the Marketplace. Request a quote — about 60 seconds, no obligation.

Get an HSA plan quote

Get a quote on an HSA-eligible plan

Takes about 60 seconds. We’ll look at HSA-eligible plans in your ZIP. Premium tax credits are available only if you enroll through the Marketplace. Submitting is optional — the guides stay free to read.

Step 1 of 4

We use this to look at HSA-eligible plans available where you live.

Takes about 60 seconds. No obligation.

Get an HSA plan quote