Not affiliated or endorsed by any government agency, this is an insurance agency. We do not offer every plan available in your area. Any information we provide is limited to those plans we do offer in your area. | Please contact Medicare.gov or 1-800-Medicare to get information on all of your options.

The HSA Timing Rule: How Working Past 65 Can Trigger a Surprise Tax Penalty

A thoughtful senior man with gray hair sits at a desk holding a tablet in a modern office.

Are you still working, still contributing to a Health Savings Account, and not in a hurry to sign up for Medicare? That combination is more common than ever, but it comes with a tax rule that catches even careful planners off guard.

Health Savings Accounts and Medicare do not mix, and the timing matters more than most people realize. If you are not careful about when you enroll, HSA contributions after age 65 can quietly turn into a penalty instead of a tax break. Here in the Dallas-Fort Worth area, we talk with people navigating this exact situation regularly, so let’s walk through how it works and how to avoid it.

This isn’t a rare edge case, either. More people are working into their late 60s and 70s than ever before, often specifically to keep employer coverage and keep funding a Health Savings Account. That’s a smart strategy, but only if you understand the one rule that can undo it.

How HSAs and Medicare Collide

A Health Savings Account only works if you are enrolled in a qualifying high-deductible health plan and have no other disqualifying health coverage. According to IRS Publication 969, Medicare counts as disqualifying coverage, in any part, including Part A alone.

An HSA-qualifying high-deductible plan has to meet specific IRS deductible and out-of-pocket thresholds, which are adjusted most years. It’s the combination of that qualifying plan and the absence of other coverage, like Medicare, that makes contributions possible in the first place. Once either piece changes, so does your eligibility.

To keep making HSA contributions, you generally need to:

  • Be covered by an HSA-qualifying high-deductible health plan
  • Have no other health coverage that isn’t HSA-compatible, including any part of Medicare
  • Not be claimed as a dependent on someone else’s tax return

The moment you’re enrolled in Medicare, even just Part A, that eligibility ends. This surprises a lot of people who assume Part A is harmless because it’s usually premium-free. It isn’t harmless where your HSA contributions after age 65 are concerned.

The Retroactive Part A Rule That Catches People Off Guard

Here’s where the real trap lives. If you enroll in Medicare Part A after your 65th birthday, your coverage doesn’t just start on your application date. According to Medicare Interactive, a project of the nonprofit Medicare Rights Center, Part A coverage is automatically backdated up to six months, though never earlier than the month you turned 65.

That backdating happens automatically. You don’t get a say in it, and you can’t decline it. If you were still contributing to your HSA during those retroactive months, thinking you were covered only by your HDHP, the IRS now considers you Medicare-enrolled for that entire window. Any contributions made during those months become excess contributions after the fact, even though they looked perfectly legal when you made them.

The six-month lookback isn’t designed to trap anyone. It exists so people transitioning off employer coverage don’t end up with a gap in their health insurance while their Medicare paperwork is processed. According to the Society for Human Resource Management, this rule has been in place since the early 1980s and is set by CMS regulation rather than federal law, which is part of why it rarely gets attention until someone runs into it directly.

This becomes especially relevant if you claim Social Security at or after age 65. Doing so automatically enrolls you in Medicare Part A, and that automatic enrollment carries the same six-month retroactive reach.

What Counts as an Excess Contribution

Once the IRS treats you as retroactively Medicare-enrolled, any HSA contributions made for those months, whether from you or your employer, count as excess contributions. Fidelity notes that the fix involves withdrawing both the excess amount and any earnings on it before your tax filing deadline.

If the excess isn’t corrected in time, the IRS applies a 6% excise tax on the excess amount for every year it remains in the account. That’s not a one-time fee. It repeats annually until the excess is properly withdrawn, which is why catching the mistake early matters so much. This excise tax gets reported using IRS Form 5329, in addition to the HSA reporting done on IRS Form 8889.

Correcting an excess contribution generally involves a few steps:

  • Add up all contributions, including any employer contributions, made during the retroactive coverage period.
  • Withdraw that excess amount, plus any investment earnings it generated, before your tax filing deadline.
  • Report the contribution and any correction using IRS Form 8889, filed with your tax return.

None of this is meant to scare you away from having an HSA. It’s simply a timing issue, and timing issues are solvable once you know they exist. The people who run into trouble are almost never trying to break the rules. They just didn’t know the retroactive coverage rule existed until it was too late to plan around it.

How to Keep Making HSA Contributions After Age 65

