Turning 65 while still working at a large employer with a Health Savings Account and without collecting Social Security gives you more control over Medicare timing — but requires careful planning. To keep contributing to your HSA, you must not be enrolled in any part of Medicare, including Part A. Because premium-free Part A can be retroactive up to 6 months from your application date, you should stop both your own deposits and your employer's payroll contributions to the HSA at least 6 months before you plan to retire, apply for Medicare, or apply for Social Security or Railroad Retirement benefits. Delaying Part B with active employer coverage from a company with 20 or more employees does not preserve HSA eligibility if Part A has begun. If excess contributions have been made, speak with your payroll department, HSA custodian, or a tax professional about correcting them.
You are turning 65, still working at a large employer (20 or more employees), contributing to a Health Savings Account (HSA), and have not yet filed for Social Security benefits. This combination creates a specific Medicare enrollment decision that many people get wrong — and the financial consequences can be significant in both directions.
Because you have not filed for Social Security, you will not be automatically enrolled in Medicare. This is actually an advantage in your situation. Automatic enrollment in Part A would create a problem with your HSA: under IRS rules, once you are enrolled in any part of Medicare (including Part A), you are no longer eligible to contribute to an HSA. If you are auto-enrolled in Part A without realizing it, your HSA contributions become excess contributions subject to a 6% tax penalty for every year they remain in the account.
Since you are at a large employer, your group health plan is your primary insurance, and Medicare would be secondary. This means you can delay both Part A and Part B without a penalty as long as you remain actively employed with group coverage. The question becomes: should you delay? For most people with HSAs at large employers, the answer is yes — at least for Part A — because the HSA tax benefits often outweigh the immediate value of Part A enrollment.
However, there are important caveats. If you plan to retire within the next year or two, the HSA contribution benefit may be small compared to the protection that Part A provides. Part A covers hospital stays, skilled nursing, and hospice care — and for most people, it is premium-free. Once you stop contributing to the HSA, there is no reason to delay Part A.
The Part B decision is separate. Since your employer plan is primary, Part B adds limited value while you are still working. You may wait on Part B until you retire, at which point your SEP gives you 8 months to enroll penalty-free. Just make sure your employer actually has 20 or more employees — if they have fewer than 20, Medicare is primary and you should enroll during your IEP.
HSA contributions have an annual limit ($4,150 for self-only, $8,300 for family in 2024, plus a $1,000 catch-up for people 55 and older). If Part A enrollment makes these contributions ineligible, the 6% excise tax applies for every year the excess remains in the account. A $5,000 excess contribution that goes uncorrected for 3 years costs $900 in penalties alone.
When you file for Social Security after 65, Part A enrollment is retroactive by up to 6 months. This means HSA contributions you made during those 6 months become excess contributions — even though you did not know you were enrolled in Part A at the time. You must stop HSA contributions 6 months before filing for Social Security.
Delaying Part B at a large employer is penalty-protected, but your SEP starts the month employment or group coverage ends. Missing the 8-month SEP window would result in a permanent Part B penalty and a potential coverage gap lasting until the next General Enrollment Period.
Use the Medicare Intake tool to check your enrollment status and review your situation based on Medicare.gov rules.
you are turning 65 while employed at a company with 20 or more employees and contributing to an HSA. you have not filed for Social Security or Railroad Retirement benefits — so Medicare enrollment is not automatic. you are deciding whether to enroll in Medicare Part A, Part B, or both. Part A can be retroactive up to 6 months, which can affect prior HSA contributions. you need to stop both your own and your employer's payroll HSA contributions before Medicare enrollment.
This may apply if you are turning 65 and want to keep contributing to your HSA as long as possible. This may apply if you want to understand when to stop both employee and employer HSA contributions before Medicare. This may apply if you are considering delaying Part B but are unsure whether that also affects your HSA eligibility. This may apply if you want to know what to do if excess HSA contributions have already been made.
Use the Medicare Intake tool to check your specific enrollment timing and see whether this situation may affect your Medicare coverage or create a penalty risk.