Yes, you can keep a health savings account forever. Federal law makes your HSA balance nonforfeitable, so the money stays yours regardless of job changes, insurance changes, or retirement, and there is no year-end deadline that wipes it out. What changes over time is not the account itself but the rules around it: enrolling in Medicare stops new contributions, and turning 65 removes the penalty on non-medical withdrawals.
Why the Account Never Expires
The statute governing HSAs requires that “the interest of an individual in the balance in his account is nonforfeitable.”1Office of the Law Revision Counsel. 26 USC 223 – Health Savings Accounts That single word does the work. If you quit, get laid off, retire, or move to a plan that no longer qualifies as a high-deductible health plan, the balance stays with you. There is no plan-year expiration, no reversion to an employer, no forfeiture to an insurer.
This is the feature that separates an HSA from a flexible spending account. FSA balances generally vanish at the end of the plan year. HSA balances roll forward indefinitely, growing through contributions and investment returns, with no federal requirement that you ever spend them.
If you switch jobs and your new employer uses a different HSA custodian, you can consolidate your old account into the new one. If you leave the workforce entirely, the account remains open under your name. Your only ongoing obligation is whatever your custodian charges in maintenance fees, which typically run a few dollars a month and are sometimes waived once your balance crosses a threshold.
What Medicare Does to Your HSA
Once you enroll in Medicare, your HSA contribution limit drops to zero. Not reduced. Zero. You cannot put in another dollar even if you’re still working and still covered by an employer’s HDHP.2Internal Revenue Service. Publication 969, Health Savings Accounts and Other Tax-Favored Health Plans
There is a trap here that catches a lot of people. Medicare Part A enrollment is retroactive by up to six months when you apply after age 65, though never before your 65th birthday. If you delay Medicare, keep contributing to your HSA, and then enroll later, Part A reaches back and retroactively covers those prior months. Every HSA contribution you made during that retroactive window becomes an excess contribution. And if you’re already collecting Social Security when you turn 65, you’re automatically enrolled in Part A whether you want it or not, so you may lose HSA eligibility without ever filling out a Medicare application.
The practical move: if you plan to enroll in Medicare after 65, stop HSA contributions at least six months before your enrollment date to avoid the retroactive overlap.
None of this touches the balance you already have. Every dollar in the account remains yours, continues to grow through investments, and can be withdrawn tax-free for qualified medical expenses, including Medicare premiums, prescription costs, and long-term care expenses.2Internal Revenue Service. Publication 969, Health Savings Accounts and Other Tax-Favored Health Plans For many retirees, the HSA effectively becomes a dedicated medical spending account funded by decades of tax-free growth.
Your spouse’s Medicare status is a separate question. If your spouse is on Medicare but you aren’t, your own HSA eligibility isn’t affected. Each spouse’s eligibility is determined independently, and each spouse who wants an HSA must maintain a separate account.3Internal Revenue Service. Individuals Who Qualify for an HSA
What Changes at 65
Before 65, an HSA withdrawal for anything other than a qualified medical expense costs you income tax on the distribution plus a 20% additional tax.2Internal Revenue Service. Publication 969, Health Savings Accounts and Other Tax-Favored Health Plans That’s a steep enough penalty that using an HSA as a general savings account before 65 rarely makes sense.
After 65, the 20% penalty goes away permanently. Non-medical withdrawals are still taxed as ordinary income, but without the surcharge, the account starts to look a lot like a traditional IRA for general spending. Medical withdrawals remain completely tax-free, which means every dollar spent on healthcare stretches further than every dollar spent on anything else. This is why financial planners often suggest paying medical costs out of pocket during working years and letting the HSA balance compound as long as possible.
No Deadline to Reimburse Yourself
The feature that turns an HSA into a long-term savings vehicle is this: there is no federal deadline for reimbursing yourself for medical expenses. You can pay a doctor bill out of pocket today, save the receipt, and withdraw the equivalent amount from your HSA five, ten, or twenty years from now, completely tax-free. The only requirement is that the expense was incurred after you opened the HSA.2Internal Revenue Service. Publication 969, Health Savings Accounts and Other Tax-Favored Health Plans
The strategy works because the IRS doesn’t require you to reimburse yourself in the same year as the expense. It requires only that you keep records showing the distribution went toward a qualified expense that wasn’t previously reimbursed or claimed as a tax deduction. Hold onto receipts, explanation-of-benefits statements, and anything else that documents what you paid, when, and for what service. You report HSA distributions on Form 8889 but don’t send the receipts with your return. Keep them in case of an audit.
Keeping the Account From Going Dormant
An HSA with a balance technically lasts forever, but that doesn’t mean every custodian will maintain it forever without activity. Some custodians charge monthly fees that slowly eat a small balance. If an account sits untouched for an extended period, some institutions may eventually transfer the funds to the state’s unclaimed property division. You can reclaim the money at that point, but you lose the HSA wrapper and the tax-free withdrawal benefit.
The simplest prevention is occasional activity: logging in, making a small withdrawal for a medical expense, or reviewing your investment allocation. If your old employer was covering custodial fees and you’ve since left, check whether those fees are now hitting your balance directly. For small, forgotten HSAs from previous jobs, a trustee-to-trustee transfer into your current account consolidates everything and eliminates the risk of dormancy.
What Happens to the Account When You Die
The real limit on keeping an HSA forever is death, and what happens next depends entirely on who you name as beneficiary.
Spouse as Beneficiary
If your surviving spouse is the designated beneficiary, the account becomes theirs. It keeps its HSA status, the balance stays tax-sheltered, and the spouse can continue using it for qualified medical expenses exactly as you did.4Office of the Law Revision Counsel. 26 USC 223 – Health Savings Accounts – Section: Treatment After Death of Account Beneficiary The transition happens once the spouse presents a death certificate to the custodian. This is the closest thing to perpetual HSA ownership: the account can pass from one spouse to the other and continue operating indefinitely.
Non-Spouse Beneficiary
If anyone other than a spouse inherits the HSA, whether a child, sibling, or friend, the account stops being an HSA on the date of death. The full fair market value is included in the beneficiary’s taxable income for that year.4Office of the Law Revision Counsel. 26 USC 223 – Health Savings Accounts – Section: Treatment After Death of Account Beneficiary A large balance can push the beneficiary into a higher tax bracket. One offset worth knowing: the taxable amount is reduced by any of the deceased’s qualified medical expenses that the beneficiary pays within one year of the date of death.2Internal Revenue Service. Publication 969, Health Savings Accounts and Other Tax-Favored Health Plans
Estate as Beneficiary
If there’s no named beneficiary, the account value is included on the decedent’s final tax return rather than on a beneficiary’s return.4Office of the Law Revision Counsel. 26 USC 223 – Health Savings Accounts – Section: Treatment After Death of Account Beneficiary This outcome satisfies no one. Name a beneficiary, and if you’re married, name your spouse.