Still Working at 65? Medicare Explained.

By Brian Krantz - November 26, 2025

Are you still working at 65?

Read This Before You Touch Medicare, Your HSA, or Social Security

The Medicare Eligibility, Employer Open Enrollment, and Social Security Election Trap

If you’re turning 65 and still working for a big employer (20+ employees), you are in the most confusing sweet spot in the entire Medicare system.

You’re being hit from three sides at once:

  • Employer open enrollment (HSA vs HRA vs PPO, “Medicare-eligible” checkboxes, etc.)
  • Medicare timing (Part A, Part B, penalties, retiree vs active coverage)
  • Social Security timing (which quietly drags Medicare along with it)
What happens if you make the wrong choice?
  • Accidentally trigger IRS penalties for HSA contributions
  • Lose your ability to fund an HSA years before you retire
  • End up in a retiree plan that doesn’t protect you from Part B penalties
  • Create a mess you’re cleaning up with your CPA later
What happens if you make the right choice?
  • Keep your employer coverage
  • Max out your HSA
  • Slide into Medicare at retirement with no penalties and no gaps

The Ground Rule: Large Employer vs Small Employer

First distinction:
  • Large employer (20+ employees):
    Your employer plan stays primary if you stay actively employed. Medicare is secondary if you enroll. You’re allowed to delay Part B with no late penalty as long as you’re still on active group coverage, not COBRA or retiree coverage.
  • Small employer (<20 employees):
    Medicare becomes primary, employer coverage secondary. Different game.

This article is about the large-employer situation.

If you’re still working for a big firm and covered under their active employee plan, you’re usually not required to jump into Medicare at 65.

The HSA / Medicare “Tripwire”

Here’s the non-negotiable HSA rule:

You cannot contribute to an HSA for any month you are enrolled in any part of Medicare (A, B, or D).

That includes:

  • You enroll in Part A “just to be safe” at 65
  • You file for Social Security, which automatically enrolls you in Part A once you’re 65 or older.

If you or your employer keep putting money into the HSA after that, those dollars are “excess contributions” and can be hit with a 6% excise tax every year until corrected.

You can keep using your existing HSA balance after you’re on Medicare. You just can’t put any new money in.

The Nasty Part: 6-Month Retroactive Part A

The trap almost nobody sees coming:

  • If you apply for Medicare after 65 (or apply for Social Security while 65+), your Part A can be backdated up to 6 months.

So if you retire at 68 and file for Medicare and Social Security in June:

  • Social Security files the Part A enrollment with your application
  • Part A may start retroactively in December of the prior year (6 months back)
  • Any HSA contributions you made from December through June are now illegal contributions, retroactively

That’s why every serious Medicare/HSA guide says the same thing:

Stop all HSA contributions at least 6 months before you apply for Medicare or Social Security if you’re over 65.

This includes employer contributions. Payroll needs to flip that switch too.

Employer Elections: HSA vs HRA vs “Medicare Eligible” Flags

Here’s how this usually looks at a big firm:

  • You’re offered an HSA-qualified high-deductible plan
  • You’re also offered some flavor of HRA or non-HSA plan
  • Somewhere in the fine print there’s a “Medicare-eligible” box

Many employers have now “gotten smart” and will auto-move anyone Medicare-eligible into an HRA or non-HSA option, whether or not that person has actually enrolled in Medicare.

That can be good or bad:

  • Good if you are on Medicare and need to avoid HSA contributions
  • Bad if you’re deliberately delaying Medicare to squeeze a few more years of tax-favored HSA contributions

If you’re still active, not on Medicare, and want to keep maxing the HSA:

  • Confirm with HR/Benefits that they are not auto-switching you into an HRA just because you turned 65.
  • Make sure your election clearly keeps you in the HSA-eligible HDHP, not a “Medicare-eligible” bucket.

Your message to HR is simple:

“I’m not enrolled in Medicare and I want to stay on the HSA plan. Please make sure I’m not switched to an HRA/Medicare-eligible plan automatically.”

Social Security Timing: Why “Just File at 65” Can Blow Up Your HSA

Once you understand the HSA rules, Social Security timing stops being purely about “maximize my benefit” and starts being about “don’t blow up my HSA.”

  • If you file for Social Security at or after 65, Part A comes with it. You don’t get to say no.
  • If you file after turning 65, Part A can be backdated 6 months, triggering that retroactive HSA problem.

So if your plan is:

  • Work to 68 or 70
  • Stay on a big-employer HDHP
  • Max out HSA during peak-earnings years

Then you generally delay Social Security and delay all Medicare until you’re actually ready to leave work and you’ve stopped HSA contributions 6 months ahead of applying.

