Serving Ohio's 2.5 million+ Medicare beneficiaries across all 88 counties
Working Past 65 · Spoke 1 of 6

HSA contributions and Medicare: the 6-month lookback trap

If you contribute to a Health Savings Account and plan to enroll in Medicare, the IRS rules can quietly cost you thousands in penalties. Here's exactly how the rule works and how Ohioans should plan around it.

The rule, in one sentence

You cannot contribute to a Health Savings Account in any month you're enrolled in any part of Medicare — including premium-free Part A.

Why this matters at 65

HSAs are paired with high-deductible health plans (HDHPs). They're one of the most tax-favored savings vehicles in U.S. law — contributions are deductible, growth is tax-free, and withdrawals for qualified medical expenses are tax-free. Many high-earning Ohioans aggressively fund HSAs in their 50s and early 60s. When they turn 65 and Medicare eligibility kicks in, that funding strategy collides with Medicare enrollment rules.

The 6-month lookback that surprises people

When you do eventually enroll in Medicare Part A, Social Security back-dates your effective coverage date by up to 6 months (but never earlier than your 65th birthday month). This back-dating creates retroactive Medicare enrollment — meaning any HSA contributions made during those 6 retroactive months are no longer eligible. Excess contributions become subject to a 6% IRS excise tax until removed.

Most working Ohioans at 65 don't know this rule exists until they hit it. By then it's expensive to unwind.

The three scenarios

Scenario A: You enroll in Part A right at 65

No back-dating — Medicare starts the first of your birthday month. Stop HSA contributions by end of the prior month and you're clean. Most straightforward path. You lose HSA contribution capacity but gain Medicare coverage.

Scenario B: You delay Medicare while working past 65 with employer coverage

Most common for high-earning Ohioans. You're working at a 20+ employee company with a creditable employer plan, so you delay Part B. To preserve HSA contributions, you also need to actively decline Part A. Social Security won't auto-enroll you in Part A unless you've claimed Social Security retirement benefits — so if you've delayed Social Security too, you're fine. If you've already claimed Social Security, Part A enrollment is automatic and you can't decline it without giving up Social Security and repaying all benefits received.

Scenario C: You retire at 67 (or later) after years of HSA contributions

This is where the 6-month lookback bites. When you finally enroll in Part A, it back-dates to 6 months ago. Any HSA contributions in those 6 months become excess. The standard workaround: stop HSA contributions 6 months before you intend to enroll in Medicare. If you plan to retire at the end of June, stop HSA contributions by end of December the prior year.

What you can still do with an HSA after Medicare enrollment

  • Spend the existing balance on qualified medical expenses — including Medicare Part B, Part C, and Part D premiums (Medigap premiums are NOT qualified). The tax-free withdrawal benefit stays in place.
  • Spend on long-term care insurance premiums, up to age-based limits.
  • Spend on COBRA premiums, if applicable.
  • Pass the balance to your spouse as their HSA (if they're also enrolled in an HDHP) without tax consequence.

If you've already made the mistake

If you contributed to an HSA during a month you were enrolled in Medicare, you have until the tax filing deadline (with extensions) to withdraw the excess contributions plus any earnings on them, avoiding the 6% excise tax. Talk to a tax professional — the paperwork has to be done correctly.

Ohio context

Federal employees, hospital system employees, and a growing number of private Ohio employers offer HDHPs paired with HSAs. The rules above are federal, not state-specific — but Ohio's older-than-average workforce (relative to other states) means more Ohioans hit these decisions at 65 than in faster-aging states.

What to do

  1. Decide whether you're delaying Medicare (and Social Security with it) past 65, or enrolling at 65.
  2. If enrolling at 65: stop HSA contributions by end of the month before your birthday month.
  3. If delaying: stop HSA contributions 6 months before you plan to enroll in Medicare.
  4. Make sure your employer's payroll system stops payroll-deducted HSA contributions on the right date.
  5. If unsure: talk to a licensed Ohio Medicare agent, OSHIIP counselor, or your tax professional before making changes.

Related Working Past 65 guides

Next Step

Talk to someone who does this every day.

An independent Ohio Medicare agent can walk you through your options, compare carriers across the counties you care about, and handle the enrollment paperwork — free of charge, paid by the carriers, not by you.