Health Care

Health Savings Accounts in Retirement

November 2, 2026South Jersey8 min read

A health savings account is the only account that can be funded with pre-tax dollars, grow without tax, and be withdrawn tax-free, provided the withdrawal pays a qualified medical expense.1 That combination makes it unusually valuable in retirement, where medical spending is certain. The complication is that enrolling in Medicare ends the ability to contribute, and because enrollment can be backdated, the month you stop contributing matters more than most people realise.2

Three tax advantages in one account

Most tax-advantaged accounts give you a break at one end or the other. A traditional account deducts now and taxes later. A Roth account taxes now and not later. An HSA does both and adds a third advantage in between.1

Contributions are deductible or made pre-tax through payroll. Growth inside the account is not taxed. And withdrawals are tax-free when they pay a qualified medical expense. No other account offers all three at once, which is why it is worth treating as a retirement account rather than as a spending account for this year's prescriptions.

The practical implication runs against instinct. If cash flow allows, paying current medical costs out of pocket and leaving the HSA invested lets the balance compound for a period when medical spending is both larger and more certain.

Who can contribute, and who cannot

Eligibility to contribute depends on being covered by a qualifying high deductible health plan and on not having other disqualifying coverage.1 Enrollment in Medicare is disqualifying coverage.

Two distinctions matter and are routinely confused. Eligibility to contribute is separate from the ability to use the account: once the balance exists it can be spent on qualified expenses for the rest of your life, whether or not you can still contribute. And eligibility is assessed month by month rather than annually, which is what makes the timing of a mid-year change consequential.

Annual contribution limits, the catch-up amount available from a qualifying age, and the deductible thresholds that define a qualifying plan are all set by the IRS and adjusted periodically.1 Confirm the current figures before relying on any of them.

What Medicare does to it

The moment Medicare coverage begins, contributions must stop. The account itself continues: the balance stays yours, remains invested, and can still be spent tax-free on qualified expenses. Only new money is barred.2

This is why people working past sixty-five sometimes delay Medicare enrollment deliberately, to keep contributing. That is a legitimate strategy and it collides with a separate set of rules, because delaying Part B without qualifying employer coverage attaches a lifelong premium penalty. The two decisions have to be made together rather than in sequence, which is covered in Medicare Enrollment Timing and the Penalties for Getting It Wrong.

Worth knowing: claiming Social Security after sixty-five generally results in automatic enrollment in Part A, which ends HSA eligibility whether or not that was the intention.3 A claiming decision can therefore end contribution eligibility as a side effect.

The backdating trap

This is the single most expensive detail in the subject, and it catches careful people.

When Medicare enrollment begins after the month you turned sixty-five, coverage can be made retroactive by a number of months.2 Contributions made during a retroactive period become contributions made while enrolled, which is not permitted. They are excess contributions, and they carry a tax consequence that is usually discovered long after the fact.

This is not tax advice. The length of the retroactive period, the contribution limits, and the treatment of excess contributions are set by federal rule and change. Confirm the current lookback period with the IRS or your tax preparer and stop contributions far enough ahead of your intended enrollment month. Maisch Financial Group does not prepare tax returns.

The avoidable version of this problem is simply stopping contributions earlier than feels necessary. The cost of stopping a few months early is small. The cost of getting it wrong is an amended return and a penalty.

Spending it in retirement

Once you are in retirement the account has three distinct uses, and they are taxed differently.

UseTax treatment
Qualified medical expensesTax-free, at any age
Medicare premiums for Part B, Part D, and Medicare AdvantageGenerally qualified, so tax-free
Medigap or supplement premiumsGenerally not qualified
Qualifying long-term care insurance premiumsQualified up to an age-based limit
Anything else, after the qualifying ageTaxed as ordinary income, no additional penalty
Anything else, before the qualifying ageTaxed as ordinary income plus an additional penalty

The Medigap exclusion surprises people, because it sits immediately beside premiums that do qualify.1 It is worth confirming category by category rather than assuming that anything health-related counts.

There is also no deadline for reimbursing yourself. An expense paid out of pocket in one year can be reimbursed from the account years later, provided the expense was incurred after the account was established and was never otherwise deducted or reimbursed. That requires keeping the receipts, which is the unglamorous part of the strategy.

What happens to it at death

The HSA is the account whose inheritance treatment differs most sharply depending on who receives it, and the difference is large enough to drive the beneficiary decision.

