Yes, you can have both an HSA and Medicare, but the rules change the moment you sign up for Medicare Part A. Once you're enrolled, you can no longer contribute new money to your HSA — but the money already in it stays yours to spend on may have access to medical expenses for life. Understanding the timing and the limits will help you make the most of both.

How Medicare Enrollment Affects Your HSA Contributions

The day you become may have access to to Medicare Part A — whether you sign up or not — your HSA contributions must stop. This is true even if you delay enrolling in Part B or haven't yet used your HSA. The IRS treats Medicare enrollment as the end of your may be able to access to contribute, and continuing to add money after that date can result in taxes and penalties on the contributions.

If you're still working and covered by a high-deductible health plan (HDHP) through your employer, you face a choice: you can decline Medicare Part A to keep contributing to your HSA, or you can enroll in Medicare and stop HSA contributions. Some people in this situation choose to wait on Medicare to preserve their HSA window, but that decision depends on your income, your employer coverage, and your tax situation — worth discussing with a tax professional or financial advisor.

The money you've already saved in your HSA before Medicare enrollment is never touched by this rule. You keep the full balance and can withdraw it tax-free for may have access to medical expenses whenever you need it, for the rest of your life.

Key Takeaways

  • Once you enroll in Medicare Part A, you cannot make new contributions to your HSA, even if you continue working or have employer coverage.
  • Money already in your HSA before Medicare enrollment remains yours and can be spent on may have access to medical expenses at any time, tax-free.
  • If you're still employed and covered by a high-deductible plan, you may be able to delay Medicare Part A to keep contributing to your HSA, but this decision has tax and coverage trade-offs.
  • After age 65, you can withdraw HSA funds for any reason without penalty, though non-medical withdrawals are taxed as income.
  • Medicare premiums, deductibles, copays, and coinsurance all count as may have access to medical expenses you can pay from your HSA.

What Counts as a may have access to Medical Expense on Medicare

Once you're on Medicare, your HSA can pay for Medicare premiums themselves — Part B, Part D, and Medigap or Medicare Advantage premiums all may have access to. It can also cover your deductibles, copays, and coinsurance under any Medicare plan. Prescription drugs covered by Part D, dental work, vision care, hearing aids, and long-term care insurance premiums are all fair game.

The list is long, but a few common expenses do not may have access to: cosmetic procedures, over-the-counter medications (unless prescribed by a doctor), vitamins and supplements, and most dental work that's purely cosmetic. If you're unsure whether a specific expense qualifies, your HSA plan administrator can tell you, or you can check IRS Publication 502, which lists all may have access to medical expenses.

The Tax Advantage After Age 65

At age 65, the rules relax in your favor. You can withdraw money from your HSA for any reason — medical or not — without the 20% penalty that applies to younger people. You will owe income tax on non-medical withdrawals, just as you would with a traditional IRA, but the penalty disappears. This makes your HSA function like a second retirement savings account once you reach 65 and are on Medicare.

Many people use this flexibility to pay for long-term care, home health aides, or assisted living — expenses Medicare doesn't cover. Others straightforward withdraw funds to cover general living expenses in retirement, paying income tax on the amount. The choice is yours, and the money is yours to use as you see fit.

Coordinating Your HSA With Medicare Coverage

If you're on Original Medicare (Part A and B), you can use your HSA to cover your share of costs — deductibles, copays, and coinsurance. If you choose a Medicare Advantage plan instead, the same rule applies: your HSA pays for your plan's out-of-pocket costs. Some Medicare Advantage plans include dental, vision, or hearing coverage, and your HSA can cover those expenses too.

If you have both Medicare and an employer group health plan, your HSA can cover costs from either plan. Make sure you understand which plan is primary (usually Medicare after age 65) so you know what your actual out-of-pocket costs will be. Your employer's benefits office or your Medicare plan can clarify the coordination.

Timing Your Medicare Enrollment to Protect Your HSA

If you're still working and want to keep contributing to your HSA, you have options. You can delay enrolling in Medicare Part A as long as you're covered by an employer group health plan and actively employed. Once you stop working or lose that coverage, you'll have a window to enroll in Medicare without penalty — usually eight months after your coverage ends.

The trade-off is that delaying Medicare means you're not covered by it during that time, so you're relying entirely on your employer plan. If your employer plan is solid and you have significant HSA contributions ahead of you, the delay might make sense. If your employer plan is weak or you're nearing retirement anyway, enrolling in Medicare and closing your HSA contributions may be the simpler path.

What Happens to Your HSA If You Don't Use It

Unlike a flexible spending account (FSA), your HSA has no "use it or lose it" rule. Money rolls over year to year, and there's no annual limit on how much you can accumulate. Some people treat their HSA as a retirement savings tool, contributing the maximum each year and only withdrawing for truly necessary expenses, letting the balance grow.

When you pass away, your HSA goes to your beneficiary — usually your spouse or estate. If your spouse inherits it, they can continue using it as their own HSA. If anyone else inherits it, they owe income tax on the full balance, though the funds can still be used for the deceased person's medical expenses without additional penalty.

Frequently Asked Questions

Can I contribute to my HSA after I turn 65 if I haven't enrolled in Medicare yet?

No. The moment you become may have access to to Medicare Part A — which happens automatically at 65 unless you actively decline it — your HSA contributions must stop. You don't have to enroll, but you lose contribution may be able to access the day you turn 65. If you want to keep contributing, you must formally decline Medicare Part A in writing before you turn 65.

Can I use my HSA to pay for Medicare premiums?

Yes. Medicare Part B premiums, Part D premiums, Medigap premiums, and Medicare Advantage premiums all count as may have access to medical expenses. You can pay them directly from your HSA without owing income tax on the withdrawal.

What happens to my HSA balance when I die?

Your HSA passes to your named beneficiary. If your spouse inherits it, they can treat it as their own HSA and continue using it. If anyone else inherits it, they owe income tax on the full balance, though they can still use the funds to pay for your final medical bills or other medical expenses without additional penalty.

Can I withdraw HSA money for non-medical expenses after I'm on Medicare?

Yes, but only after age 65. At 65 and older, you can withdraw HSA funds for any reason without the 20% penalty. You'll owe income tax on non-medical withdrawals, just like a traditional IRA withdrawal, but the penalty is gone.

If I'm still working at 65, do I have to enroll in Medicare?

Not if you're covered by an active employer group health plan and you or your spouse is still actively employed. You can delay Medicare Part B without penalty. However, you cannot delay Part A if you want to keep contributing to your HSA — Part A enrollment triggers the end of HSA contributions regardless of whether you enroll in Part B.