When you leave a job, your health savings account and every dollar in it stay with you. The balance is legally yours the moment it lands in the account, whether you contributed it or your employer did, and no former employer can reclaim any of it.1Office of the Law Revision Counsel. 26 USC 223 – Health Savings Accounts What changes after your last day is not ownership. It’s your ability to keep contributing, who pays the account fees, and a few tax rules that become more important when you’re between paychecks or shopping for new coverage.
The Account Belongs to You
An HSA has no vesting schedule. Federal law requires that your interest in the balance be nonforfeitable from the start, regardless of who put the money in.1Office of the Law Revision Counsel. 26 USC 223 – Health Savings Accounts The account is held in your name as a personal trust, separate from any employer plan or company assets.
That’s true whether you quit, are laid off, are terminated, or retire. If your employer deposited $1,200 on your behalf over the past year and you leave the next day, the $1,200 is yours. The HSA travels with you the way a checking account would.
Spending Your Balance After You Leave
You can keep using the balance for qualified medical expenses no matter your employment or insurance status. The tax code defines qualified expenses broadly: diagnosis, treatment, and prevention of disease, transportation essential to care, and long-term care services.2Office of the Law Revision Counsel. 26 USC 213 – Medical, Dental, Etc., Expenses That covers doctor and hospital visits, lab work, dental and vision care, mental health services, and prescription drugs. Over-the-counter medications and menstrual care products qualify as well.1Office of the Law Revision Counsel. 26 USC 223 – Health Savings Accounts Withdrawals for these purposes stay fully tax-free.
Keep your receipts. The IRS expects you to be able to show that each distribution paid for a qualified expense, that it wasn’t reimbursed by insurance, and that you didn’t also claim it as an itemized deduction.3Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans You don’t file the records with your return, but you need them if you’re audited.
Paying for Health Coverage Between Jobs
HSA funds generally can’t pay health insurance premiums, but the statute carves out exceptions that matter most exactly when you’re leaving a job. You can pay the following tax-free from your HSA:
- COBRA continuation coverage from your former employer’s plan.
- Health insurance premiums during any period you’re receiving 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’re 65 or older. Medigap supplemental premiums do not qualify.
These exceptions appear in the HSA statute itself1Office of the Law Revision Counsel. 26 USC 223 – Health Savings Accounts and are confirmed in IRS guidance.3Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans Marketplace premiums outside these categories are not eligible, and paying them from your HSA triggers taxes and, if you’re under 65, a penalty.
Whether You Can Still Contribute
Leaving a job doesn’t permanently end your ability to contribute, but it can pause it. To make new contributions in a given month, on the first of that month you must:
- Be covered by a qualifying high deductible health plan (HDHP).
- Have no other disqualifying health coverage.
- Not be enrolled in Medicare.
- Not be claimable as someone else’s dependent.
These rules come from federal law and IRS guidance.3Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans If you land at a new employer whose plan isn’t an HDHP, or you pick a non-HDHP marketplace plan to bridge a gap, you must stop contributing until you’re back on a qualifying plan. Your existing balance is not affected. You simply can’t add to it.
Partial-Year Contribution Limits
If you’re on an HDHP for only part of the year, which is common during a job change, your annual contribution 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. For 2026, the annual limits are $4,400 for self-only coverage and $8,750 for family coverage, plus a $1,000 catch-up contribution if you’re 55 or older.4Internal Revenue Service. Revenue Procedure 2025-19, 2026 HSA Inflation Adjusted Items With eight months of self-only HDHP coverage, for example, your prorated ceiling would run about $2,933. Those limits include whatever a new employer contributes on your behalf, so coordinate before doubling up.
Fees Usually Shift to You
Employers commonly cover the monthly maintenance fee on your HSA while you work there. After you leave, the provider typically moves the account from the group plan to an individual retail plan and starts deducting the fee, generally a few dollars a month, directly from your balance. The exact amount depends on the provider.
On a small balance you’re no longer feeding, that drip adds up. It’s a practical reason to consider moving the account to a provider with lower or no monthly fees, which several online HSA custodians offer.
Moving the Account to a New Provider
You have two ways to relocate the balance, and the difference matters.
Trustee-to-Trustee Transfer
A direct transfer sends the money from your old provider to the new one without ever passing through your hands. There’s no tax reporting for the transfer itself, no deadline, and no cap on how often you can do it. Contact the new provider to start the paperwork. This is the safer path.
Indirect Rollover
In an indirect rollover the old provider pays you, and you then deposit the money into the new HSA yourself. You have 60 days from receipt to complete the deposit or the IRS treats the whole amount as a taxable withdrawal, with the 20% penalty on top if you’re under 65. You’re also limited to one indirect rollover in any 12-month period.1Office of the Law Revision Counsel. 26 USC 223 – Health Savings Accounts Given the risk, most people are better off with the direct transfer.
Tax Traps to Watch During the Transition
Non-Qualified Withdrawals
If you tap the HSA for anything other than a qualified medical expense before age 65, the amount is added to your taxable income and hit with an additional 20% tax.1Office of the Law Revision Counsel. 26 USC 223 – Health Savings Accounts On a $1,000 non-medical withdrawal, that’s your ordinary income tax on the $1,000 plus a $200 penalty. That’s an expensive way to bridge a gap between paychecks. The 20% penalty falls away at 65 or upon disability, and qualified medical withdrawals remain tax-free at any age.
Excess Contributions
If your total contributions exceed the annual limit, which is easy to trip over when a new employer contributes without knowing what you already put in, the excess is subject to a 6% excise tax for 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 and any earnings on it out before the return is due to avoid the tax.
Form 8889
Any year you or an employer contribute, or you take a distribution, you must attach Form 8889 to your federal return, even if every dollar you spent was for qualified medical care.6Internal Revenue Service. Instructions for Form 8889 A mid-year job change often means two W-2s and two sets of HSA contributions to reconcile on the same form.
Medicare Timing After 65
If you leave a job at 65 or later, Medicare enrollment ends new contributions. Starting the first month you enroll in any part of Medicare, your HSA contribution limit is zero. You can keep spending the existing balance tax-free, including on Medicare premiums, but you can’t add. If you delay Medicare and later sign up retroactively, the IRS treats the retroactive period as coverage, and any HSA contributions you made during that window become excess contributions subject to the 6% tax.3Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans Plan the enrollment date deliberately if you intend to keep contributing past 65.
State Taxes
Most states mirror federal treatment and don’t tax HSA contributions or earnings. A small number don’t recognize the federal exemption and add contributions back to state taxable income, and may tax interest and gains inside the account. If you’re moving between states during a job transition, check the rules of the state where you’ll file.