Skip to main content
Working past 65

HSAs and Medicare: the six-month trap, defused

HSA contributions and Medicare can't coexist: any part of Medicare — even premium-free Part A — ends your eligibility to contribute. Worse, Part A enrollment after 65 is backdated up to six months, so contributions must stop six months before you enroll, and the final year's limit prorates by eligible months.

The rule, and the backdating trap inside it

An HSA requires being covered only by a high-deductible health plan — and Medicare, all of it, breaks that condition. Enrolling in Part A (which most people take at 65 because it's free) ends contribution eligibility. The trap is the calendar: sign up for Part A after 65 and coverage is backdated up to six months (never earlier than your 65th-birthday month). Contribute during those backdated months and you've made excess contributions — taxable, penalized, and a genuine paperwork headache to unwind via amended returns.

The working veteran's sequence

Working past 65 on a 20+-employee HDHP and want to keep funding the HSA? Delay all of Medicare — A and B both — and don't file for Social Security (benefits trigger automatic Part A). Then, six months before your planned Medicare start, stop contributions. The same backdating math applies whether the trigger is retirement or simply deciding the HSA years are done.

The 2026 numbers and the proration math

$4,400
2026 HSA limit, self-only coverage
Source: IRS
$8,750
2026 HSA limit, family coverage
Source: IRS
$1,000
Catch-up addition at 55+
Source: IRS

Your final contribution year prorates by months of eligibility: eligible January through June (Medicare effective July 1, backdating accounted for) means 6/12 of the annual limit — for self-only with catch-up, 6/12 × ($4,400 + $1,000) = $2,700. Over-contributions can be withdrawn with earnings before the tax deadline to avoid the excise tax; this is squarely a confirm-with-your-tax-professional calculation.

HSA final-year contribution calculator

Final-year maximum:
Eligible months
Annual limit being prorated (incl. catch-up)
Per eligible month

The catch-up prorates by the same twelfths. Contributions during backdated Part A months are excess — withdrawable with earnings before the tax deadline. Eligibility also requires HDHP-only coverage all of each counted month; recent non-preventive VA care for a non-service-connected condition pauses eligibility for three months. Confirm the final number with your tax professional.

Estimates for educational purposes only — not a quote, plan recommendation, or guarantee of benefits or costs. This website is not connected with or endorsed by the U.S. government or the federal Medicare program. For information on all of your options, contact Medicare.gov, 1-800-MEDICARE (TTY 1-877-486-2048), or your local State Health Insurance Assistance Program (SHIP).

Two veteran-specific wrinkles worth knowing

  • VA care use can pause HSA eligibility on its own. Receiving VA medical benefits generally makes you HSA-ineligible for the following three months — except when the care is for a service-connected disability, preventive care, or dental/vision. Veterans with disability ratings using the VA for rated conditions keep contributing; a non-service-connected hospital course at the VA pauses the clock. (CHAMPVA coverage in the household raises the same only-HDHP question for the covered family member.)
  • Spending is forever even when contributing isn't. Once on Medicare, the HSA keeps working as a spending account: tax-free for Part B premiums (including IRMAA), Part D and MA premiums, deductibles, copays — and VA copays, which are qualified medical expenses. A fat HSA is arguably the best Medicare-premium-payment vehicle a working veteran can build.

The HSA wind-down has three moving dates — last contribution, Part A effective, Social Security filing. Getting them sequenced is a one-conversation job for an agent working alongside your tax preparer.

Get Free Agent Help

Or compare plans yourself at PlanMatch.com, or contact Medicare.gov / 1-800-MEDICARE.

Frequently asked questions

Can I contribute to an HSA if I only have Part A?
No — any part of Medicare ends contribution eligibility. Part A's $0 premium doesn't change that, which is the whole reason HSA contributors sometimes delay it.
Why six months before enrollment?
Because Part A coverage filed for after 65 is backdated up to six months. Contributions during backdated coverage months count as excess — stopping six months early keeps the record clean.
Does using VA Healthcare affect my HSA?
Receiving non-preventive VA care for a non-service-connected condition makes you ineligible to contribute for the next three months. Service-connected, preventive, dental, and vision care don't trigger the pause.
Can I pay VA copays from my HSA?
Yes — VA medical copays are qualified medical expenses, as are Medicare Part B, D, and MA premiums once you're enrolled. Medigap premiums are the notable exclusion.
I'm 67, still working, never enrolled in Medicare. Did I make a mistake?
Not if your employer has 20+ employees and the coverage is creditable — that's the legitimate full-delay path HSA savers use. Calendar the six-month contribution stop before whatever date Medicare will begin.

You earned these benefits. Make them work together.

Whether you keep exactly what you have or add Medicare coverage alongside it, the right answer depends on your health, budget, and how you like to get care.

Find a Medicare AgentCompare Plan Options

No cost, no obligation. You can also get help from Medicare.gov, 1-800-MEDICARE (TTY 1-877-486-2048), or your local SHIP office.