Skip to content
RetirementFAQs
Question Updated 2026

Should I max my HSA before Medicare?

The HSA is the only account that's triple tax-free, and the window to keep funding it slams shut the month you enroll in Medicare.

Roth conversions Medicare HSA

Is there an account better than a Roth? For one narrow job, yes, and it’s the health savings account. An HSA is the only account in the tax code that’s triple tax-advantaged: money goes in pre-tax, grows tax-free, and comes out tax-free when spent on qualified medical costs. A Roth wins on two of those three. The catch is that you can only contribute to an HSA while you’re covered by a qualifying high-deductible health plan and not yet on Medicare, which makes the pre-Medicare years your last chance to load it.

Why people pair it with Roth thinking

There’s no direct rollover from a traditional IRA into an HSA on demand, and there’s no “HSA-to-Roth conversion.” So the real strategy is a two-track move in the same low-income window before Medicare. On one track, you max the HSA and pay current medical bills out of pocket, letting the account compound untouched as a stealth retirement fund. On the other, you run Roth conversions up to the top of a target bracket, since your income is temporarily low.

For 2026 the HSA contribution limit is $4,400 for self-only coverage and $8,750 for a family, plus a $1,000 catch-up once you’re 55 or older. Fund it every eligible year and an HSA can grow into a six-figure pool that covers Medicare premiums, dental, hearing, and long-term care costs later, every dollar tax-free.

The part that catches people off guard

Here’s the second-order effect. Enrolling in Medicare, including the Part A that often starts automatically when you claim Social Security at or after 65, ends HSA eligibility entirely. Worse, Medicare can backdate Part A up to six months. Keep contributing into that lookback and you’ve made excess contributions the IRS will claw back.

So the timing isn’t a soft suggestion. If you plan to work past 65 and keep an HSA, you may need to delay both Social Security and Medicare to protect your eligibility. The accounts talk to each other, and the Medicare enrollment rules set the deadline whether you’re watching or not.

If your accounts are large

Treat the HSA as the most tax-efficient dollar you own and spend it last. Pay today’s medical bills from your taxable account, save every receipt, and let the HSA ride. A receipt from a doctor’s visit this year can be reimbursed from the HSA decades later, tax-free, after the money has compounded the whole time. Run this alongside your conversions so you fill the HSA and the Roth in the same low-bracket years, before required minimum distributions and Social Security crowd the room.

The HSA is a short, closing window with the best tax deal in the code behind it. Fund it to the limit while you still can, spend it last, and let the only triple-tax-free account you’ll ever have do its quiet work.

Related questions

Still have questions?

Join the community to ask directly, or see if a one-on-one planning call is a fit.