When you leave a job, your health savings account goes with you. Every dollar is legally yours, your former employer cannot reclaim any of it, and the account keeps working the same way it did before. What changes is around the edges: your ability to make new contributions depends on your next health plan, monthly fees usually shift from your employer to you, and a few tax rules behave differently once you no longer have workplace coverage. Here is what happens to your HSA when you leave a job, and what to do about each piece.
The Account and Its Balance Are Yours
An HSA has no vesting schedule. Federal law requires that your interest in the balance be nonforfeitable from the moment any contribution lands, whether the money came from you or your employer.1Office of the Law Revision Counsel. 26 USC 223 – Health Savings Accounts The account is held in your name, legally separate from any employer plan or company assets.
There is no scenario where a former employer claws back HSA contributions. If your employer deposited $1,200 over the past year and you quit the next day, that $1,200 is yours. The same applies if you are laid off, terminated, or retire. Your HSA travels with you like a bank account; it does not depend on your employment status.
Spending the Balance After You Leave
You can keep using the balance for qualified medical expenses whether you have new insurance, are between jobs, or are unemployed. The tax code defines qualified medical expenses broadly to include diagnosis, treatment, and prevention of disease, transportation essential to receiving care, and long-term care services.2Office of the Law Revision Counsel. 26 USC 213 – Medical, Dental, Etc., Expenses That covers doctor visits, hospital stays, lab work, dental and vision care, mental health services, and prescriptions. Over-the-counter medications and menstrual care products are also eligible.1Office of the Law Revision Counsel. 26 USC 223 – Health Savings Accounts Withdrawals for these expenses remain free of federal income tax and penalties regardless of your employment status.
Keep receipts for every withdrawal. The IRS requires you to maintain records showing each distribution paid for a qualified medical expense, that the expense was not reimbursed by insurance or another source, and that you did not also claim it as an itemized deduction.3Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans You do not send the records with your return, but you need them if you are audited.
Paying for Health Insurance Premiums
HSA funds generally cannot pay health insurance premiums, but federal law carves out exceptions that matter when you leave a job. You can use the account tax-free for:
- COBRA continuation coverage from your former employer’s plan.
- Health insurance premiums during any period you are collecting federal or state unemployment compensation.
- Tax-qualified long-term care insurance premiums, subject to age-based annual limits.
- Medicare Part B, Part D, and Medicare Advantage premiums once you are 65, though not Medigap supplemental policies.
These exceptions come straight from the HSA statute,1Office of the Law Revision Counsel. 26 USC 223 – Health Savings Accounts and the IRS confirms the same list.3Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans Outside these categories, paying premiums from your HSA triggers tax and potentially a penalty.
Whether You Can Keep Contributing
Leaving a job does not permanently end your ability to contribute, but it may pause it. To make new contributions in a given month, you must meet all of these conditions on the first day of that month:3Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans
- You are covered by a qualifying high deductible health plan (HDHP).
- You have no other disqualifying health coverage.
- You are not enrolled in Medicare.
- No one else can claim you as a dependent.
If your next employer’s plan is not an HDHP, or you pick up a non-HDHP marketplace plan during a gap, contributions have to stop until you are back on a qualifying plan. Your existing balance stays intact; you just cannot add to it.
For 2026, the annual contribution limits are $4,400 for self-only coverage and $8,750 for family coverage, with an extra $1,000 catch-up if you are 55 or older.4Internal Revenue Service. Revenue Procedure 2025-19, 2026 HSA Inflation Adjusted Items These limits count everything going in, including anything a new employer contributes.
When you have HDHP coverage for only part of the year, which is common during a transition, your limit is prorated. Count the months you had qualifying coverage on the first of the month, divide by 12, and multiply by the full annual limit. Eight months of self-only HDHP coverage in 2026 would give you roughly $2,933 ($4,400 × 8 ÷ 12).
Fees Usually Shift to You
Many employers absorb the monthly maintenance fees on your HSA while you work there. After you leave, the provider typically moves the account from a group plan to an individual retail plan and starts deducting monthly fees from your balance automatically. The exact amount depends on the provider, but it is often a few dollars per month.
On a small balance that is no longer growing from contributions, those fees can slowly erode what you have. That is one practical reason to consider moving the account to a provider with lower or no monthly charges.
Moving Your HSA to a New Provider
You have two ways to relocate the balance, and the difference matters for taxes.
Trustee-to-Trustee Transfer
A direct transfer moves money from your old HSA provider straight to the new one without you ever touching the funds. There is no tax reporting on the transfer itself, no time limit, and no cap on how often you can do it. Contact the new provider to start the paperwork. This is the simpler and safer route.
Indirect Rollover
With an indirect rollover, the old provider sends the money to you and you deposit it into the new account. You have 60 days from receiving the distribution to complete the deposit, or the IRS treats the full amount as a taxable withdrawal, plus a 20% penalty if you are under 65. You are also limited to one indirect rollover per 12-month period.1Office of the Law Revision Counsel. 26 USC 223 – Health Savings Accounts A direct transfer avoids both risks.
The Cost of Using Funds for Something Else
If you withdraw HSA money for anything other than a qualified medical expense, the amount counts as taxable income and you owe an additional 20% tax.1Office of the Law Revision Counsel. 26 USC 223 – Health Savings Accounts On a $1,000 non-qualified withdrawal, that is regular income tax on the $1,000 plus a $200 penalty. The temptation to tap the account during a period of lost income is real; the price is steep.
The 20% penalty disappears once you reach age 65 or become disabled. After 65, non-medical withdrawals are taxed as ordinary income but carry no penalty, while qualified medical withdrawals remain fully tax-free at any age.1Office of the Law Revision Counsel. 26 USC 223 – Health Savings Accounts
Excess contributions are a separate trap during a job change. If you and a new employer both contribute without coordinating and go over your annual limit, the excess is hit with a 6% excise tax each year it stays in the account.5Office of the Law Revision Counsel. 26 USC 4973 – Tax on Excess Contributions to Certain Tax-Favored Accounts and Annuities Pull the excess, along with any earnings on it, before you file your return for that year to avoid the tax.
If You Leave a Job at 65 or Older
Medicare enrollment has a direct effect on your HSA. Starting with the first month you enroll in any part of Medicare, your contribution limit drops to zero.3Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans You can still spend the existing balance tax-free on qualified medical expenses, including Medicare premiums, but no new money can go in.
Watch the timing closely if you delay Medicare and later enroll retroactively. The IRS treats the retroactive coverage period as if you had been enrolled the whole time, so any contributions made during that window become excess contributions subject to the 6% excise tax.3Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans If you plan to keep contributing past 65, coordinate the enrollment date carefully.
A Note on State Taxes
Most states follow the federal treatment and exempt HSA contributions and earnings from state income tax, but a few do not. In those states, contributions may be added back to your state taxable income and interest or investment gains inside the account may also be taxed. If a job change moves you to a different state, check that state’s rules before you file.