HSAs as Investment Accounts: The Triple Tax Break and Open Enrollment
A health savings account can be more than a medical spending account. Paired with a high-deductible plan, it offers deductible contributions, tax-free growth and tax-free withdrawals for medical costs. Here is how HSAs work, how they can be invested, and what to weigh during fall open enrollment.
Late fall is open-enrollment season for most employer health plans, and for many workers the choice includes a high-deductible health plan (HDHP) paired with a health savings account (HSA). The HSA is often treated as a debit card for doctor visits. It can also be one of the most tax-efficient investment accounts in the US tax code, because money can go in, grow and come out without being taxed, as long as it is ultimately spent on qualified medical costs.
This guide explains the rules, how investing inside an HSA works, and the trade-offs worth weighing before you pick a plan for next year.
The triple tax advantage
HSAs receive three separate federal tax breaks:
- Contributions are deductible, or excluded from income if made through payroll. Payroll contributions through an employer's cafeteria plan also generally avoid Social Security and Medicare taxes, which a deduction on your return does not.
- Growth is tax-free. Interest, dividends and gains inside the account are not taxed each year.
- Withdrawals for qualified medical expenses are tax-free, at any age.
Traditional retirement accounts offer the first two but tax withdrawals; Roth accounts offer the second and third but not the first. That combination is why some savers treat the HSA as a supplementary retirement account for future health costs. FC Markets compares the main retirement accounts in 401(k) vs. IRA vs. Roth IRA.
Not every state follows the federal treatment. A few, notably California and New Jersey, tax HSA contributions or earnings at the state level, so residents should check their state's rules.
Who can contribute
To contribute for a given month you generally must:
- Be covered by an HSA-eligible high-deductible health plan, which has a minimum deductible and a maximum out-of-pocket limit set by the IRS.
- Have no other disqualifying health coverage, such as a spouse's non-HDHP plan that covers you or a general-purpose health flexible spending account.
- Not be enrolled in Medicare.
- Not be claimed as a dependent on someone else's return.
The IRS publishes the annual contribution limits, separate figures for self-only and family coverage, along with the HDHP deductible and out-of-pocket thresholds, and updates them each year. Account holders aged 55 and older can add a catch-up contribution. Employer contributions count toward the same limit. Contributions for a tax year can be made until the tax-filing deadline the following spring, and are reported on Form 8889.
Which plans count as HSA-eligible has been adjusted by legislation from time to time, so the plan's own documents and IRS guidance are the authority on whether a specific plan qualifies.
HSA vs. health FSA
The two accounts are often offered side by side at open enrollment and are easy to confuse.
| Feature | HSA | Health FSA |
|---|---|---|
| Requires a high-deductible plan | Yes | No |
| Who owns the account | You | Your employer's plan |
| Unused money | Rolls over indefinitely | Generally forfeited, apart from a limited carryover or grace period if the plan offers one |
| Can be invested | Often, depending on the provider | No |
| Portable when you change jobs | Yes | Generally no |
| Can be used after 65 for non-medical costs | Yes, taxed as income without the additional tax | No |
A limited-purpose FSA, covering only dental and vision costs, can usually be paired with an HSA without breaking eligibility.
Investing inside an HSA
Many HSA providers hold contributions as cash by default. Investing usually requires an extra step:
- Cash threshold. Some providers require a minimum cash balance before the rest can be invested.
- Investment menu. Choices range from a short list of mutual funds to a full brokerage window. The same principles apply as anywhere else: diversification, costs and a time horizon that matches the money.
- Fees. Monthly account fees, investment fees and fund expense ratios vary widely. Employer-chosen providers are not the only option: you can generally transfer an HSA to another provider, and some people periodically move payroll contributions to an HSA with lower costs or a better investment menu.
Money you expect to spend soon on deductibles and copays is usually kept in cash. Money you do not expect to need for many years is where investing matters, since that is where tax-free compounding has time to work.
The "pay now, reimburse later" approach
The IRS does not set a deadline for reimbursing yourself, as long as the expense was incurred after the HSA was established and was not reimbursed from another source or claimed as an itemized deduction. Some account holders therefore pay current medical bills out of pocket, keep the receipts, and leave the HSA invested, reimbursing themselves years later.
This approach only works with careful records: receipts, explanation-of-benefits statements and proof of payment. It also assumes you have enough cash flow to cover medical costs today, which not everyone does, and the tax rules could change in the meantime.
Withdrawals: before and after 65
- Qualified medical expenses: tax-free at any age. IRS Publication 502 lists what counts; the HSA can also pay for a spouse's and dependents' qualified costs.
- Non-medical withdrawals before 65: taxed as income plus a 20% additional tax, except in cases such as disability or death.
- Non-medical withdrawals at 65 or later: taxed as ordinary income, with no additional tax, much like a traditional IRA.
- Medicare-related costs: after 65, HSA money can pay Medicare Part B and Part D premiums and Medicare Advantage premiums tax-free. Medicare supplement (Medigap) premiums do not qualify.
Each year your HSA custodian sends Form 1099-SA for distributions and Form 5498-SA for contributions.
Questions to ask during open enrollment
Choosing between an HDHP with an HSA and a traditional plan is mainly a health-insurance decision, not an investing one. Points worth comparing:
- Total expected cost: annual premiums plus a realistic estimate of what you would spend in a typical year and in a bad year, up to each plan's out-of-pocket maximum.
- Employer HSA contributions: some employers seed the account, which can offset part of the higher deductible.
- Your cash cushion: an HDHP requires paying more out of pocket before coverage starts, which is harder without savings.
- Provider networks and prescriptions: a lower premium does not help if your doctors or medicines are covered poorly.
- Family situation: a spouse's coverage, a planned birth or an ongoing condition can change the math.
- Medicare timing: anyone working past 65 should check how Medicare enrollment, which can be backdated, affects the ability to contribute.
Rules worth knowing before you rely on it
- Mid-year changes: if you become eligible partway through the year, contribution limits are generally prorated by month, though a "last-month rule" can allow a full-year contribution if you remain eligible through a testing period afterward.
- One-time IRA transfer: the tax code allows a single, once-in-a-lifetime transfer from an IRA into an HSA, counted against that year's contribution limit.
- Beneficiaries: a spouse who inherits an HSA can keep it as their own HSA; for other beneficiaries the account generally stops being an HSA and the balance becomes taxable income.
- Excess contributions are subject to an excise tax unless withdrawn in time, so tracking employer and payroll contributions together matters.
An HSA rewards people who qualify, can afford to leave the balance alone and keep good records. For anyone choosing a plan this season, the starting point is the insurance comparison; the investment upside is a bonus on top. Current limits and eligibility rules are in IRS Publication 969.
This article is for general information and education only and is not financial, investment, tax or legal advice. Consider your own circumstances and consult a licensed professional.
Frequently asked questions
Do I lose my HSA money if I don't spend it by year-end?
No. Unlike most flexible spending accounts, HSA balances roll over indefinitely and stay with you if you change jobs or health plans. You can keep the money invested for decades and use it for qualified medical expenses whenever they arise.
Can I still contribute to an HSA once I enroll in Medicare?
No. Once you are enrolled in any part of Medicare, you can no longer make HSA contributions, though you can keep spending the existing balance. Medicare Part A enrollment can be backdated when you sign up after 65, so people planning to work past 65 often check the timing carefully.
What happens if I use HSA money for something that is not a medical expense?
The withdrawal is added to your taxable income, and before age 65 it generally also incurs a 20% additional tax. After 65, or if you become disabled, the additional tax no longer applies, so non-medical withdrawals are taxed much like traditional IRA distributions.