This is one of the easiest Medicare mistakes to make if you are still working past 65, especially if you have a high-deductible health plan and have gotten used to maxing out your Health Savings Account every year.

The rule sounds small. The tax consequences are not.

Once you are enrolled in Medicare, you generally can no longer contribute to an HSA. Not the month after. Not at year-end. The month you are enrolled, your HSA contribution eligibility usually stops.

And the part that catches people off guard is this: if you sign up for premium-free Medicare Part A after age 65, your Part A coverage can start up to 6 months retroactively, but not earlier than the month you turned 65. That retroactive start can create excess HSA contributions if you kept funding your HSA during those months.

Why This Catches So Many People

Most people who stay employed past 65 are focused on Part B, not Part A.

That makes sense. If your employer has 20 or more employees, you can often delay Part B while you keep active employer coverage. But many people assume they can quietly enroll in Part A whenever they want without affecting anything else.

That is where the HSA problem starts.

If you are covered by a qualifying high-deductible health plan and want to keep making HSA contributions, Medicare enrollment matters. IRS Publication 969 says you must not be enrolled in Medicare to remain eligible to contribute to an HSA.

Can You Contribute to an HSA After You Enroll in Medicare?

No, not in the normal sense people mean when they ask the question.

Once you are enrolled in any part of Medicare, you generally are no longer eligible to make new HSA contributions. That includes Part A. A lot of still-working professionals think the HSA issue only begins when they enroll in Part B. It does not.

You can still use money already in your HSA. You just cannot keep contributing to it once Medicare enrollment begins.

The 6-Month Retroactive Part A Rule

This is the rule that causes the mess.

If you delay signing up for premium-free Part A and enroll later, Medicare says your Part A coverage starts 6 months back from when you sign up or when you apply for Social Security, but not earlier than the month you turned 65.

That means someone in Kansas City, Liberty, or Lee’s Summit who signs up for Part A in October could find that Medicare treats Part A as having started in April. If that person kept contributing to an HSA from April through September, those contributions may need to be corrected as excess contributions.

What Should Missouri Workers Do Before They Enroll?

If you are still working past 65 and contributing to an HSA, back up before you file anything.

You want to answer four questions first:

In practice, many people stop HSA contributions several months before applying for Medicare to avoid the retroactive Part A issue.

What Happens If You Already Contributed Too Much?

Usually, this becomes a tax cleanup issue rather than a Medicare enrollment issue.

If you made HSA contributions for months when you were not actually eligible because Medicare coverage was retroactive, those contributions may need to be removed as excess contributions along with any earnings tied to them. This is where it makes sense to bring in your payroll department, HSA custodian, or tax professional instead of guessing.

The good news is that this problem is often fixable if you catch it early. The bad news is that many people do not realize what happened until tax season.

Does This Mean You Should Delay Medicare Entirely?

Not necessarily.

This is where people overcorrect.

The lesson is not “avoid Medicare.” The lesson is “coordinate Medicare enrollment with your HSA strategy before you file.” If you are still working and covered by a large employer plan, delaying Part B may be reasonable. If you want to keep contributing to an HSA, delaying Part A may matter too. But that decision should be made deliberately, not by accident.

How This Fits With the Still-Working-at-65 Rule

If you are still working, the first question is whether your employer coverage lets you delay Medicare safely. I covered that in more detail here: Do You Need Medicare at 65 If You’re Still Working in Missouri?

The HSA question sits on top of that.

You may be allowed to delay Medicare. But if you decide to enroll later, you need to think through the HSA timing before you do it.

The Practical Takeaway

If you are 65 or older, still working, and contributing to an HSA, do not sign up for Medicare casually.

Look at the calendar. Look at payroll timing. Look at when Part A could start. Then make the move.

That 10-minute conversation is a lot easier than fixing excess contributions after the fact.

Frequently Asked Questions

Can I keep using my HSA after I enroll in Medicare?

Yes. You can still spend existing HSA money on qualified medical expenses after Medicare begins. The issue is new contributions, not access to the money already in the account.

Does enrolling in Part A affect HSA eligibility?

Yes. Once you are enrolled in Medicare Part A, you generally are no longer eligible to make HSA contributions.

Why do people stop HSA contributions before applying for Medicare?

Because premium-free Part A can begin up to 6 months retroactively when you enroll after 65. Stopping contributions in advance helps avoid excess contributions during that retroactive period.

Should I talk to a CPA or payroll team about this?

Yes. Medicare enrollment and HSA contribution timing often overlap with payroll deductions and tax reporting, so it is smart to coordinate those details before you apply.