HSA and Medicare Guide

Can I Contribute to an HSA After 65?

Turning 65 does not automatically end HSA eligibility. Enrolling in Medicare does. The timing becomes especially important when Medicare Part A may begin retroactively.

This guide explains how Medicare enrollment, Social Security, employer contributions, spouse coverage, and the six-month Part A lookback may affect HSA contributions.

Mike Surrano, local Medicare insurance agent
Mike Surrano Your local insurance coach

The quick answer

Medicare Stops New HSA Contributions—not Your Existing Account

You may generally keep and spend money already in your HSA after Medicare begins. However, your HSA contribution limit is generally zero for any month you are enrolled in Medicare.

Turning 65 alone is not the cutoff You may remain HSA-eligible after 65 if you are not enrolled in Medicare and otherwise meet IRS requirements.
Part A counts as Medicare Even premium-free Part A generally makes you ineligible to make or receive new HSA contributions.
Your existing HSA stays yours Medicare enrollment does not require you to close the account or spend the balance immediately.

Which rule applies?

Common HSA and Medicare Situations

HSA eligibility depends on more than age. Medicare enrollment, your health plan, other coverage, and dependent status all matter.

May still contribute

Over 65, Still Working, and Not Enrolled in Medicare

You may still be eligible to contribute if you remain covered by an HSA-qualified high-deductible health plan and meet the other IRS eligibility rules.

Stop contributions

Enrolled in Medicare Part A or Part B

Your HSA contribution limit is generally zero beginning with the first month your Medicare coverage is effective. This includes employer contributions.

Review carefully

Receiving Social Security After 65

Applying for Social Security may also trigger premium-free Medicare Part A. Verify the Medicare effective date before continuing HSA contributions.

May still contribute

Your Spouse Has Medicare, but You Do Not

Your spouse’s Medicare enrollment does not automatically disqualify you. You may remain eligible if you have qualifying coverage and meet the remaining HSA rules.

Stop contributions

Only Part A Is Active

Part A enrollment alone is enough to end eligibility for new HSA contributions, even when you delayed Part B and kept employer coverage.

Review carefully

Your Employer Adds Money to the HSA

Employer deposits count as HSA contributions. Payroll and employer contributions should stop for months when you are no longer HSA-eligible.

The six-month issue

Medicare Part A May Begin Retroactively

When someone enrolls in premium-free Part A after age 65, Part A may begin up to six months before the application date—but not earlier than the first month the person was eligible for Medicare.

Why this matters

If HSA contributions continued during months later covered retroactively by Part A, those deposits may become excess contributions. Medicare and Social Security guidance advises people applying after 65 to stop HSA contributions at least six months before applying for Medicare.

1

Choose Your Medicare Application Date

Coordinate the date with your retirement, employer coverage, Social Security, and prescription coverage.

2

Count Back Six Months

Use the potential Part A retroactive period when planning the last month for HSA contributions.

3

Stop All Contributions

Include your own payroll deductions, employer deposits, and contributions made by anyone else on your behalf.

4

Confirm the Actual Effective Date

After enrollment, verify your Part A date and discuss any overlapping contributions with your tax professional or HSA custodian.

Your existing HSA

What Can HSA Money Pay for After Medicare Begins?

You can continue using an existing HSA for eligible expenses. The contribution restriction does not take away the balance already in the account.

Common Qualified Uses

  • Medicare deductibles, copays, and coinsurance
  • Qualified medical, dental, vision, hearing, and prescription expenses
  • Certain Medicare and other health coverage premiums after age 65
  • Qualified long-term care insurance premiums, subject to IRS limits
  • COBRA premiums when applicable

Important Premium Exception

HSA funds generally cannot be used tax-free to pay premiums for a Medicare Supplement policy, also called Medigap.

You should also keep records showing that HSA withdrawals were used for qualified medical expenses and were not reimbursed elsewhere.

Avoid these problems

Common HSA Mistakes Around Medicare

Assuming Age 65 Automatically Ends Contributions

The key event is Medicare enrollment, not the birthday itself.

Keeping Part A While Funding the HSA

Part A is Medicare coverage, even when it has no monthly premium.

Forgetting Employer Deposits

Employer contributions can also create an excess contribution problem.

Stopping Only One Month Early

Late Part A enrollment may create a retroactive coverage period of up to six months.

Starting Social Security Without Reviewing the HSA

Social Security enrollment after 65 may be connected to retroactive Part A enrollment.

Confusing an HSA With an FSA, HRA, or Medicare MSA

These accounts follow different rules. Confirm which account you actually have.

Married couples

One Spouse Can Have Medicare While the Other Remains HSA-Eligible

HSA eligibility is determined separately for each spouse. The spouse who is not enrolled in Medicare may still qualify to contribute, depending on that spouse’s coverage and other IRS requirements.

The Medicare-Enrolled Spouse

Cannot make or receive new HSA contributions for Medicare-covered months, but may continue using an existing HSA balance for qualified expenses.

The Non-Medicare Spouse

May remain eligible to contribute to an HSA if covered by an HSA-qualified plan and otherwise eligible. HSAs are individually owned rather than joint accounts.

Frequently asked questions

HSA and Medicare FAQs

Can I keep my HSA after enrolling in Medicare?

Yes. Medicare enrollment does not close your HSA or take away the existing balance. You may continue using the account for qualified medical expenses.

Can I contribute if I have only Medicare Part A?

Generally, no. Enrollment in Part A is Medicare coverage and usually makes your HSA contribution limit zero beginning with the month Part A becomes effective.

Can my employer keep contributing after Medicare starts?

Employer deposits are HSA contributions too. They should generally stop for months when you are enrolled in Medicare and no longer HSA-eligible.

Do I have to stop contributing exactly six months before age 65?

No. The six-month concern generally applies when someone enrolls in premium-free Part A after age 65 and Part A is applied retroactively. The correct date depends on when you apply and when Medicare can begin.

Can I use my HSA to pay my Medicare Supplement premium?

Generally, no. IRS guidance excludes Medicare Supplement or Medigap premiums from the Medicare premiums that may be paid tax-free from an HSA.

What should I do if I contributed during retroactive Part A months?

Confirm your Medicare effective date and contact your tax professional or HSA custodian promptly. Correcting an excess contribution is a tax matter and depends on the dates and amounts involved.

Mike Surrano

About the author

Mike Surrano

Mike is an independent insurance agent with 14 years of insurance-industry experience. He helps people in Celina, Prosper, Frisco, McKinney, and surrounding North Texas communities understand Medicare enrollment timing and coverage choices.

Last reviewed: August 2026

Review the timing before enrolling

Still Contributing to an HSA After 65?

Review your Medicare, Social Security, employer coverage, and retirement dates before submitting an enrollment application.

This page provides general educational information and is not tax or legal advice. HSA eligibility and contribution limits depend on individual facts. Consult a qualified tax professional regarding your personal HSA contributions, excess contributions, and tax reporting.

We do not offer every plan available in your area. Currently, we represent a limited number of organizations that offer a limited number of products in your area. Please contact Medicare.gov, 1-800-MEDICARE, or your local State Health Insurance Assistance Program to get information on all of your options.

Not connected with or endorsed by the U.S. government or the federal Medicare program.