You can have an HSA while on Medicare, but only under specific conditions
Once you enroll in Medicare Part A or Part B, you cannot make new contributions to a Health Savings Account. The moment Medicare coverage begins—even if you delay Part B enrollment—your HSA contribution window closes. However, you can keep the money already in your account and continue to withdraw it for may have access to medical expenses, including Medicare premiums, deductibles, and copays.
The key distinction is between contributing and spending. If you have an HSA balance when you turn 65 or become Medicare-may be able to access for another reason, that money remains yours to use. You do not have to empty the account or forfeit it. But you cannot add new dollars to it once Medicare starts.
Key Takeaways
- Medicare enrollment automatically stops HSA contributions; you cannot add money to an HSA once Part A or Part B coverage begins.
- Money already in your HSA stays there and can be spent on Medicare premiums, deductibles, copays, and other may have access to medical expenses.
- If you work past 65 and have employer coverage with an HSA, you may be able to keep contributing if you delay Medicare enrollment and meet specific conditions.
- Withdrawals from an HSA after Medicare enrollment are tax-free only for may have access to medical expenses; non-medical withdrawals are taxed as ordinary income plus a 20 percent penalty.
- You must notify your HSA custodian (bank or administrator) when you enroll in Medicare to avoid contribution errors.
What happens to your HSA balance when you enroll in Medicare
Your HSA does not close when you turn 65 or enroll in Medicare. The account itself continues to exist, and the balance you have accumulated remains accessible. You can withdraw from it at any time for any reason, though only may have access to medical expenses avoid taxation and penalties.
The restriction is on new money going in, not on money already there. If you have $8,000 in your HSA when Medicare Part A begins, that $8,000 is still yours. You can use it to pay Medicare Part B premiums, Part D prescription drug premiums, Medicare Advantage plan premiums, deductibles, coinsurance, and copays. You can also use it for dental, vision, and hearing expenses, which Medicare does not cover.
One critical step: inform your HSA custodian (the bank or financial institution holding your account) when you enroll in Medicare. If you do not notify them, they may continue processing contributions after your Medicare start date, which creates a tax problem you will have to fix later.
The contribution rule: when it stops and why
HSAs are designed to work with high-deductible health plans (HDHPs). Medicare is not an HDHP, and Medicare beneficiaries are not may be able to access to contribute to HSAs under federal tax law. The IRS treats Medicare enrollment as the end of HDHP coverage, which ends HSA contribution may be able to access.
This applies to both Part A and Part B. If you enroll in Part A only, contributions stop. If you enroll in Part B only, contributions stop. The rule does not distinguish between the two. The moment either part begins, your contribution window closes for that year and all future years.
There is one narrow exception: if you are still working past 65, have employer health coverage with an HSA, and you delay Medicare enrollment, you may be able to continue contributing. This requires that your employer coverage is your primary insurance and that you meet the IRS definition of an active employee. Once you do enroll in Medicare, even retroactively, contributions must stop. This exception is rare and depends heavily on your employer's plan design and your specific employment status.
Using your HSA to pay Medicare premiums and out-of-pocket costs
Medicare premiums themselves are may have access to medical expenses. You can pay Part B premiums, Part D premiums, and Medicare Advantage plan premiums directly from your HSA without triggering taxes or penalties. You can also pay Medicare supplement (Medigap) premiums this way.
Beyond premiums, your HSA covers Medicare deductibles, copays, and coinsurance. If your Medicare Part B deductible is $240 in a given year, you can pay it from your HSA. If you have a $50 copay for a doctor visit, you can use HSA funds. If you are in a Medicare Advantage plan with coinsurance, HSA funds cover that too.
Expenses Medicare does not cover—dental work, eyeglasses, hearing aids, and most long-term care—are also may have access to HSA expenses. This makes an HSA particularly valuable for Medicare beneficiaries, since these gaps in coverage can be substantial.
Tax consequences of HSA withdrawals after Medicare enrollment
Withdrawals for may have access to medical expenses remain tax-free and penalty-free, regardless of your age or Medicare status. This is one of the few tax breaks that does not change when you turn 65. If you withdraw $500 from your HSA to pay a Medicare copay, that $500 is not taxed and no penalty applies.
Non-medical withdrawals, however, are treated as ordinary income and subject to a 20 percent penalty. If you withdraw $1,000 from your HSA for a non-medical reason after Medicare enrollment, you owe income tax on the full $1,000 plus a $200 penalty. This is the same penalty that applies to non-medical HSA withdrawals before age 65, with one difference: before 65, the penalty is 20 percent; after 65, the penalty remains 20 percent, but the IRS may be more likely to scrutinize withdrawals.
Keep records of what you spend HSA money on. If the IRS questions a withdrawal, you will need documentation showing it was for a may have access to expense. Receipts, explanation of benefits statements, and invoices from providers all serve as proof.
Coordinating your HSA with Medicare enrollment timing
If you are approaching 65 and have an HSA, plan your Medicare enrollment date with your HSA custodian in mind. Your HSA contributions must stop by the month you enroll in Medicare. If you enroll in Part A in June, you cannot make contributions for June or any month after.
Some people try to make a lump-sum contribution before enrolling in Medicare, thinking they can front-load the account. This does not work. The IRS looks at when Medicare coverage begins, not when you enroll. If your Part A coverage is retroactive to an earlier month, contributions for that month and forward are prohibited, even if you did not know about the retroactive coverage when you made the contribution.
If you make a contribution after Medicare enrollment begins, you must correct it. Contact your HSA custodian and ask them to remove the excess contribution and any earnings on it. You may also need to file Form 8889 with your tax return to report the correction. Failing to correct an excess contribution results in a 6 percent excise tax each year the excess remains in the account.
What to do if you contributed to an HSA after Medicare started
Mistakes happen. If you or your employer contributed to your HSA after your Medicare start date, the contribution is not deductible and is subject to a 6 percent excise tax. The good news is that you can fix it.
Contact your HSA custodian immediately and request a removal of the excess contribution plus any earnings on it. The custodian will issue you a check or direct deposit for the amount. You then report this correction on your tax return using Form 8889. The 6 percent excise tax applies only to the excess amount that remains in the account at the end of the year, so removing it stops the penalty from accruing.
If your employer made the contribution without your knowledge, notify your employer's benefits department and ask them to correct their records. They should have stopped contributions when you enrolled in Medicare, and they may need to adjust your payroll or benefits file to prevent future errors.
Frequently Asked Questions
Can I use my HSA to pay for Medicare Advantage plan premiums?
Yes. Medicare Advantage premiums are may have access to medical expenses, and you can pay them directly from your HSA. This includes any additional premiums for supplemental coverage within the plan. Part D prescription drug premiums bundled with Medicare Advantage are also covered.
What happens to my HSA if I go back to work and drop Medicare?
Once you enroll in Medicare, you cannot unenroll to go back to an HDHP and resume HSA contributions. Medicare enrollment is permanent. If you return to work and your employer offers an HDHP, you cannot use that plan to restart HSA contributions. You can, however, continue spending down your existing HSA balance on may have access to expenses.
Can my spouse have an HSA if I am on Medicare?
Yes, if your spouse is not yet enrolled in Medicare and is covered by an HDHP. Your spouse's HSA is separate from yours and is not affected by your Medicare enrollment. Your spouse can continue contributing to their own account as long as they meet the may be able to access requirements.
Do I have to spend my HSA before I turn 65?
No. There is no requirement to empty your HSA before Medicare enrollment. You can let it grow and spend it gradually throughout your retirement. HSA funds can be used for may have access to medical expenses at any age, and there is no age limit on how long you can hold the account.
What if my HSA custodian does not know about Medicare rules?
Contact them in writing and provide a copy of your Medicare card or enrollment confirmation. If they continue to process contributions after your Medicare start date, file a complaint with your state's insurance commissioner or the Department of Labor. You can also report the issue to the IRS, though your primary goal should be correcting the error with the custodian directly.