Medicare + HSA coordination

Still Contributing to an HSA Near 65? Medicare Timing Deserves Extra Attention

Medicare enrollment can affect HSA contribution eligibility, and delayed Medicare enrollment can create a retroactive Part A issue that should be understood before contributions continue too close to enrollment.

Quick answer: You cannot contribute to an HSA for any month you are enrolled in any part of Medicare, including premium-free Part A alone. If you sign up for Medicare or Social Security after 65, Part A is usually backdated up to 6 months. That is why Medicare.gov advises stopping HSA contributions 6 months before you apply. Money already in your HSA remains yours and can still pay qualified medical expenses, including many Medicare premiums.

Two different questions: contributing versus using

Medicare affects only your ability to contribute new money. It does not affect money already in the account. After you enroll, you can still withdraw HSA funds tax-free for qualified medical expenses. That includes Medicare Part B and Part D premiums, Medicare Advantage premiums and deductibles, copays and coinsurance. Medigap (Medicare Supplement) premiums are not qualified expenses. After 65, withdrawals for non-medical purposes are taxed as income but are no longer subject to the 20% additional tax.

2026 HSA contribution limits

2026 HSA and high-deductible health plan (HDHP) figures (IRS Rev. Proc. 2025-19)
ItemSelf-only coverageFamily coverage
HSA contribution limit$4,400$8,750
Catch-up contribution, age 55+$1,000$1,000 (per eligible spouse, in each spouse's own HSA)
HDHP minimum deductible$1,700$3,400
HDHP out-of-pocket maximum$8,500$17,000

The retroactive Part A rule

If you are 65 or older and sign up for premium-free Part A, coverage generally starts up to 6 months before the month you sign up, but not earlier than the month you turned 65. Applying for Social Security retirement benefits after 65 automatically enrolls you in Part A, with the same backdating. Any HSA contributions made for those retroactive months become excess contributions. Excess contributions not withdrawn in time are subject to a 6% excise tax for each year they remain in the account.

A worked timeline

Hypothetical Pat turned 65 in March 2025, kept working with HSA-eligible self-only coverage from a large employer, and delayed Medicare. Pat plans to retire at the end of 2026 and apply for Medicare Parts A and B in December 2026. The dates and amounts are invented for illustration.

Hypothetical HSA timeline for a December 2026 Medicare application
StepDate or amount
Medicare applicationDecember 2026
Part A can be backdated 6 months, toJune 2026
Last month that counts as HSA-eligibleMay 2026
2026 limit for an eligible person 55+ with self-only coverage$4,400 + $1,000 = $5,400
Prorated limit for 5 eligible months (5/12 × $5,400)$2,250
ActionStop payroll and employer HSA contributions once $2,250 is reached, and no later than May 2026

If Pat had kept contributing through December, the contributions for June through December would be excess. They would need to be withdrawn, with any earnings, by the tax-filing deadline to avoid the 6% excise tax. Employer contributions count toward the same limit.

Why delaying Medicare after 65 needs a plan

People who keep working past 65 with coverage from a current employer can often delay Part B without a penalty, and they may choose to delay premium-free Part A to keep making HSA contributions. That choice has three dates to coordinate:

  1. When employer coverage ends. That starts your 8-month Special Enrollment Period for Part B. COBRA does not extend it.
  2. When Medicare will begin, including any backdated Part A.
  3. When HSA contributions stop: 6 months before you apply, per Medicare.gov.

Ask your employer whether its plan requires you to enroll in Medicare at 65. With smaller employers (generally fewer than 20 employees), Medicare usually pays first, and delaying can leave gaps.

Married couples

  • Your enrollment in Medicare ends your HSA eligibility, not your spouse's. A younger spouse who is covered by a qualifying HDHP and has no Medicare can still contribute to their own HSA.
  • The $1,000 catch-up must go into each eligible spouse's own HSA. There are no joint HSAs.
  • Your HSA can pay qualified medical expenses for your spouse, even after you are on Medicare.

Common mistakes

  • Applying for Social Security after 65 without realizing it triggers backdated Part A.
  • Stopping your own payroll contributions but forgetting the employer's HSA contributions, which count toward the same limit.
  • Contributing the full-year limit in the year Medicare starts instead of a prorated amount.
  • Assuming Medigap premiums can be paid tax-free from the HSA.
  • Delaying Part B on coverage that does not qualify, such as COBRA or retiree coverage, and facing a late penalty.

Frequently asked questions

Can I contribute to an HSA after I enroll in Medicare?

No. You cannot contribute to an HSA for any month you are enrolled in Medicare, including Part A alone. You can still use existing HSA funds for qualified medical expenses.

Why does Medicare.gov say to stop HSA contributions 6 months early?

When you sign up for premium-free Part A after 65, or apply for Social Security, Part A is generally backdated up to 6 months, but not before the month you turned 65. Contributions made for those months would be excess contributions.

Can I use HSA money to pay Medicare premiums?

Generally yes for Part B, Part D and Medicare Advantage premiums. Medigap premiums are not a qualified HSA expense.

Can I delay Part A to keep contributing to my HSA?

If you are not receiving Social Security, you can choose to delay premium-free Part A. You cannot decline Part A while receiving Social Security retirement benefits. Confirm with your employer how its plan coordinates with Medicare before you delay.

What to do next

  1. Get the Medicare at 65 Checklist. It includes an HSA timing worksheet and an enrollment timeline by birth month.
  2. Tell HR and your HSA custodian your planned stop date in writing.
  3. Schedule a conversation to coordinate Medicare, HSA and retirement-date decisions.

Related reading: Medicare at 65 · Healthcare before Medicare

Sources

HSA and Medicare rules can create tax consequences. Confirm your enrollment dates and contribution limits with the appropriate professionals before starting or stopping contributions.

Medicare notice: We do not offer every plan available in your area. Currently we represent 6 organizations which offer 96 products in your area. Please contact Medicare.gov or 1-800-MEDICARE to get information on all of your options. (Organization and product counts supplied by Advocate Health Advisors for the applicable service area.) Strong Tower Advisors is not connected with or endorsed by the U.S. government or the federal Medicare program.

Next step

Make Medicare a timeline, not a last-minute enrollment task.

The Medicare at 65 Checklist organizes enrollment dates, coverage choices, prescriptions, providers, HSA timing and income-related considerations.

Get the Medicare Checklist
Content review

Prepared by Strong Tower Advisors for general retirement education. Rule-based content is linked to primary public sources where practical and is reviewed periodically because tax, retirement-plan, Social Security, healthcare and Medicare rules can change.

About Strong Tower Advisors · Editorial and sourcing standards · Last reviewed October 2026