MedicareFAQ
Coverage Q&A

Medicare and Health Savings Accounts (HSA)

Once you enroll in any part of Medicare, you can no longer contribute to a Health Savings Account. Understanding the timing rules can save you from tax penalties and unexpected costs.

Updated April 28, 20267 min read
David Haass

Written By

David Haass

Author

Ashlee Zareczny

Reviewed By

Ashlee Zareczny

Reviewer

Quick Answer

HSA Contributions: Not CoveredHSA Spending on Medicare Costs: CoveredPart A Retroactive Impact: Some Plans

You cannot contribute to a Health Savings Account (HSA) once you are enrolled in any part of Medicare, including Part A. However, you can continue to use existing HSA funds tax-free for qualified medical expenses, including Medicare premiums, copays, and deductibles. Because Part A enrollment can be retroactive up to 6 months, you should stop HSA contributions at least 6 months before enrolling in Medicare.

Coverage Comparison by Plan Type

Plan TypeCoverageNotes
HSA Contributions After MedicareNot allowedCannot contribute to an HSA once enrolled in any part of Medicare
Using HSA Funds for Medicare CostsAllowed tax-freeCan use existing HSA balance for premiums, copays, deductibles
HSA for Medigap PremiumsNot allowed tax-freeMedigap/Medicare Supplement premiums are NOT qualified HSA expenses
Part A Retroactive EnrollmentUp to 6 months backCan create excess contribution issues if HSA contributions weren't stopped in time

Understanding Your Coverage Options

Why Medicare Enrollment Ends HSA Contributions

No contributions once enrolled in any Medicare part
IRS Rule

The IRS requires that you be enrolled in a High Deductible Health Plan (HDHP) and have no other health coverage that is not an HDHP in order to contribute to an HSA. Medicare - including Part A alone - is not an HDHP, so enrolling in any part of Medicare disqualifies you from making HSA contributions.

This rule catches many people off guard, particularly those who planned to continue working past 65 and contributing to their HSA. Even if you only enroll in Part A (which is premium-free), you lose HSA contribution eligibility immediately.

What It Covers

  • Existing HSA funds remain yours - no expiration or forfeiture
  • You can continue to withdraw HSA funds for qualified medical expenses
  • HSA funds grow tax-free and withdrawals for medical expenses are tax-free

What It Doesn't Cover

  • New contributions to the HSA after Medicare enrollment
  • Employer HSA contributions after you enroll in Medicare
  • Catch-up contributions ($1,000 extra for 55+) after Medicare enrollment

If you contribute to an HSA after enrolling in Medicare, you'll face a 6% excise tax on the excess contributions for each year they remain in the account.

The Part a Retroactive Enrollment Trap

Part A can be retroactive up to 6 months
Critical Warning

When you apply for Medicare Part A, your coverage can be made retroactive up to 6 months from your application date (but not before the month you turned 65). This means if you apply for Part A in December, your coverage could be backdated to June - and any HSA contributions you made during those 6 months would become excess contributions subject to the 6% excise tax.

To avoid this trap, you should stop making HSA contributions at least 6 months before you plan to enroll in Medicare. If you're turning 65 and plan to enroll in Part A at that time, stop contributions 6 months before your 65th birthday.

What It Covers

  • Part A retroactive coverage provides hospital insurance from the backdated start date
  • You can request a specific Part A start date to limit retroactivity

What It Doesn't Cover

  • Protection from excess HSA contribution penalties during the retroactive period
  • Automatic adjustment of HSA contributions - you must manage this yourself

The 6% excise tax on excess contributions applies each year the excess remains in the account. Withdraw excess contributions promptly to minimize penalties.

6-Month Rule

Stop HSA contributions at least 6 months before you enroll in Medicare Part A. If you're applying for Social Security benefits at 65, Part A enrollment is automatic - plan accordingly.

Using HSA Funds with Medicare

Tax-free withdrawals for qualified Medicare expenses
Allowed

While you can't contribute to an HSA after enrolling in Medicare, your existing HSA balance remains available for tax-free withdrawals to cover qualified medical expenses. This includes many Medicare-related costs, making your HSA a valuable supplement to your Medicare coverage.

Think of your HSA as a tax-free medical savings account in retirement. The funds never expire, and qualified withdrawals remain tax-free regardless of your age or Medicare status.

What It Covers

  • Medicare Part A and Part B premiums
  • Medicare Part D prescription drug premiums
  • Medicare Advantage (Part C) premiums
  • Medicare copayments, coinsurance, and deductibles
  • Dental, vision, and hearing expenses
  • Long-term care insurance premiums (age-based limits apply)

What It Doesn't Cover

  • Medigap (Medicare Supplement) premiums - NOT a qualified HSA expense
  • Non-medical expenses (subject to income tax if withdrawn after 65, but no 20% penalty)

After age 65, HSA withdrawals for non-medical expenses are taxed as ordinary income but no longer subject to the 20% penalty that applies before 65.

HSA Contribution Limits and Medicare Impact (2026)

Item2026 AmountNotes
HSA Contribution Limit (Individual)$4,300Cannot contribute if enrolled in any part of Medicare
HSA Contribution Limit (Family)$8,550Cannot contribute if enrolled in any part of Medicare
Catch-Up Contribution (55+)$1,000Not available after Medicare enrollment
Excess Contribution Penalty6% excise tax/yearApplies to contributions made after Medicare enrollment
Part B Premium (payable from HSA)$185/monthQualified HSA expense - tax-free withdrawal

Common HSA and Medicare Mistakes to Avoid

Automatic Part a with Social Security

If you claim Social Security benefits at or after 65, you are automatically enrolled in Part A. This immediately ends your HSA contribution eligibility - even if you didn't intend to enroll in Medicare yet.

Employer HSA Contributions Continue

If your employer automatically contributes to your HSA, you must notify them to stop once you enroll in Medicare. Employer contributions count toward the excess contribution limit and trigger the same 6% penalty.

Paying Medigap Premiums from HSA

Unlike Medicare Part A, B, C, and D premiums, Medigap (Medicare Supplement) premiums are NOT considered qualified medical expenses by the IRS. Using HSA funds for Medigap premiums will result in the withdrawal being taxed as ordinary income.

Strategic Planning for HSA and Medicare

With proper planning, you can maximize your HSA's value both before and after Medicare enrollment. The key is understanding the timeline and making deliberate decisions about when to stop contributions and when to enroll.

HSA and Medicare Planning Checklist

  • Stop HSA contributions at least 6 months before your planned Medicare enrollment date
  • If claiming Social Security at 65, stop HSA contributions 6 months before your 65th birthday
  • Notify your employer to stop HSA contributions before Medicare enrollment
  • Keep your HSA open - you can continue using funds tax-free for qualified medical expenses
  • Use HSA funds for Medicare premiums (Part A, B, C, D) but NOT Medigap premiums
  • Consider maximizing HSA contributions in the years before Medicare to build a larger tax-free medical fund

Frequently Asked Questions

DH

David Haass

Author

David Haass is the Chief Technology Officer and Co-Founder of Elite Insurance Partners and MedicareFAQ.com.

AZ

Ashlee Zareczny

Reviewer

Ashlee Zareczny is a licensed Medicare agent in all 50 states dedicated to educating those eligible for Medicare.

Need Help Coordinating Your HSA and Medicare?

Our licensed Medicare agents can help you plan the transition from employer coverage and HSA to Medicare without penalties or tax surprises.