Enrolling in Medicare ends your ability to add money to an HSA

Image Credit: Unknown author/

More Americans are working well past 65, and many hold on to the high-deductible health plan and the health savings account that comes with it. The moment they enroll in Medicare, though, the door on new HSA deposits closes for good. The rule is rigid, it often takes hold without any warning, and it can leave an unprepared older worker owing a tax penalty that was entirely avoidable.

Why Medicare enrollment closes the HSA to new deposits

A health savings account is available only to people covered by a qualifying high-deductible health plan who carry no other disqualifying coverage. Medicare is treated as disqualifying coverage. Once a person enrolls in any part of Medicare — even premium-free Part A on its own — the ability to make new HSA contributions ends as of the first day that Medicare coverage takes effect. Money already in the account is untouched; only fresh contributions are barred, and the block applies whether the enrollment was chosen or automatic.

The rule blindsides people because Part A frequently arrives on its own. The Internal Revenue Service’s Publication 969 spells out that Medicare enrollment disqualifies a person from contributing while leaving existing funds fully available to spend. Anyone who claims Social Security at or after 65 is enrolled in Part A automatically and generally cannot decline it, so the simple act of filing for retirement benefits can quietly shut off HSA eligibility on the same date.


Free retirement updates: One number can cost or save hundreds a month in retirement. The free Retirement Shield newsletter surfaces the ones worth knowing. Sign up free.

The six-month lookback that snares late enrollees

Workers who delay Medicare in order to keep contributing run into a second trap folded into the enrollment rules. When someone enrolls in Part A after turning 65, coverage is backdated by up to six months, though never earlier than the month they reached 65. That retroactive start date is the problem: any HSA contribution made during those backdated months is reclassified as an excess contribution, even though it looked perfectly legal when it was deposited.

Excess contributions carry a 6 percent excise tax for each year they stay in the account unless they are removed in time. Because of the lookback, benefits counselors routinely tell workers who plan to enroll to stop funding the HSA at least six months before their Medicare start date. Medicare’s own guidance on when coverage begins lays out the timing that drives this backdating, and getting it wrong is one of the most common late-career HSA mistakes. A worker who has already contributed into a period that later gets backdated is not entirely stuck: withdrawing the excess amount, plus any earnings on it, before the tax-filing deadline can head off the excise tax, though it takes acting quickly once the Medicare start date is known.

How still-working older workers keep the door open

Staying eligible past 65 is possible, but only under specific conditions. A worker at a company with 20 or more employees can usually keep employer coverage as the primary insurance and delay both Medicare and Social Security, preserving HSA eligibility as long as no part of Medicare has been activated. That delay only helps if the person has not yet claimed Social Security, since the automatic Part A enrollment that comes with benefits cannot be waived once payments begin. Workers at employers with fewer than 20 employees generally have to take Medicare at 65 for it to pay properly, which ends contributions regardless of intent.

Spousal coverage adds a further wrinkle. When a Medicare-enrolled spouse is covered under a partner’s family high-deductible plan, the Medicare spouse can no longer contribute to an HSA in their own name, but the still-eligible spouse can keep funding an account of their own up to the family limit. The account has to belong to the person who remains eligible; there is no such thing as a jointly owned HSA.

Prorating the contribution in the final year

Medicare rarely begins on January 1, so the last year of HSA eligibility usually has to be prorated. A person eligible for only part of the year can contribute only a proportional share of the annual limit — someone whose Medicare starts in July was eligible for six months and can put in roughly half the yearly maximum. The extra catch-up amount that account holders 55 and older are allowed is prorated the same way. Overshooting the prorated figure creates the same excess-contribution problem and the same recurring excise tax, which is why the final year calls for careful math rather than a full deposit made out of habit. Contributing the full annual amount in a year Medicare starts midway is one of the easiest ways to trip the excess-contribution rule without realizing it.

The account still earns its keep after 65

Losing the ability to add money is not the same as losing the account. Existing balances stay invested and keep growing tax-free, and withdrawals for qualified medical expenses remain untaxed at any age. Medicare enrollees can even use HSA dollars to pay Part B, Part D, and Medicare Advantage premiums without owing tax — one of the narrow categories of insurance premiums the accounts are allowed to cover, with Medigap premiums the notable exception that does not qualify. And once an account holder reaches 65, money taken out for non-medical reasons is taxed as ordinary income but escapes the 20 percent penalty that hits younger savers. A long-held HSA becomes a flexible late-life reserve the day contributions stop, not a dead account, and the balance a worker builds before Medicare is the balance they get to spend, tax-free, on the medical costs that tend to arrive later.

This article was produced with the assistance of artificial intelligence and reviewed by The Financial Wire editorial team.

More Financial Reading

Leave a Reply

Your email address will not be published. Required fields are marked *