What Should You Do With an HSA Before Enrolling in Medicare?

Ross Marino |

A person may work past 65, delay Medicare, and keep contributing to a health savings account through payroll. As retirement timing comes into view, the Medicare effective month becomes an important planning date. Premium-free Medicare Part A may begin before the date the application is submitted.

Before enrolling, identify the first month Medicare will cover you. Stop recurring employee and employer HSA deposits before that month, then calculate the annual limit using the earlier eligible months. A contribution for the applicable tax year may still be deposited by the tax-filing deadline when the total remains within that annual limit.[1] The account remains available after Medicare begins.

Why may Part A begin before the application date?

HSA eligibility and Medicare coverage are determined month by month. Beginning with the first month of Medicare enrollment, no additional HSA contribution eligibility accrues. Employee contributions count toward the annual limit. Employer deposits and other contributions made on the person’s behalf count too.[1]

A contribution for the applicable tax year may still be deposited by the tax-filing deadline when the total stays within the annual limit calculated from the earlier eligible months. The Medicare coverage month determines how many months enter that annual limit.

For someone who signs up for premium-free Part A after 65, coverage can begin six months before the sign-up or Social Security application date. Coverage cannot begin before the first month of Medicare eligibility.[2] A contribution that appeared timely when deposited can therefore become excess after the effective date is established.

What Changes at the Part A Effective Month?

The application date may come later than the coverage date.

Before Part A begins

Confirm the effective month

Mark the last eligible HSA month

Stop employee and employer deposits

Part A effective month

After Part A begins

No HSA eligibility accrues for Medicare-covered months.

Reconcile the year-to-date total

Keep and use the existing HSA

How do you identify the final contribution month?

Start with the expected Part A effective month rather than the date on the application. Fidelity advises people contributing after 65 to stop HSA contributions up to six months before starting Part A or Social Security retirement benefits when the retroactive rule may apply.[3] The actual effective date still controls the calculation.

Mark the last HSA-eligible month. Give payroll enough time to stop employee deductions and employer contributions. After the last deposit posts, compare the final payroll record with the HSA transaction history. A spouse’s Medicare enrollment does not end the other spouse’s eligibility when that person otherwise remains HSA-eligible, so maintain separate records for each person.

HealthEquity confirms that a spouse who remains covered by an HSA-qualified high-deductible health plan may continue contributing after the other spouse enrolls in Medicare.[4] Account ownership and individual eligibility should remain distinct on the retirement timeline.

Dovetail Principle: The Effective Month Controls Monthly Eligibility

The Medicare effective month determines which months can support HSA contributions. Build recurring payroll stops around that month, then reconcile earlier eligible months separately. The existing account remains available for its next job.

What if contributions overlap Medicare coverage?

Pause new deposits and total every contribution made for ineligible months. Review both employee and employer amounts. Spending the HSA balance does not correct an excess contribution. The correction has its own custodian and tax-reporting process.

Excess contributions may be subject to a 6% excise tax when they remain in the account. A timely distribution of the excess and related earnings may prevent that tax when the applicable requirements are met.[5] Ask the HSA custodian for its correction procedure and have a tax professional confirm the reporting.

Reconcile the full year instead of reviewing only the last deposit. A shorter eligibility period can reduce the annual contribution limit. Payroll may stop future deposits correctly while the account still contains an excess amount from earlier months. Keep the Medicare effective-date notice with the final contribution record and any correction confirmation.

How can the HSA support healthcare after Medicare begins?

The existing HSA remains available. Qualified medical expenses may still be reimbursed tax-free. After age 65, HSA funds can pay certain Medicare premiums. Medigap premiums remain outside the qualified HSA-premium rules.[6] Nonmedical withdrawals after age 65 generally avoid the additional 20% tax and remain subject to income tax.

Keep receipts showing who incurred each expense, when it occurred, and that another source did not reimburse it. HSA reimbursement may occur later for a qualified expense incurred after the account was established when adequate records are retained.[6]

The account can be coordinated with broader retirement planning. Some households may reserve HSA cash for near-term costs and invest another portion for later care. Others may use the account regularly. The choice depends on expected healthcare spending and available reserves. The HSA investment menu and the account’s intended cash-flow role matter too.

Related Reading: When Can You Delay Medicare Part B Without a Penalty?

About the author

Ross Marino, CFP®, CeFT®, is the Founder & CEO of Dovetail Financial and creator of Human-First Financial Guidance®. He helps people nearing or living in retirement connect their lives and wealth so that financial decisions become clearer, more personal, and easier to navigate.

Notes

  1. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans, Internal Revenue Service.
  2. When does Medicare coverage start?, Medicare.
  3. HSAs and Medicare: Diagnose the possible pitfalls, Fidelity Viewpoints, July 10, 2026.
  4. HSA — Medicare, HealthEquity, updated July 26, 2022.
  5. HSAs and Medicare: Diagnose the possible pitfalls, Fidelity Viewpoints, July 10, 2026.
  6. How Your HSA Can Reimburse You for Medicare Premiums and Expenses, Kiplinger.

Disclosure

This content is provided by Dovetail Financial Group LLC (“Dovetail Financial”) for informational and educational purposes only. It is not intended as, and should not be construed as, individualized investment, tax, legal, or accounting advice; a recommendation to buy or sell any security; or a recommendation to adopt any investment strategy. Because each person’s situation is unique, readers should consult their own financial, tax, and legal professionals before taking action based on this content. Information contained herein is believed to be reliable, but its accuracy or completeness is not guaranteed. Any opinions expressed are current as of the date of publication and are subject to change without notice. All investing involves risk, including the possible loss of principal. Asset allocation and diversification do not guarantee profits or protect against losses in declining markets. Past performance is not a guarantee of future results. Dovetail Financial Group LLC is a registered investment adviser. Registration does not imply a certain level of skill or training. Additional information about Dovetail Financial Group LLC, including Form ADV Part 2A and Form CRS, is available at adviserinfo.sec.gov. © 2026 Dovetail Financial Group LLC. All rights reserved.