What to Do With Leftover HSA Money: Spend, Invest, or Transfer

Money left over in your Health Savings Account doesn’t expire and doesn’t have to be spent by year-end, so what to do with leftover HSA money is really a choice among four options: pay current medical bills, invest the surplus for tax-free growth, hold it for retirement, or move it to a custodian with lower fees and better investments. Which mix fits you depends on your health spending, your age, and how much has built up.

Spend It on Qualified Medical Expenses

The simplest use is paying for healthcare. Qualified expenses cover doctor and surgeon visits, lab work, dental treatments like fillings and cleanings, prescription eyeglasses, and contact lenses.1Internal Revenue Service. Publication 502 (2025), Medical and Dental Expenses Since the CARES Act, over-the-counter medications and menstrual care products qualify without a prescription.2Henrico HR. Impact of the CARES Act on Your FSA/HSA/HRA

Most custodians issue a debit card. If you pay out of pocket instead, you can reimburse yourself later through the provider’s online portal, and there is no deadline for that reimbursement. You could pay a medical bill today and pull the money from your HSA five or fifteen years from now, as long as the HSA was established before the expense was incurred.3Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans People who can afford to pay bills from other funds sometimes let the HSA grow for years, then reimburse themselves in a lump sum during retirement.

Your HSA isn’t limited to your own expenses. You can use it for qualified costs incurred by your spouse, anyone you claim as a dependent, and anyone you could have claimed except for certain technical disqualifiers like filing a joint return or having gross income above the exemption threshold. For divorced or separated parents, a child is treated as the dependent of both parents for HSA purposes regardless of who claims the exemption.3Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans

Health insurance premiums generally do not qualify, with a few exceptions: COBRA continuation coverage, coverage paid while you’re receiving unemployment compensation, and long-term care insurance up to age-based annual limits. Medigap premiums do not qualify.3Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans

Keep receipts for every distribution. The IRS requires records showing the withdrawal paid for a qualified medical expense, that the expense wasn’t reimbursed from another source, and that you didn’t also claim it as an itemized deduction. If you’re audited and can’t produce documentation, the distribution gets reclassified as taxable income plus a 20% penalty.3Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans

Invest the Surplus for Tax-Free Growth

If your balance exceeds what you expect to spend on near-term care, investing the surplus is where the tax advantages really compound. Many custodians let you move cash into mutual funds, ETFs, or other investments once your balance clears a threshold, often between $1,000 and $2,000 depending on the provider. Earnings grow tax-free inside the account.3Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans

The triple tax benefit is what makes HSAs unusual: contributions are tax-deductible, growth is tax-free, and withdrawals for qualified medical expenses are tax-free. No 401(k) or IRA offers all three. The catch is that you need a high-deductible health plan to contribute, and if you withdraw for non-medical purposes before age 65, you owe income tax plus a 20% additional tax.4Office of the Law Revision Counsel. 26 U.S. Code 223 – Health Savings Accounts

You can adjust allocations through your custodian’s investment platform. If you’re decades from retirement, a growth-oriented allocation gives the balance time to outpace inflation. If you’re closer to drawing down the funds, shifting toward more conservative holdings reduces the risk of a poorly timed market drop hitting money you’ll need for healthcare soon.

Hold It for Retirement

Turning 65 removes the biggest penalty risk. After that birthday, you can withdraw HSA funds for any purpose without the 20% additional tax that normally applies to non-medical distributions. Withdrawals for qualified medical expenses remain completely tax-free. Money taken out for non-medical spending gets taxed as ordinary income at your marginal rate, so the HSA works like a traditional IRA at that point.3Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans

Once you turn 65, Medicare Part A, Part B, Part D, and Medicare Advantage premiums all qualify as HSA-eligible expenses. Medigap premiums do not.3Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans

Watch the Medicare Enrollment Cutoff

Once you enroll in Medicare Part A or Part B, you can no longer contribute to your HSA. Your existing balance stays and you can keep spending or investing it, but no new contributions go in.3Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans

There’s a trap worth knowing. When you enroll in Medicare after age 65, your Part A coverage is retroactive for up to six months, though not back before the month you turned 65. Any HSA contributions made during those retroactive months become excess contributions, because you’re now treated as having been enrolled in Medicare then. Either pull the money back out or pay the 6% excise tax.5Medicare Interactive. Health Savings Accounts (HSAs) and Medicare The practical fix: stop contributing at least six months before you plan to enroll. Claiming Social Security benefits automatically enrolls you in Medicare Part A, so those decisions are linked.

Move It to a Better Custodian

If your current custodian charges high fees or offers limited investment options, moving your HSA is straightforward. There are two methods, and one is almost always better than the other.

Trustee-to-Trustee Transfer

In a direct transfer, your current custodian sends the funds straight to the new one and you never touch the money. You fill out a transfer request form from the new provider, which typically asks for your current account number, the name and mailing address of your existing custodian, your Social Security number, and whether you want a full or partial transfer. Attaching a recent account statement helps the new custodian verify the account.6Optum Financial. Health Savings Account (HSA) Trustee-to-Trustee Transfer Form

You may need to liquidate investments first, since some custodians don’t accept in-kind transfers of mutual funds or other securities. The process typically takes two to six weeks. The IRS places no limit on how many trustee-to-trustee transfers you can do per year, and the transfer doesn’t trigger any tax reporting.6Optum Financial. Health Savings Account (HSA) Trustee-to-Trustee Transfer Form

Indirect Rollover

The alternative is an indirect rollover, where the custodian sends a check or electronic transfer directly to you. You have exactly 60 days to deposit those funds into your new HSA. Miss the window and the entire amount is treated as a taxable distribution, plus the 20% additional tax if you’re under 65.4Office of the Law Revision Counsel. 26 U.S. Code 223 – Health Savings Accounts You’re also limited to one indirect rollover every 12 months.6Optum Financial. Health Savings Account (HSA) Trustee-to-Trustee Transfer Form Unless you specifically need temporary access during the transition, stick with the direct transfer.

Name the Right Beneficiary

If you’re building a significant balance, the beneficiary designation on the account matters more than most people realize. The tax consequences differ sharply based on who inherits.

If your spouse is the designated beneficiary, the HSA becomes their HSA after your death. They keep the account open and use it exactly as you would have, taking tax-free distributions for qualified medical expenses.3Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans

If anyone other than your spouse inherits the HSA, the account stops being an HSA on the date of your death, and the entire fair market value becomes taxable income to the beneficiary in that year. The one offset: the beneficiary can reduce the taxable amount by any qualified medical expenses they pay on your behalf within one year of your death. If your estate is named instead of a person, the value is included on your final income tax return.3Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans

If you’re married, make sure your spouse is listed. If you’re not married or want to leave the HSA to someone else, understand the recipient will owe income tax on the full balance. Review the designation after major life changes like divorce or the death of the person currently named.