What Happens to an HSA at 65

The penalty stops, contributions must stop, and the account starts behaving like a traditional IRA. What the statute says about an HSA in retirement.

A health savings account is the only account in the tax code that can be funded pre-tax, grow untaxed, and be withdrawn untaxed — provided the money is spent on medical care. That third condition is doing all the work, and it is what makes the account behave so differently once Medicare arrives.

Three things change around Medicare age, and they change at different moments for different reasons. Two of them are commonly reported wrong.

Do HSA contributions have to stop at 65?

No — they have to stop at Medicare entitlement, which is not the same event.

26 U.S.C. §223(b)(7) sets the contribution limit to zero “for the first month such individual is entitled to benefits under title XVIII of the Social Security Act and for each month thereafter.” Title XVIII is Medicare. The trigger is entitlement to it, not a birthday.

That distinction has a practical consequence people miss in both directions. Someone who is past Medicare age, still working, still covered by a qualifying high-deductible plan, and who has not enrolled in any part of Medicare, is not caught by this rule and can still contribute. Conversely, someone who enrolls earlier than they had to has stopped their own eligibility, whatever their age.

And enrollment can reach backwards. Medicare Part A can be granted retroactively when someone enrolls after first becoming eligible, which means contributions made during the retroactive months turn out — after the fact — to have been made while entitled. That is the trap in this rule: it is discovered later, and it is discovered as excess contributions rather than as a warning. Anyone still contributing while approaching an enrollment date should get the timing checked against their own dates before the enrollment, not after.

Does the HSA penalty go away at 65?

Yes, and this is the change that is most often described incorrectly.

26 U.S.C. §223(f)(4)(A) says a distribution not used for qualified medical expenses “shall be increased by 20 percent of the amount which is so includible.” That is the penalty everyone has heard of. §223(f)(4)(C) then removes it “after the date on which the account beneficiary attains the age specified in section 1811 of the Social Security Act” — and section 1811, which is 42 U.S.C. §1395c, covers “individuals who are age 65 or over.” Entitlement itself is set by 42 U.S.C. §426(a), which is where the age 65 in this sentence comes from.

So the additional tax on a non-qualified HSA distribution is 20 percent of the includible amount, and for an HSA it stops at age 65, the Medicare eligibility age that section 1811 specifies. Read the exception narrowly, though, because it is narrow. It disapplies subparagraph (A), the additional tax. It says nothing about the distribution’s treatment as income, which is set separately by §223(f)(2).

So a non-medical withdrawal past that age is taxable as ordinary income, and only the surcharge is gone. “Tax-free after 65” is the standard summary and it is wrong. What the account actually becomes is a traditional IRA for non-medical use, and something better than any other account for medical use.

Two consequences follow, and the second is the more useful:

There is no forced withdrawal. An HSA has no required minimum distribution at any age, unlike a traditional IRA or 401(k). Nothing compels the account to be emptied during the owner’s lifetime.

Which makes it the last account to spend, not the first. It is the only balance whose tax-free treatment survives, and it can wait indefinitely for a medical cost to spend it on. Reaching for it early to avoid touching something else usually trades the one permanently tax-free dollar for a temporary convenience.

If it helps to have the numbers in one place, I keep them all in the Ultimate Retirement Guide.

Which Medicare premiums can an HSA pay?

Part B, Part D and Medicare Advantage — and not a supplement policy.

This is the one place the statute names its own exclusion. §223(d)(2)(C)(iv) allows an account beneficiary past Medicare age to treat as a qualified expense “any health insurance other than a medicare supplemental policy (as defined in section 1882 of the Social Security Act).”

So Medigap premiums are excluded by name, while the Part B premium — including any income-related surcharge on it — is a qualified expense that HSA dollars can pay tax-free. Long-term care premiums are separately allowed within statutory limits.

Health insurance premiums generally are not qualified expenses; this age-based provision is the exception that makes Medicare premiums work. That is why the rule reads oddly: it is a carve-out from a carve-out.

What happens to an HSA when the owner dies?

This is the part with the sharpest edge, and it is decided entirely by who is named on the beneficiary form.

A surviving spouse named as beneficiary inherits the account as their own HSA. It keeps its character, keeps its tax treatment, and nothing is accelerated.

Anyone else — a child, a trust, an estate — does not inherit an HSA, because the account ceases to be one on the date of death. The fair market value becomes income to that beneficiary in the year of death. Not over ten years, as an inherited IRA would be. In one year, on top of whatever else they earned.

That single rule can undo a decade of careful accumulation, and it is the strongest argument against treating an HSA as an estate asset. An account deliberately left untouched to grow is an account whose entire balance can land on a non-spouse beneficiary’s return at once.

It is also the easiest thing on this page to check. The beneficiary designation sits with the custodian, not in a will, and it takes minutes to read.

What should you do with this?

Four checks, and none of them require a decision about anything else.

Confirm whether you are still eligible to contribute — the question is whether you are entitled to Medicare, not how old you are.

If you are approaching enrollment, check the retroactive months against your last contribution date, before you enroll.

Stop treating it as tax-free for everything. Medical use is tax-free; everything else past Medicare age is ordinary income without a surcharge.

Read the beneficiary form. For a household with a surviving spouse it is usually fine. For anyone else it is the difference between a slow inheritance and a single taxable year.

What an HSA is worth in a particular plan depends on the size of the balance, the other accounts around it, and who would inherit it — questions this page cannot answer and your own statements largely can.

Illustrative example

Two ways of spending the same HSA dollar in the same year

The account beneficiary is past Medicare age and long since enrolled. Every figure is invented and round; the tax rate is a stand-in, not anyone’s bracket.

The only variable is what the money is spent on. Nothing about the account, the age, or the year changes between the two columns.

Amount withdrawn from the HSA
$12,000
Spent on Medicare Part B and Part D premiums
Qualified
Tax on that use
None
Same amount, spent on a new roof
Not qualified
Invented income tax rate applied to it
22%
Tax on that use
$2,640
Additional tax on top, past Medicare age
None

Past Medicare age the extra tax is gone, and that is the whole of what changes. The non-medical dollar is still ordinary income; only the surcharge disappears.

So the account has two settings at once: a tax-free reimbursement account for medical costs, and something very like a traditional IRA for everything else.

The premium line is narrower than it looks. Part B and Part D qualify. A Medicare supplement policy does not, and that is a statutory exclusion rather than an oversight.

Nothing here says which use is better. Spending the medical dollars on medical costs is the only one of the two that is ever tax-free, and there is no deadline forcing either.

A hypothetical household with round numbers, built to show the arithmetic. Not a real person, and not a recommendation.

Sources (2)

Read the full disclosures.

Example case study. Details are changed and some examples combine more than one household. Nothing here is a recommendation, and your own numbers will be different.

The next step, if you want one

If you’re 50 or older with a substantial portfolio and you’d rather have one coordinated plan than four separate opinions, the first conversation is free.

See if it’s a fit

A free Retirement Strategy Session: a 45-minute call on Zoom with me. No cost, and no obligation at the end of it.