HSA funds themselves do not expire, but the account can close if you lose may be able to access, and unspent money in a regular HSA may be taxed if you withdraw it for non-medical reasons after you stop contributing.

The money you put into a Health Savings Account stays yours indefinitely — there is no "use it or lose it" deadline like some employer benefits have. However, your ability to contribute to an HSA ends the moment you enroll in Medicare or lose the high-deductible health plan that qualifies you to have one. Once that happens, you can still spend the money that is already there on medical expenses tax-free, but you cannot add new contributions.

The real trap is withdrawing HSA money for non-medical expenses after you stop being may be able to access to contribute. If you do that, you owe income tax on the withdrawal plus a 20 percent penalty — unless you are over 65, in which case the penalty disappears but the income tax remains. Understanding when your account closes and what happens to the money afterward is the difference between a valuable long-term tool and an expensive mistake.

Key Takeaways

  • Money in an HSA does not expire and can be spent on medical expenses tax-free at any point in your life, even decades after you contributed it.
  • Your ability to contribute new money stops immediately when you enroll in Medicare or switch to a health plan that is not high-deductible.
  • Withdrawing HSA money for non-medical expenses before age 65 triggers both income tax and a 20 percent penalty on the amount withdrawn.
  • After age 65, you can withdraw HSA money for any reason without the penalty, though non-medical withdrawals are still taxed as income.
  • If you have an HSA through an employer and leave that job, the account remains yours and the money stays available for medical expenses.

When your HSA contributions must stop

You lose the right to contribute to an HSA the moment you enroll in Medicare Part A or Part B, even if you are still working and have a high-deductible plan. This is a federal rule with no exceptions. Many people do not realize this until they turn 65 and sign up for Medicare, only to discover they can no longer add money to an account they have been building for years.

You also stop being may be able to access if you switch to a health plan that is not high-deductible — for example, if you move to a standard PPO or HMO through your employer, or if you enroll in a spouse's plan that does not may have access to. The moment the coverage changes, contributions must stop. If you contribute after losing may be able to access, the IRS treats the excess as a taxable distribution and charges a 6 percent penalty on the overcontribution each year it sits in the account.

Losing may be able to access does not close the account or make the money disappear. It simply means no new money can go in. The balance you have already built remains available to spend on medical expenses for the rest of your life.

How long you can spend HSA money on medical expenses

There is no time limit on using HSA funds for may have access to medical expenses. You can leave money in the account untouched for 10, 20, or 30 years and spend it on medical bills whenever you need to. The IRS does not care when you spend it relative to when you contributed it — only that the expense itself qualifies as a medical expense under the tax code.

may have access to expenses include doctor visits, dental work, vision care, prescription medications, medical equipment, and many other health-related costs. They do not include cosmetic procedures, gym memberships, or over-the-counter vitamins unless a doctor prescribes them. If you are unsure whether a specific expense qualifies, the IRS publishes a detailed list, and your HSA provider can usually tell you whether they will cover a particular charge.

This long timeline is one reason HSAs are valuable for retirement planning. Many people treat them like a second retirement account, letting the money grow and using it to pay medical bills in their 70s or 80s, when healthcare costs are typically highest.

What happens to HSA money if you withdraw it for non-medical reasons

If you withdraw money from your HSA for something other than a may have access to medical expense, you owe income tax on that amount. The tax rate depends on your overall income and tax bracket — it is not a flat percentage. On top of the income tax, you also owe a 20 percent penalty on the non-medical withdrawal, unless you are 65 or older.

For example, if you withdraw $5,000 for a vacation and you are in the 22 percent tax bracket, you would owe $1,100 in income tax plus $1,000 in penalty — a total of $2,100 in taxes and penalties on a $5,000 withdrawal. That is a 42 percent hit on the money you take out. The penalty is harsh by design: the government wants HSA money used for healthcare, not treated as a general savings account.

The income tax applies whether or not you are still may be able to access to contribute. The 20 percent penalty only applies if you are under 65. Once you reach 65, you can withdraw HSA money for any reason without the penalty, though the income tax on non-medical withdrawals still applies.

