A Health Savings Account (HSA) can hold cash and, at many custodians, mutual funds or ETFs. The tax design is unusually strong: contributions can be pre-tax (or deductible), growth can be tax-deferred, and qualified medical withdrawals can be tax-free. Investing the balance only makes sense after you can pay a near-term deductible without selling funds in a down market.
Account mechanics and HSA vs FSA differences live in HSA and FSA basics. This guide is the next step: cash floor vs invested surplus.
Cash floor first
Keep enough HSA cash (or linked checking you can repay the HSA for) to cover:
- Your remaining HDHP deductible for the plan year
- A slice of expected copays/coinsurance if you have ongoing care
- Any known procedure already scheduled
Size that number with Health insurance deductibles and your SBC—not with last year’s market return. Pair it with a household emergency fund outside the HSA so a job gap does not force medical-market timing.
| Bucket | Keep as | Why |
|---|---|---|
| Near-term medical (≤12 months) | HSA cash / money market inside HSA | Avoid selling funds to pay a deductible |
| True surplus above that floor | Low-cost stock/bond funds in the HSA | Long horizon; tax-advantaged growth |
| Non-medical emergency | Taxable HYSA / checking | Job loss is not an HSA-qualified expense |
How investing usually works at custodians
Fidelity, Lively, HealthEquity, and many employer-linked custodians let you:
- Hold contributions in an HSA cash sweep or interest-bearing cash
- Transfer surplus into an investment menu (index funds, target-date funds, ETFs)
- Sell back to cash before a big qualified withdrawal if needed
Read the custodian’s investment threshold (some require $1,000+ cash before investing), expense ratios, and trade fees. Fund choice follows the same low-cost logic as Investing basics for beginners—broad index funds beat high-fee “health sector” gimmicks for most people.
Worked example
Alex has an HDHP with a $3,200 deductible, $2,800 already in HSA cash, and $150/paycheck HSA contributions. No big care planned this year beyond routine.
| Decision | Amount | Vehicle |
|---|---|---|
| Keep liquid in HSA | $3,200 | Cash / HSA money market |
| Invest surplus | $0 today; future contributions above $3,200 | Total-market index fund, 0.03%–0.05% ER |
| Outside HSA | 3 months expenses | HYSA emergency fund |
If Alex instead invested the entire $2,800 and then needed a $2,500 MRI patient share after a market dip, Alex might sell shares at a loss or float the bill on a medical card—worse than keeping the deductible in cash. Pay claims with HSA cash when possible; compare any leftover financing in Medical bills and insurance.
Triple tax advantage without the brochure gloss
- Contribution — Payroll HSA deferrals are usually pre-tax; direct contributions may be deductible (IRS limits apply; employer deposits count toward the cap—see HSA contribution limits).
- Growth — Interest, dividends, and capital gains inside the HSA are not taxed year by year like a taxable brokerage.
- Qualified withdrawal — IRS-qualified medical expenses can come out tax-free. Non-qualified withdrawals before 65 generally add income tax plus a penalty; after 65, non-medical withdrawals are taxed like a traditional IRA distribution (penalty rules differ—verify current IRS Publication 969).
Receipts matter. Many people pay medical bills from checking, save receipts, and reimburse themselves from the HSA years later—if the custodian and IRS rules still allow that documentation trail. Keep PDFs.
HSA investing vs Roth IRA / 401(k)
Priority for many HDHP households:
- Capture any employer HSA contribution
- Fund HSA enough for the deductible cash floor
- Get the full 401(k) match (Roth IRA vs 401(k) starter)
- Invest HSA surplus and/or Roth/401(k) beyond the match based on tax situation and time horizon
An HSA is not a substitute for retirement accounts, but invested HSA dollars used for future Medicare premiums, dental, or long-term care (when qualified) can act like a stealth medical retirement bucket—full path: Using an HSA for retirement healthcare.
Mistakes to avoid
- Investing the last dollar before the deductible is funded
- High-fee actively managed “HSA special” funds when a 0.03% index exists
- Treating HSA debit swipes for non-qualified groceries as “investing strategy”
- Ignoring fees when leaving a job—compare rollover to a low-cost custodian (Fidelity, etc.) vs a pricey ex-employer platform
- Skipping EOBs and eligibility checks before big withdrawals
After the cash-floor decision, shop fees and fund menus: Compare HSA custodians for investing.
Checklist
- Write your remaining deductible and near-term medical cash need.
- Park at least that amount in HSA cash (or document a reimbursement plan).
- Confirm custodian investment minimums, ER, and transfer steps.
- Invest only surplus in broad, low-cost funds.
- Save itemized receipts for every medical outlay you might reimburse later.
- Recheck IRS HSA contribution limits each year at open enrollment.
Educational only. Not tax, investment, or medical advice. Contribution limits, qualified expenses, and penalty rules change; verify IRS.gov and your plan documents for the current year.