“When Exactly Do I Stop My HSA?” – Practical Scenarios

Use these as rough guardrails; but you should still coordinate with HR and your tax pro.

Scenario A: Still Working at 65, Plan to Work Until 68–70
  • Stay on the HSA-qualified plan
  • Do not enroll in any part of Medicare
  • Do not file for Social Security yet
  • When you’re about 6 months out from when you’ll file for Medicare/SS, tell payroll:
    • “Stop all HSA contributions as of .”

Example:

  • You plan to retire and apply for Medicare/SS in December 2028
  • You should stop all HSA contributions by June 30, 2028 at the latest to avoid retroactive overlap.
Scenario B: You Want Medicare at 65 But Still Working

Common with people whose employer coverage is expensive or weak.

  • Enroll in Medicare during your Initial Enrollment Period (around age 65)
  • Part A typically starts the first day of your birth month (or month before if your birthday is the 1st).
  • You must stop HSA contributions the month before Part A starts
  • After that, you can stay on the employer plan, but your HSA becomes a “spend-only” account—no new contributions.

Here, there’s usually no 6-month retro issue because you’re enrolling right at 65, not years later. The rule still stands: no contributions once any part of Medicare is active.

Scenario C: Leaving Work and Going to Retiree Coverage or COBRA

Big mistake people make: thinking retiree coverage or COBRA is the same as active employee coverage.

It’s not.

  • The 8-month Part B Special Enrollment Period is tied to active employment, not COBRA or retiree coverage.
  • Once you leave, you’re on the clock to get Part B.
  • Your HSA contributions should stop anyway because you’re no longer on an HSA-eligible active plan.

If your employer offers a retiree plan, treat it as entirely separate from the HSA question. By the time you’re on retiree coverage, you should be off HSA contributions and either already on Medicare or about to enroll.

What About Your Spouse?

Key points:

  • Your HSA eligibility is individual. If you’re on Medicare but your spouse is not, they may still be able to contribute to their HSA if they’re on a qualifying plan.
  • When you finally leave work and both jump into Medicare, the HSA becomes a joint tax-free bucket to pay for:
    • Medicare Part B and D premiums
    • Medicare Advantage premiums
    • Deductibles, copays, coinsurance

(You can’t use it for Medigap premiums, but that’s a separate issue.)

12–18 Month Checklist as You Approach 65

Here’s how I’d structure this if you were my client:

12–18 months before 65

  • Confirm your employer size (20+ employees).
  • Ask HR: “Is my plan considered active group coverage after 65?”
  • Ask HR: “Do you auto-move Medicare-eligible employees into an HRA or different plan?”

During employer open enrollment and before you turn 65

  • If you plan to delay Medicare and Social Security:
    • Elect the HSA-eligible HDHP and opt out of any automatic HRA migration.
  • If you plan to take Medicare at 65:
    • Elect a non-HSA plan; you’ll have to stop HSA contributions anyway once Part A starts.

6–9 months before you plan to retire OR file for Medicare/SS (if you’re already over 65)

  • Pick your Medicare start date.
  • Count backwards 6 months. That’s your latest HSA cut-off date.
  • Tell HR/payroll: “Stop all HSA contributions by .”

At retirement / Medicare enrollment

  • Enroll in Part B (and Part D or an Advantage plan) during your valid window.
  • Move your thinking from “contribute to HSA” to “spend HSA strategically” on Medicare premiums and out-of-pocket costs.

When You Need Professional Help

You are juggling:

  • IRS rules (HSA eligibility and penalties)
  • Medicare enrollment timing and retroactivity
  • Social Security claiming strategy
  • Employer-benefit fine print

At your income level, screwing this up costs real money.

You should at least:

  • Have HR confirm in writing how they treat Medicare-eligible employees and HSA plans
  • Have your CPA or tax advisor confirm your HSA stop date and clean-up steps if you already over-contributed

Bottom line and Next Steps

If you’re 64–66, working at a big firm, and staring at employer enrollment, Medicare, and Social Security all at once, the play is simple:

  1. Decide how long you’re really going to work.
  2. If you’re staying on a big-employer plan, delay Medicare and Social Security and keep hammering the HSA.
  3. About 6 months before you’ll apply for Medicare or Social Security, shut off every HSA contribution—yours and your employer’s.
  4. Then – and only then – enroll in Medicare and flip your HSA from accumulation mode to spend-down mode.

Do that, and you won’t be on the phone with the IRS later explaining why you had Medicare and HSA contributions at the same time.

We are here to help you navigate these confusing issues- give us a call to discuss your Medicare planning needs 516-900-7877.

Speak to a Licensed Advisor in Medicare today

Book an Appointment Call: 516-900-7877