Working Past 65? Medicare and HSA Rules You Need to Know Before You Enroll
Turning 65 while still working raises questions that don't have one-size-fits-all answers. Your employer coverage, your employer's size, and whether you contribute to a Health Savings Account (HSA) all change what you should do. This guide explains the rules in plain English so you can make the right call for your situation.
About the Author
Max Bumgardner is an independent licensed insurance agent with Bumgardner Insurance Group. He helps people understand their Medicare options based on their individual situation — at no cost to them. All guidance is educational; for advice specific to your circumstances, contact Max directly or speak with Social Security, your employer benefits administrator, or a tax professional.
Do You Automatically Need Medicare at Age 65?
No — and that's the honest answer. A lot of people assume that turning 65 means you must sign up for Medicare right away. The truth is, the right decision depends on several things: whether you have employer health coverage, how large your employer is, whether you or a spouse are contributing to an HSA, and your own Medicare eligibility details.
There is no blanket rule that says "you don't need Medicare if you're still working." Some people can safely delay Part B. Others should enroll during their Initial Enrollment Period to avoid permanent penalties. The only way to know which applies to you is to look at your specific coverage and circumstances.
Key factors that change your answer:
Your employer size
Whether your employer has 20 or more employees changes whether Medicare is primary or secondary — and whether you can delay Part B.
Your type of coverage
Active employer coverage is treated very differently from COBRA or retiree health coverage.
Your HSA situation
If you contribute to an HSA, enrolling in any part of Medicare — even premium-free Part A — ends your ability to make new HSA contributions.
If you're approaching 65 and still working, the best first step is to talk with your employer's benefits administrator and a licensed Medicare agent before you make any enrollment decision. You can also contact Social Security directly for official guidance on your eligibility.
How Active Employer Coverage Affects Part B Enrollment Timing
Medicare Part B (medical insurance) is the part most people can sometimes delay. Whether you can delay it without a penalty depends on whether you have active employer group health plan coverage based on current employment — yours or your spouse's.
If you are covered by an employer group health plan based on active employment, you may be able to wait to enroll in Part B. When that employer coverage or employment ends, you get a Special Enrollment Period to sign up for Part B without a late enrollment penalty.
But this rule has important limits. It does not apply to every type of coverage, and it depends on your employer's size. Below is how the rules differ.
Why Employer Size Can Matter
The 20-employee threshold is the key dividing line. Here's what it means in plain terms:
Employer Has 20 or More Employees
If your employer has 20 or more employees, the employer group health plan generally pays first and Medicare pays second. This means you may be able to delay enrolling in Part B without facing a late enrollment penalty, as long as you remain actively employed and covered.
When your employment or employer coverage ends, you have a Special Enrollment Period to enroll in Part B. This SEP lasts for 8 months, starting the month after your employer coverage or employment ends, whichever comes first.
Employer Has Fewer Than 20 Employees
If your employer has fewer than 20 employees, Medicare may become your primary payer at 65. In that case, you generally should enroll in Part B during your Initial Enrollment Period — even if you still have employer coverage.
Because the rules can vary by employer plan, always confirm with your employer's benefits administrator how your plan coordinates with Medicare before deciding. Some small-employer plans may still be primary; check before you act.
Important: Confirm before you decide
The 20-employee rule is a general guideline. Some employer plans are designed differently. Before you delay or enroll, talk to your employer's benefits administrator to confirm how your specific plan coordinates with Medicare.
Active Employer Coverage vs. COBRA or Retiree Coverage
This is one of the most common sources of confusion. The Special Enrollment Period that lets you delay Part B applies only to coverage based on current, active employment — yours or your spouse's. It does not apply to COBRA or retiree health coverage.
Active Employer Coverage
Health insurance you have because you (or your spouse) are currently working for an employer that provides the plan. This is the type of coverage that can qualify you to delay Part B and use a Special Enrollment Period later.
COBRA Continuation Coverage
COBRA lets you temporarily keep your employer plan after you leave a job or lose coverage. It is not based on active employment. COBRA does not qualify you for the Part B Special Enrollment Period. If you're on COBRA when you become eligible for Medicare, you generally should enroll in Medicare when first eligible to avoid late penalties and coordination problems.
Retiree Health Coverage
Retiree health benefits are not based on active employment. Like COBRA, they do not qualify you for the Part B Special Enrollment Period. If you have retiree coverage and are approaching 65, confirm with your plan administrator how it coordinates with Medicare and when you should enroll.
Bottom line: If you have COBRA or retiree coverage, do not assume you can delay Part B. These coverage types do not give you the same enrollment protections as active employer coverage. Contact Social Security or a licensed Medicare agent to confirm your timing.
HSA Contribution Rules Once Medicare Coverage Begins
If you have a high-deductible health plan (HDHP) and contribute to a Health Savings Account (HSA), there's a critical rule you need to understand before enrolling in Medicare:
Once you are enrolled in any part of Medicare — including premium-free Part A — you are no longer eligible to make new HSA contributions.
This is an IRS rule, not a Medicare rule. Per IRS guidance, an individual covered by Medicare (any part) is not an "eligible individual" for HSA contribution purposes. If you keep contributing to your HSA after Medicare starts, those contributions are considered "excess contributions" and may be subject to a 6% excise tax on the excess amount for each year it remains in the account.
For reference, the 2026 IRS HSA contribution limits are $4,400 for self-only coverage and $8,750 for family coverage, plus a $1,000 catch-up contribution if you are 55 or older. But none of that matters once Medicare begins — the contribution door closes regardless of the limit.
HSA contributions and Medicare — the key point
You can still use existing HSA funds for qualified medical expenses after you enroll in Medicare. What changes is that you can no longer make new contributionsto the HSA. The account itself stays; the inflow stops.
Why HSA Contributors Need to Understand Part A Enrollment Timing
Here's where many people get tripped up. Most people don't pay a premium for Medicare Part A, so it can seem harmless to enroll. But if you are actively contributing to an HSA, enrolling in Part A ends your HSA eligibility immediately.
This means if you want to keep maxing out your HSA contributions while working past 65, you generally should not enroll in Part A yet — and you should stop contributing to your HSA before you do enroll. This is a personal decision that depends on your tax situation, your health coverage, and your retirement plans. Talk to a tax professional before deciding.
Some people choose to delay both Part A and Part B to keep their HSA contributions going. Others decide the tax-advantaged HSA contributions aren't worth delaying Medicare. There is no universally right answer — it depends on your numbers.
The Retroactive Part A Trap: What Enrolling After 65 Can Mean
This is the rule that catches the most people by surprise. When you enroll in Medicare Part A after your initial month of eligibility, Social Security can apply your Part A coverage retroactively — for up to six months, but never earlier than the month you were first eligible for Medicare.
What this means for HSA contributors: If you enroll in Part A at, say, age 66, your Part A coverage could be backdated up to six months. Any HSA contributions you made during those retroactive months are now considered excess contributions by the IRS — and may be subject to tax penalties.
To avoid this, the common guidance is to stop contributing to your HSA at least six months before you apply for Medicare. That way, even if Part A is applied retroactively, there are no recent HSA contributions to disqualify. This is a tax matter — confirm the timing with a tax professional before you stop or start contributions.
The retroactive rule applies specifically to Part A enrollment after the initial eligibility month. It does not apply if you enroll during your Initial Enrollment Period in a way that starts coverage right at 65. The details matter here, so verify your specific enrollment timing with Social Security.
Special Enrollment Period After Employer Coverage Ends
If you delayed Part B because you had active employer group health coverage (from your or your spouse's current employment), you get a Special Enrollment Period to enroll in Part B when that coverage or employment ends.
Special Enrollment Period at a glance
You can enroll in Part B any time you are still covered by the employer group health plan based on active employment.
After your employer coverage or employment ends, you have an 8-month window to enroll in Part B without a late enrollment penalty. The 8 months start the month after the coverage or employment ends, whichever comes first.
This SEP applies to active employer coverage — not COBRA or retiree coverage.
The SEP does not apply to Part D (prescription drug coverage). If you lose creditable drug coverage, you may have a separate Part D enrollment window — confirm with Medicare or a licensed agent.
One more important note: when you sign up for Part B during a Special Enrollment Period, your Medigap Open Enrollment Period begins. That six-month window — when you can buy any Medigap policy sold in your state without medical underwriting — starts the month you are first both 65 and enrolled in Part B. It cannot be restarted later, so timing matters. Learn more on our Medicare Supplement (Medigap) page.
What Documentation You May Need From Your Employer
If you enroll in Part B using a Special Enrollment Period, you generally need to show that you had employer group health coverage based on active employment. The main document is:
Form CMS-L564 — Request for Employment Information
This form confirms you have or had employer group health coverage based on current employment. Your employer's HR or benefits administrator must complete and sign part of it. You can download it from Medicare.gov or get it from Social Security.
We also keep a copy available for reference: CMS-L564 (PDF). Always use the current official version from Medicare.gov when submitting.
You may also need documents showing the date your employer coverage ended (if enrolling after leaving the job). Before you apply, contact Social Security or a licensed Medicare agent to confirm exactly what you need for your situation.
Who to Contact Before You Act
Because the rules around working past 65, employer coverage, and HSAs interact in complicated ways, it's smart to confirm your specific situation with the right sources before you enroll in (or delay) anything:
Your employer benefits administrator — to confirm how your employer plan coordinates with Medicare and whether it is considered primary or secondary.
Social Security (1-800-772-1213) — for official guidance on your Medicare eligibility, enrollment timing, and the Special Enrollment Period.
Medicare (Medicare.gov or 1-800-MEDICARE) — for plan options, creditable coverage, and enrollment details.
A tax professional — for HSA contribution timing, excess contribution penalties, and the tax implications of stopping or starting contributions.
A licensed Medicare agent — like Max Bumgardner, to help you understand how these rules apply to your situation and what your coverage options are.
Watch: Medicare with Max on This Topic
Video coming soon
A Medicare with Max YouTube video on working past 65 and HSA rules will be embedded here.
In the meantime, visit the Medicare with Max YouTube channel for more clear Medicare explanations.
@MedicareWithMaxStill not sure what you should do at 65?
You're not alone — this is one of the most common sources of confusion I see. The rules around working past 65, employer coverage, and HSAs interact in ways that depend on your specific situation. There is no single right answer for everyone.
I'm Max Bumgardner, an independent licensed insurance agent with Bumgardner Insurance Group. I can help you understand your Medicare options based on your individual situation — your employer coverage, your employer size, your HSA, and your coverage goals. There is no cost to you for my help.
You can also learn more on the Medicare with Max page.
Related Reading
Turning 65 Guide
Turning 65? Your Medicare Enrollment Deadline is Closer Than You Think
The seven-month enrollment window, penalties, and what to do before your birthday month.
Read more →
Plan Options
Medicare Advantage Plans in The Villages
How Medicare Advantage works, what it covers, and how to compare plans.
Read more →
Supplement Coverage
Medicare Supplement (Medigap) Plans
How Medigap works with Original Medicare and the Medigap Open Enrollment Period.
Read more →
Prescription Drugs
Medicare Part D Explained
Prescription drug coverage, formularies, and how to choose a Part D plan.
Read more →