Medicare and Your HSA (2026–2027): When to Stop Contributions
Bottom Line
HSA contributions must stop for months you're enrolled in Medicare, including employer contributions. If Part A will be retroactive, stop contributions for those covered months; existing HSA funds remain available for qualified medical expenses.
Stop HSA contributions for every month you are enrolled in Medicare, including retroactive coverage. If you apply for premium-free Part A after 65, coverage can be backdated up to six months, but not before your first month of eligibility. That is why people delaying Medicare may need to stop contributions six months before applying for Medicare or Social Security. Someone enrolling at 65 does not automatically need a six-month pause beforehand. Confirm the effective date before calculating your final eligible contribution amount; excess contributions can face a 6% annual excise tax if not corrected.
Keep the HSA deadline separate from other insurance purchases. If a business lender requires life insurance for an SBA loan, review that requirement independently; it does not change Medicare enrollment or HSA eligibility.
Why Medicare Enrollment Ends HSA Eligibility
To contribute to an HSA, you must meet the IRS eligibility requirements: qualifying high deductible health plan coverage, no disqualifying other coverage, no Medicare enrollment, and no eligibility to be claimed as another taxpayer’s dependent. The Medicare restriction applies to contributions from you, your employer, and anyone else on your behalf.
What trips people up is that Medicare enrollment is not always something you actively choose on a specific date. If you are already receiving Social Security benefits when you turn 65, you are automatically enrolled in both Part A and Part B starting the first day of the month you turn 65 (or the month before, if your birthday falls on the first). If you apply for Social Security later, your premium-free Part A can be made retroactive for up to six months when you apply. Either way, Medicare entitlement can begin before you realize it, and any HSA contribution covering a month of Medicare enrollment is not allowed.
The Six-Month Rule Explained
For someone delaying Medicare past 65, Part A can start retroactively when they later apply. A six-month contribution pause before applying can prevent excess contributions for those backdated months. The lookback does not extend before Medicare eligibility, so confirm your actual start month instead of subtracting six months from every enrollment date.
A hypothetical example: Maria applies for Social Security in January 2027 and her premium-free Part A starts retroactively in July 2026. Her 2026 HSA contribution limit must exclude July and later months. Calculate the permitted amount using January–June eligibility and account for employer contributions; a tax adviser can check whether any excess needs correction.
The Last-Month Rule and Pro-Rated Contributions
In your first Medicare year, your HSA contribution limit is generally prorated for the months you remained eligible. The last-month rule can allow a full-year limit when you qualify on December 1, but it comes with a testing period through the end of the following year. Losing eligibility during that period, including through Medicare enrollment, generally requires including the amount attributable to that rule in income and paying a 10% additional tax, unless an exception applies. This is distinct from the 6% excise tax on excess contributions. Have a tax adviser check both rules before your final contribution year.
Enrolling in Medicare While Still Working: What to Check First
If you have an HSA, you likely have a high deductible health plan, possibly through an employer — and if you or your spouse is still working with group health plan coverage based on current employment, you can generally delay Part B without a late enrollment penalty under the Special Enrollment Period. Note the limits, though: COBRA and retiree coverage do not count as current-employer coverage for this purpose. Making Medicare decisions before relying on COBRA matters, because taking COBRA after a job ends does not extend your eight-month window to sign up for Part B, and COBRA usually ends once you enroll in Medicare.
For readers who are weighing Medicare against coverage through work, compare the total picture before assuming Medicare should replace the employer plan. Look at the employer plan’s premium, deductible, and network versus Medicare Part B premiums plus any supplement, and ask your benefits administrator two things: whether you must enroll in Part A while still working, and whether your drug coverage is creditable.
Self-employed readers should verify whether their coverage is a qualifying employer group plan based on current employment; an individual or Marketplace policy alone generally does not protect a Part B delay. Medicare planning for self-employed couples also means separating each spouse’s coverage and HSA eligibility. One spouse’s Medicare enrollment does not end the other spouse’s eligibility if that person still meets the HSA rules, and each eligible spouse needs a separate HSA.
Timing the Handoff Without a Coverage Gap
When your employer coverage is ending, Medicare.gov advises checking when current coverage ends and signing up for Medicare about a month earlier to avoid a gap. Coordination is the heart of coordinating Medicare with the end of job-based coverage: confirm your last day of employer coverage, ask whether it ends the last day of the month or sooner, file your enrollment with enough lead time, and keep the employer documentation (the CMS-L564 form or pay stubs, W-2s showing premium deductions, or insurance cards) that Social Security may request to establish your Special Enrollment Period. If you have a health FSA, ask the administrator about contribution, reimbursement and spending deadlines. Medicare’s prohibition on new HSA contributions does not create the same blanket prohibition for a health FSA.
What to Do With the Money Already in Your HSA
Your existing HSA balance remains yours after Medicare enrollment. You can continue tax-free withdrawals for qualified unreimbursed medical expenses. Once you are 65, eligible premiums include Medicare Part B and Part D, but not Medigap premiums. Keep receipts and avoid reimbursing an expense another plan already paid.
A Simple Timeline to Follow
- 12 months before your target Medicare date: confirm with HR whether your employer plan requires Part A at 65, and whether you plan to delay Part B.
- 3 months before your 65th birthday month: your seven-month Initial Enrollment Period begins if you are enrolling at 65.
- 6 months before applying after 65: check whether retroactive Part A requires an HSA contribution pause; confirm the earliest possible effective date.
- At enrollment: document everything, confirm your effective dates, and tell your HSA custodian to flag your account for Medicare enrollment.
This decision is one piece of a bigger puzzle. If you are mapping out how to plan Medicare around work and retirement, the enrollment-date choice affects not just your HSA but your penalties, your employer plan coordination, and your prescription coverage — so build the whole timeline before you file anything.
The Bottom Line
Once Medicare coverage begins, your HSA contribution limit is zero for those months. Work backward from the actual effective date, account for any retroactive Part A coverage, and prorate the final year’s limit with your tax adviser. Existing funds remain available for qualified medical expenses; Medicare premiums have an additional age-65 requirement.