The good news is that this entire situation is avoidable with a bit of planning. If your employer has 20 or more employees, your group health plan is generally allowed to remain your primary coverage past 65, which means you may be able to delay Medicare enrollment altogether and keep contributing to your HSA for as long as you’re covered by a qualifying HDHP.

The commonly recommended approach is straightforward: stop new HSA contributions about six months before you plan to apply for Medicare or Social Security, whichever comes first. That gap accounts for the retroactive lookback period, so there’s no overlap between contributions and Medicare eligibility.

For 2026, HSA contribution limits are $4,400 for self-only coverage and $8,750 for family coverage, with an additional $1,000 catch-up contribution available once you turn 55. Those limits rise to $4,500 and $9,000 for 2027. Knowing your limit helps you plan your final contribution year with more precision instead of guessing.

It’s also worth remembering that the money already sitting in your HSA remains entirely yours. You can keep using it, tax-free, for qualified medical expenses long after your contributions stop, including premiums for Medicare Parts A, B, and D and Medicare Advantage plans. One notable exception: unlike those other premiums, Medigap premiums aren’t eligible for tax-free HSA payment under IRS rules, a distinction worth knowing rather than a reflection on Medigap’s value as coverage.

A Note on Spousal Coverage

If you’re married, it’s worth double-checking how your spouse’s Medicare timing affects your own HSA eligibility. Your enrollment in Medicare doesn’t automatically end your spouse’s ability to contribute to their own HSA, as long as they’re still covered by a qualifying HDHP and haven’t enrolled in Medicare themselves. Each spouse’s HSA eligibility is generally evaluated separately, based on their own coverage and enrollment status, not a shared household rule.

That said, family HDHP coverage and contribution limits work a little differently, so it’s worth reviewing your specific plan structure rather than assuming the rules mirror your individual coverage.

Why This Matters for the Dallas-Fort Worth Area

Plenty of people in Dallas, Fort Worth, and the surrounding communities plan to keep working well past 65, whether by choice or necessity, and many of them have never had someone walk them through how their HSA, their employer coverage, and their eventual Medicare enrollment fit together.

That’s exactly the kind of planning conversation we have regularly as a Medicare agency in Dallas, working with people at every stage of their career. Coordinating the timing between your HSA contributions, your employer’s group health plan, and when you eventually apply for Medicare or Social Security isn’t something you should have to piece together from scattered articles. A local advisor can look at your specific work situation and help you map out a timeline that protects both your HSA and your future Medicare coverage.

Every work situation looks a little different. Some people work for large employers and can delay Medicare with no penalty at all. Others work for smaller companies where Medicare needs to become primary coverage sooner. Knowing which category applies to you is the first step, and it’s a question worth asking well before your 65th birthday rather than after.

A Simple Example

Consider someone who becomes eligible for premium-free Medicare Part A in May, the month they turn 65, but doesn’t get around to applying until November because they’re still working and covered under their employer’s group health insurance in Fort Worth, Dallas, or elsewhere. When they finally enroll, their Part A coverage backdates all the way to May.

Any HSA contributions they made between May and November, six full months, are now considered excess contributions, since the IRS treats them as Medicare-enrolled for that entire stretch. Had they instead stopped contributing in May and simply let their HSA balance sit, no correction would have been needed at all. The difference between a clean tax year and a messy one often comes down to nothing more than six months of contribution timing.

Now picture the opposite scenario: someone who applies for Medicare before their 65th birthday month rather than after it. In that case, there’s no retroactive lookback to worry about, since Part A can’t be backdated earlier than the month you actually became eligible. That person could continue contributing right up until the day before their Medicare coverage begins, with no risk of an excess contribution at all.

The rule isn’t about age 65 itself. It’s specifically about what happens when enrollment happens after you’re already eligible.

How Medicare4USA Can Help You Plan Your Medicare Timing

Figuring out exactly when to stop HSA contributions, apply for Medicare, or claim Social Security depends on your specific job situation, your HDHP, and your retirement timeline, and getting it wrong can be an expensive mistake. We’re not tax professionals, so we always recommend confirming the details of your specific situation with a qualified tax advisor, but we can help you understand how Medicare enrollment fits into the bigger picture.

If you’re still working past 65 and trying to figure out when to make the switch, our Medicare agents are happy to walk through your options and coordinate the timing with you, whether you’re new to Medicare, weighing Medicare Advantage plans, or comparing Medicare supplement plans in Dallas or Fort Worth, TX, before you apply.

Reach out to Medicare4USA today to talk through a plan that protects both your HSA and your Medicare coverage.

Leave a Comment

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

Scroll to Top