HSA accounts after you leave a job

If you have an HSA through your employer and you leave that job, the account is yours to keep. The money does not go back to the employer, and the account does not close. You can continue to spend it on medical expenses tax-free for as long as you live. Some employers offer HSAs through a third-party provider like Fidelity or HealthEquity, and in those cases the account simply stays open under your name after you leave.

Other employers administer HSAs directly, and when you leave, you may need to roll the balance to a new HSA provider or take a distribution. Your employer's benefits department can tell you which situation applies to you and what steps you need to take. If you roll the money to another HSA, there is no tax consequence — it is a direct transfer from one account to another.

If you do not have a new high-deductible plan lined up when you leave your job, you can still keep the HSA open and the money in it. You simply cannot contribute new money until you enroll in a may have access to plan again. Many people do this intentionally, letting their HSA balance grow over years or decades while they use it to pay medical bills as they come up.

HSA rules when you turn 65 and enroll in Medicare

At 65, you must enroll in Medicare Part A (hospital insurance) to avoid penalties on your Social Security benefits. The moment you enroll, you lose the right to make new HSA contributions. However, you can continue to spend the money already in the account on medical expenses tax-free for the rest of your life.

After 65, the rules change in your favor. You can withdraw HSA money for any reason without the 20 percent penalty — only income tax applies to non-medical withdrawals. This makes HSAs particularly valuable in retirement: you have built up a tax-free pool of money that can pay for medical expenses, and if you do not need it all for healthcare, you can use it for other expenses and only pay income tax, not a penalty.

Many financial advisors recommend letting HSA money grow untouched during your working years if you can afford to pay medical bills out of pocket. By retirement, you may have accumulated a significant balance that can cover decades of healthcare costs tax-free.

What to do if your HSA provider closes or goes out of business

HSA providers are required by law to notify account holders if they are closing. When that happens, you have the right to roll your balance to another HSA provider without tax consequences. The old provider must give you enough time to make the transfer — typically at least 30 days — and they cannot charge you a fee for the rollover.

If you do not move the money within the timeframe, the provider will send it to you as a distribution. If you then deposit it into a new HSA within 60 days, it counts as a rollover and there is no tax. If you miss the 60-day window, the distribution is taxed as income and subject to the 20 percent penalty if you are under 65.

To avoid this situation, keep track of your HSA provider and stay alert for any closure notices. If you receive one, contact a new HSA provider immediately and ask them to accept a rollover transfer. Most large banks and investment firms offer HSAs and can complete the transfer quickly.

Frequently Asked Questions

Can I use my HSA money after I turn 65 and enroll in Medicare?

Yes. You can spend HSA money on medical expenses tax-free at any age, including after you enroll in Medicare. You simply cannot make new contributions once you are on Medicare. After 65, you can also withdraw money for non-medical reasons without the 20 percent penalty, though income tax still applies.

What happens to my HSA if I switch to a different health plan?

The account stays open and the money remains yours. You stop being able to contribute new money if the new plan is not high-deductible, but you can continue spending the existing balance on medical expenses tax-free. If you later switch back to a high-deductible plan, you can resume contributions.

Do I have to spend my HSA money by the end of the year?

No. Unlike a Flexible Spending Account (FSA), HSA money does not expire at the end of the year. Any balance you do not spend rolls over to the next year and stays available indefinitely. This is one of the main advantages of an HSA over an FSA.

Can I leave my HSA to my heirs?

Yes, but the tax treatment depends on who inherits it. If a spouse inherits an HSA, they can treat it as their own and continue using it tax-free for medical expenses. If anyone else inherits it, they owe income tax on the full balance, though not the 20 percent penalty. The account does not disappear — it becomes part of your estate.

What if I contributed too much to my HSA by mistake?

Contact your HSA provider and your tax preparer immediately. You can request a corrective distribution of the excess contribution, and if you do it before your tax deadline, you can avoid the 6 percent penalty that applies to overcontributions. The sooner you catch the error, the easier it is to fix.