2027 CMS Rates Update: Official Part B premiums & deductibles are now live.View rates →
Interactive Tool

HSA & Medicare Planner

Enrolling in Medicare ends your ability to contribute to an HSA — and Part A can be backdated up to 6 months. See your key dates and contribution considerations.

A person planning healthcare savings at a desk
Your Information
$

IRS limits change each year and differ for self-only vs. family coverage, plus a 55+ catch-up. Verify your current-year limit at IRS.gov.

$/yr
The rules, in plain language
You can't contribute once you're enrolled

Once you (or your spouse, if you're on a family plan) enroll in any part of Medicare — including Part A — you can no longer contribute to an HSA. Contributions made after enrollment can face tax penalties.

Part A can be retroactive up to 6 months

When you enroll in Medicare, your Part A coverage can be backdated up to 6 months — but never before the month you turned 65. Because retroactive Part A makes you Medicare-enrolled for those earlier months, HSA contributions for those months are generally not allowed.

The safe rule: stop 6 months early

Many people stop HSA contributions at least 6 months before they plan to enroll in Medicare. This lines up with the retroactive Part A window and helps avoid an excess-contribution situation. Confirm your exact timing with a tax professional.

You keep your balance

Stopping contributions doesn't affect the money already in your HSA. You can continue to use it tax-free for qualified medical expenses, including Medicare premiums (except Medigap), deductibles, and copays.

Your Key Dates
Stop HSA contributions by
6 months before enrollment
December 2026
Planned Medicare enrollment
June 2027
HSA-eligible months this year
5/12
Pro-rated contribution limit
5 × 1/12 of $4400
$1833
Contributions before stopping
6 more months × $400
$2400
Balance stays yours: your existing HSA funds remain available tax-free for qualified medical expenses, including Medicare premiums.
Ask AI About HSA Rules
Educational guidance only
HSA contribution limits are set annually by the IRS and differ for self-only and family coverage, with an additional catch-up amount at age 55. Pro-ration and the last-month rule have specific requirements. This tool is educational — confirm your contribution limits and timing with IRS.gov and a qualified tax professional before making changes.
If your spouse is on your family HSA, their Medicare enrollment also affects family contributions. Coordinate both enrollments before making changes.

Your Medicare Journey Starts Here.

Get clear answers and a personal roadmap — free to start.