You can keep an existing HSA and spend the money, but you cannot make new contributions once you are enrolled in any part of Medicare (including Part A). This applies to both your own contributions and your employer's payroll contributions — both must stop.
Use the Medicare Intake tool to check your Medicare enrollment timing based on your age, coverage, and work status.
Once you enroll in any part of Medicare — Part A, Part B, or both — you can no longer make new HSA contributions. However, you can continue to use existing HSA funds tax-free for qualified medical expenses, including Medicare premiums, copays, and deductibles. The key rule: Medicare Part A enrollment ends HSA contribution eligibility, even if Part A is premium-free.
You can use existing HSA funds to pay Medicare Part B premiums, Part D premiums, and most out-of-pocket medical costs. You cannot use HSA funds to pay for Medigap (Medicare Supplement) premiums. See the HSA and Medicare guide for allowed and disallowed uses.
If you are working past 65 and want to maximize HSA contributions, delay both Medicare Part A and Social Security. You can delay Part B separately if you have qualifying employer coverage from an employer with 20+ employees.
Many financial advisors recommend maximizing HSA contributions before turning 65, then using the accumulated funds to pay for healthcare costs in retirement alongside Medicare.
Making HSA contributions after enrolling in Medicare (even Part A only) violates IRS rules. You'll owe a 6% excise tax on excess contributions for every year they stay in the account. If Part A is applied retroactively when you sign up for Social Security, contributions during those retroactive months are also excess.
How does HSA contributions work with Medicare when already on Medicare?
When already on Medicare and contributing to a Health Savings Account, the Medicare rules have specific implications. Currently enrolled in Medicare and managing ongoing coverage while contributing to a Health Savings Account means you need to coordinate both situations carefully.
How does HSA contributions affect Medicare with spouse's employer coverage (under 20 employees)?
When contributing to a Health Savings Account and you have spouse's employer coverage (under 20 employees), the interaction with Medicare depends on specific rules. Medicare is primary when the spouse's employer has fewer than 20 employees.
How does HSA contributions affect Medicare with COBRA coverage?
When contributing to a Health Savings Account and you have COBRA coverage, the interaction with Medicare depends on specific rules. Medicare is always primary when you have COBRA. COBRA pays secondary and may cover less than expected.
How does HSA contributions affect Medicare with retiree coverage?
When contributing to a Health Savings Account and you have retiree coverage, the interaction with Medicare depends on specific rules. Medicare is always primary over retiree coverage. Retiree plans are designed to supplement Medicare.
How does HSA contributions affect Medicare with Marketplace (ACA) coverage?
When contributing to a Health Savings Account and you have Marketplace (ACA) coverage, the interaction with Medicare depends on specific rules. Marketplace and Medicare don't coordinate — you should transition to Medicare when eligible. Keeping both is usually not cost-effective.