A surviving spouse named as beneficiary can generally treat the account as their own HSA, and it continues with its tax treatment intact. Any other beneficiary generally cannot: the account ceases to be an HSA and its value becomes taxable income to that beneficiary in the year of death.1

That makes an HSA one of the least efficient accounts to leave to a child and one of the better ones to spend during life. It also makes the beneficiary designation worth checking, for the same reason designations generally are, which is covered in Legacy Planning vs Writing a Will.

Planning in Blackwood

Blackwood is a community within Gloucester Township and home to Camden County College, pairing convenience with an established, residential feel, and its residents tend to look for practical, dependable planning. The HSA question comes up there most often among people still working into their sixties, where the choice between continuing to contribute and enrolling in Medicare on schedule has to be made once and cannot be unwound. Retirement planning in New Jersey rarely treats that as a single decision, and it is one. Our health care and Medicare planning, retirement income planning, tax planning, investment management, and estate and legacy planning are delivered as one coordinated engagement, so the contribution question, the enrollment question, and the claiming question get answered against each other. Blackwood is a short drive from our Mount Laurel office, and we also meet by phone or video. The communities we serve are listed on our cities served page.

Frequently asked questions

Can I still use my HSA after I enroll in Medicare?

Yes. Enrolling in Medicare ends the ability to contribute, but it does not affect the balance. The money stays yours, remains invested, and can still be withdrawn tax-free for qualified medical expenses for the rest of your life. Only new contributions are barred.

When should I stop contributing to my HSA before Medicare?

Earlier than feels necessary. When enrollment begins after the month you turned sixty-five, Medicare coverage can be made retroactive by a number of months, and contributions made during that retroactive window count as contributions made while enrolled, which is not permitted. Confirm the current lookback period with the IRS or your tax preparer and stop contributions ahead of your intended enrollment month.

Can I use HSA money to pay Medicare premiums?

Premiums for Part B, Part D, and Medicare Advantage are generally qualified expenses, so paying them from an HSA is tax-free. Medigap and supplement premiums generally are not. Qualifying long-term care insurance premiums are qualified up to an age-based limit. Because categories that sit side by side are treated differently, confirm each one rather than assuming anything health-related counts.

Does claiming Social Security affect my HSA?

It can, and this catches people. Claiming Social Security after sixty-five generally results in automatic enrollment in Medicare Part A, and Part A enrollment ends HSA contribution eligibility whether or not that was intended. A claiming decision and a contribution decision are therefore the same decision for anyone still working and still contributing.

What happens to my HSA when I die?

It depends entirely on who inherits it. A surviving spouse named as beneficiary can generally treat it as their own HSA with the tax treatment intact. Any other beneficiary generally cannot: the account stops being an HSA and its value becomes taxable income to that person in the year of death. That makes an HSA a poor account to leave to a child and a good one to spend during life.

Key takeaways

  • An HSA is the only account with a deduction going in, tax-free growth, and tax-free qualified withdrawals.
  • Medicare enrollment stops contributions but never touches the existing balance.
  • Retroactive Medicare coverage can turn legitimate contributions into excess ones. Stop early.
  • Part B, Part D, and Advantage premiums generally qualify. Medigap generally does not.
  • A spouse inherits the tax treatment. Anyone else inherits a taxable lump sum.

Sources

  1. Internal Revenue Service, Publication 969, Health Savings Accounts and Other Tax-Favored Health Plans, covering eligibility, contribution limits, qualified medical expenses, Medicare premium treatment, and treatment of the account at death. irs.gov Back
  2. Centers for Medicare and Medicaid Services, Medicare enrollment guidance, including retroactive entitlement where enrollment occurs after age sixty-five. medicare.gov Back
  3. Social Security Administration, guidance on Medicare enrollment accompanying a Social Security claim at or after age sixty-five. ssa.gov Back

Contribution limits, catch-up amounts, deductible thresholds, age-based long-term care premium limits, and the length of any retroactive Medicare period are set by federal rule and adjusted from time to time. This article describes how the rules operate rather than quoting current figures. Confirm the amounts that apply to you with the authority cited or with your tax professional.

Let's Work Together

Decide the contribution and the enrollment together.

If you are working past sixty-five and still contributing to an HSA, the timing is worth settling before the enrollment paperwork starts. We are happy to go through it with you.

About Services Articles Events Client Login
Schedule a Conversation