Working past 65: HSA + Medicare

HSAs and Medicare: The 6-Month Part A Lookback Rule (2026)

If you're still working past 65 with a Health Savings Account (HSA) and a high-deductible health plan (HDHP), enrolling in any part of Medicare — including the free Part A — disqualifies you from making further HSA contributions. Worse, Medicare Part A enrollment is retroactive up to 6 months when you enroll after age 65, which means contributions you made during that 6-month lookback can become excess and trigger IRS penalties. The 2026 HSA contribution limits are $4,400 for self-only coverage, $8,750 for family, plus a $1,000 catch-up for those 55+. If you're contributing to an HSA, do not enroll in Medicare — stop applying for Social Security too, since collecting Social Security automatically enrolls you in Part A.

Why HSAs and Medicare don't mix

A Health Savings Account is a tax-advantaged account you can fund only if you're enrolled in a qualifying high-deductible health plan (HDHP) and have no other "disqualifying coverage." Medicare counts as disqualifying coverage. The moment you enroll in any part of Medicare — A, B, C, or D — you can no longer contribute to an HSA.

Three things make this trickier than it sounds:

  1. Part A is normally free for anyone with 40 quarters of Medicare-covered work history, so most people enroll automatically at 65 without realizing the HSA consequences.
  2. Collecting Social Security automatically enrolls you in Part A, even if you didn't intend to take Medicare yet. You can't have Social Security without Part A after 65.
  3. Part A enrollment is retroactive when you enroll late, going back up to 6 months — so contributions you made during that lookback period can become excess contributions subject to IRS penalty.

The strategic implication: if you're still working with an HSA-eligible HDHP past 65 and you want to keep contributing, you must delay both Medicare and Social Security. Once you stop HSA contributions, you can enroll in Medicare and Social Security at any time.

The 6-month Part A lookback explained

Here's where many Ohioans get tripped up. If you enroll in Medicare Part A after your 65th birthday, your effective Part A start date is backdated up to 6 months prior, but never earlier than your 65th birthday month. This is a Social Security Administration rule designed to prevent people from gaming retroactive Medicare eligibility.

An example: you turn 65 in March 2026. You keep working, keep your HDHP, keep contributing to your HSA. In October 2026, you decide to retire and apply for Medicare. The SSA backdates your Part A to April 2026 (6 months retroactive, but not earlier than your 65th birthday month, which was March).

The problem: any HSA contributions you made from April 2026 through October 2026 — six months of contributions — are now excess contributions, because you were technically "enrolled in Medicare" during those months even though you didn't realize it. Excess contributions are subject to a 6% excise tax per year until withdrawn, plus the contributions and earnings on them lose their tax-advantaged status.

The conservative fix

Stop HSA contributions at least 6 months before the month you plan to enroll in Medicare or Social Security. This eliminates any lookback problem. If you plan to retire and enroll in Medicare in October 2026, stop HSA contributions by April 2026 to be safe. Your employer's payroll provider can help adjust contribution amounts mid-year.

Social Security enrollment triggers Part A

Once you're past 65, applying for Social Security retirement benefits — or collecting them at any time after 65 — automatically enrolls you in Medicare Part A. This is by federal law and you can't opt out (except by refusing Part A entirely, which has separate consequences).

If you've already started Social Security and you're now realizing the HSA conflict:

  • You cannot keep contributing to an HSA as long as you have Part A.
  • To stop Part A, you'd have to formally withdraw your Social Security claim (Form SSA-521) and repay all benefits received. This is rarely worth it just to preserve HSA contributions.
  • The practical answer: stop HSA contributions and switch to making contributions through your spouse's HSA if applicable, or simply build wealth in other tax-advantaged accounts (401(k), IRA, etc.).

2026 HSA contribution limits

For tax year 2026, the IRS-set HSA contribution limits are:

Coverage type2026 contribution limitCatch-up (55+)Total 55+
Self-only HDHP$4,400$1,000$5,400
Family HDHP$8,750$1,000$9,750

The catch-up contribution is per HSA-eligible individual. If both you and your spouse are 55+ and have family HDHP coverage, you each need your own HSA to claim catch-ups — you can't both put catch-up dollars in one shared HSA.

If you've already over-contributed

If you've discovered the conflict after the fact — you enrolled in Medicare and made HSA contributions in the same year, or the 6-month lookback caught you — here's the corrective process:

  1. Stop further contributions immediately.
  2. Withdraw the excess (and any earnings on it) before the tax filing deadline for that year, including extensions. Your HSA custodian has a form for this — typically called a "withdrawal of excess contribution."
  3. The excess and earnings are taxable income in the year withdrawn, but you avoid the 6% excise tax.
  4. If you miss the tax filing deadline, the 6% excise tax applies each year the excess remains in the account.

Talk to a tax advisor familiar with HSA rules before filing — the corrective process has tight deadlines and the paperwork must reference IRS Code Section 223(f)(3).

Still working past 65 with an HSA-eligible HDHP in Ohio?A licensed Ohio Medicare agent who works with people delaying Medicare can help you time your Medicare and Social Security enrollment to maximize HSA contributions while avoiding the lookback penalty. No cost to you.
Find a Medicare Agent in Ohio

When to actually enroll in Medicare

If you're contributing to an HSA and want to maximize tax-advantaged savings, the sequence usually looks like:

  1. Continue HSA contributions until you decide to stop working or lose your HDHP eligibility.
  2. Stop HSA contributions 6+ months before your planned Medicare enrollment date.
  3. Enroll in Medicare through your 8-month Special Enrollment Period after employer coverage ends, OR during the Annual General Enrollment Period (Jan 1 – Mar 31).
  4. Apply for Social Security on a timeline that maximizes your benefit (delayed retirement credits boost monthly benefit up to age 70).

HSA funds you've already contributed remain yours — you can use them tax-free for qualified medical expenses (including Medicare Part B and D premiums, Medicare Advantage premiums, prescriptions, and most medical care) for the rest of your life. The HSA never expires; you just can't contribute to it once enrolled in Medicare.

Ohio employer HSAs and federal HSAs (Wright-Patt FEHB)

Common Ohio scenarios where the HSA-Medicare conflict matters:

  • Large private employers — Procter & Gamble, Kroger, Cleveland Clinic, Nationwide, JPMorgan Chase, AEP, FirstEnergy, and Marathon Petroleum all offer HDHP+HSA options. Many Ohio employees age into Medicare while still using these plans.
  • Federal civilians with FEHB HDHP plans — several FEHB plans (GEHA HDHP, Blue Cross Blue Shield Basic HDHP, MHBP HDHP) are HSA-compatible. Wright-Patterson AFB civilians, NASA Glenn researchers, and DSCC Columbus employees who chose an FEHB HDHP need to plan around the Medicare-HSA conflict if they intend to keep contributing past 65.
  • Self-employed and small-business owners who buy individual HSA-eligible HDHPs on the ACA Marketplace face the same conflict at 65.

Federal employees should be aware: enrolling in FEHB after 65 doesn't trigger the HSA conflict — FEHB is not Medicare. It's only Medicare enrollment that ends HSA contributions. You can carry FEHB and an HSA past 65 as long as you don't enroll in any part of Medicare.