Healthcare MoneyAdvanced7 min read

Working past 65: the Medicare-employer coverage decision tree

Keep the employer plan? Take Part B? Keep funding the HSA? The rules hinge on employer size, a six-month lookback, and a COBRA trap that creates lifelong penalties.

Turning 65 while still employed drops you into one of Medicare's most consequential decision windows — and one of its worst-documented. Enroll in Part B you don't need and you'll pay premiums (and possibly IRMAA surcharges) for nothing. Skip Part B you did need and you face a late enrollment penalty that lasts the rest of your life, plus months without coverage. The right answer turns almost entirely on one question nobody thinks to ask: how many employees does your company have?

The 20-employee rule decides everything

For workers 65+ with employer coverage, federal coordination rules split the world in two. At employers with 20 or more employees, the group plan pays primary and Medicare pays secondary — meaning your employer plan works fine on its own, and you can safely delay Part B. At employers with fewer than 20 employees, Medicare pays primary even if you never enrolled — and the group plan can legally refuse to pay the share Medicare 'would have' covered. Small-firm employees who skip Part B can be left functionally uninsured while paying premiums for a plan that now covers almost nothing.

SituationPart APart BWhy
Employer 20+, good coverage, no HSAUsually enroll (free)DelayGroup plan is primary; Part B adds cost, little value
Employer 20+, contributing to HSADelayDelayAny Medicare enrollment ends HSA eligibility
Employer <20 employeesEnrollEnrollMedicare is primary; the group plan won't backstop it
On COBRA or retiree coverageEnrollEnrollNeither counts as current employment — penalties accrue
Spouse's employer plan (20+)Usually enrollDelayCoverage through a spouse's active employment counts
What to do at 65 while still working

The HSA collision: Part A's six-month lookback

Premium-free Part A seems like an obvious yes — until you remember that any Medicare enrollment ends HSA contribution eligibility. Worse, if you enroll in Medicare after 65, Part A coverage is backdated up to six months (not earlier than your 65th birthday month). Contributions made during that retroactive window become excess contributions subject to a 6% excise tax. And claiming Social Security automatically enrolls you in Part A — you cannot decline it while taking benefits. The planning consequences:

  • Still contributing to an HSA past 65? Delay both Part A and Social Security, and stop HSA contributions at least six months before you eventually enroll.
  • In your final contribution year, prorate: eligibility is measured monthly, so contributing the full annual limit before a mid-year Medicare start creates excess contributions.
  • You can still spend HSA money forever — and after 65, HSA dollars can pay Part B, Part D, and Medicare Advantage premiums tax-free (though not Medigap premiums). Only contributions end.
  • Married with a younger spouse? Your Medicare enrollment doesn't end their eligibility — a spouse under 65 on family HDHP coverage can keep contributing to their own HSA, including catch-up.
The retroactive Part A surprise, in dollars
Elaine, 67, works at a large firm and maxes her HSA at $5,400/year including catch-up. In March she files for Social Security, triggering automatic Part A backdated six months to the prior September. Result: her four months of prior-year contributions after September (~$1,800) plus January–March of this year (~$1,350) are excess. She must withdraw roughly $3,150 plus earnings before her tax deadline or owe a 6% excise tax (~$189) each year it remains. Fixable with paperwork — but if she'd stopped contributions six months before filing, there'd be nothing to fix. The lookback is the single most common HSA-Medicare foot-fault.

The COBRA trap: the costliest wrong assumption

The Part B special enrollment period is available while you're covered by a group plan based on current employment — and for 8 months after that employment ends. COBRA is not current employment. Neither is retiree coverage or severance-period coverage. People routinely retire at 66, take 18 months of COBRA, and assume they'll enroll in Medicare when it runs out. Instead they discover: no special enrollment period, a wait for the general enrollment period, and a lifelong Part B penalty of 10% per full 12-month period they went without. On top of that, COBRA typically pays secondary to Medicare after 65 — even if you never enrolled — so the insurer can claw back claims it paid primary. The rule is simple and unforgiving: when active employment ends, the 8-month Part B clock starts, COBRA or not.

Part D has its own, shorter clock
Drug coverage runs on a different rule: you need creditable prescription coverage (as good as standard Part D) with no gap longer than 63 days. Employer plans usually qualify — your plan must send an annual creditable coverage notice; keep it. COBRA drug coverage can be creditable, which softens that side. The Part D penalty is 1% of the national base premium per month late, forever. Small numbers, but permanent.

Enrolling later: the paperwork that proves your delay was legal

  1. 1
    Start 2–3 months before retirement (or the coverage switch)

    Part B applications with employment-based delays are processed manually and take time. Starting early prevents a coverage gap between the group plan ending and Part B starting.

  2. 2
    File CMS-40B plus CMS-L564

    The 40B is your Part B application; the L564 is the employer's certification of when you had group coverage based on active employment. Every employer since you turned 65 needs to complete one — chase these before HR contacts go stale.

  3. 3
    Pick your Part B start month deliberately

    Align it with the group plan's end date to the month. Also remember Medigap: your 6-month guaranteed-issue Medigap window keys off Part B's effective date — delaying Part B past 65 preserves it, but once Part B starts, that clock runs.

  4. 4
    Line up Part D or Medicare Advantage in the same window

    Losing employer coverage triggers a 2-month Part D special enrollment period. Shorter than the Part B window — handle both together.

Sometimes dropping the employer plan wins anyway
Delaying Part B is the default at large employers, not a commandment. If your employer plan costs you $450/month with a $4,000 deductible, compare it against Part B (~$185/month at standard rates) plus a Part D plan and Medigap or Medicare Advantage. Employees at firms with rich, cheap coverage should stay; those on expensive, thin plans sometimes save thousands by switching to Medicare at 65 even while working. Run it like any other open-enrollment comparison — including IRMAA if your income is high.

The bottom line

Working past 65 gives you real leverage — free delay of Part B behind a large employer's plan, extra years of HSA contributions if you keep Medicare entirely at bay, and a clean 8-month runway when you finally retire. The traps are equally real: the under-20-employee primary-payer rule, Part A's six-month lookback colliding with HSA contributions, and the COBRA assumption that has cost thousands of retirees a lifelong penalty. Decide with three facts in hand — employer size, HSA status, and your retirement date — and file the L564 paperwork early. This is one corner of retirement where the difference between optimal and wrong is purely informational.

Check your understanding

1 of 3
You're 66 and still working. Which single question most determines whether you can safely delay Medicare Part B?

Not quite — try again.

The Worth letter

Get smarter about money every week

One email, no spam — practical guides and Worth updates. Unsubscribe anytime.

Put this into practice

Worth tracks your accounts, budgets, and goals — so the concepts in this article aren't just theory.

Start free trial