HSA as a Long-Term Tax Shelter
The HSA is the only triple-tax-advantaged account in the US tax code. How to use it as a long-term investment vehicle, the reimbursement strategy, and what most people get wrong about it.
Applies to
Anyone enrolled in a qualifying High Deductible Health Plan (HDHP) who wants to understand the full strategic value of an HSA beyond just paying current medical bills.
Skip if
You are not enrolled in a qualifying HDHP, or your employer offers a Health FSA that conflicts with HSA eligibility. Check your plan documents first.
TL;DR
- The HSA is the only account in the US tax code that is deductible going in, grows tax-free, and comes out tax-free — if used for qualified medical expenses. No other account does all three.
- The right strategy for high earners: contribute the max, invest the entire balance in index funds, pay medical expenses out of pocket, and save every receipt. Reimburse yourself years or decades later, tax-free.
- After age 65, an HSA functions as a traditional IRA for non-medical withdrawals — ordinary income tax applies but no penalty.
The triple-tax advantage
Every other common tax-advantaged account gets two of the three benefits. The HSA gets all three:
| Account | Deductible contribution | Tax-free growth | Tax-free withdrawal |
|---|---|---|---|
| Traditional 401k / IRA | ✓ | ✓ | ✗ (taxed on withdrawal) |
| Roth IRA / Roth 401k | ✗ | ✓ | ✓ |
| HSA (medical use) | ✓ | ✓ | ✓ |
| HSA (non-medical, age 65+) | ✓ | ✓ | ✗ (ordinary income, no penalty) |
| 529 Plan | ✗ | ✓ | ✓ (education only) |
This is unique. The HSA is the most tax-efficient vehicle available to eligible investors — yet most people use it as a checking account for copays.
2025 contribution limits
| Coverage | 2025 limit |
|---|---|
| Self-only HDHP | $4,300 |
| Family HDHP | $8,550 |
| Catch-up (age 55+, per person) | +$1,000 |
Contributions are adjustable throughout the year. You can contribute a lump sum or spread contributions monthly. The deadline is the tax filing deadline for the prior year (typically April 15). Verify current limits at IRS.gov each year.
HDHP requirements (2025):
- Minimum deductible: $1,650 (self-only) / $3,300 (family)
- Maximum out-of-pocket: $8,300 (self-only) / $16,600 (family)
The reimbursement strategy
This is the most underutilized feature of the HSA.
There is no deadline to reimburse yourself for qualified medical expenses. You can pay a medical bill in 2026, save the receipt, and reimburse yourself from the HSA in 2036 — or 2046 — tax-free. The IRS requires only that the expense was incurred after the HSA was established and that you have documentation.
The math: Suppose you have $5,000 in medical expenses in 2026. You pay out of pocket and invest the HSA contribution instead. That $5,000 grows at 7% for 20 years = $19,348. You then reimburse yourself $5,000 in 2046 — tax-free. You effectively compounded $5,000 into $19,348 with no tax at any point.
Keep every receipt. A dedicated folder (physical or digital) with date, provider, amount, and description for every qualified expense you ever paid out of pocket. This receipt bank grows over time and gives you a tax-free source of liquidity whenever you need it.
How to invest an HSA
Most HSA providers default to keeping balances in a low-interest cash account. This is a mistake for long-term wealth building.
- Check your provider’s investment options. Many allow you to invest once your balance exceeds a threshold ($1,000–$2,000 typically).
- Move excess cash to index funds. Same selection criteria as a taxable account: low expense ratio, low turnover, broad index.
- Keep a small cash buffer (one month of typical medical expenses) in the cash account for convenience, invest the rest.
- Switch providers if necessary. Fidelity and Lively offer HSAs with no fees and access to standard index funds including Vanguard and iShares ETFs. Many employer-provided HSAs have poor investment options and high fees.
You can transfer an HSA to a better provider once per year without tax consequences (a trustee-to-trustee transfer, not a rollover).
HSA after age 65
At age 65, the 20% penalty for non-medical withdrawals disappears. You can use HSA funds for any expense — housing, travel, general living — and pay only ordinary income tax. This makes the HSA equivalent to a traditional IRA for non-medical purposes.
But the tax-free medical withdrawal benefit remains. At age 65, Medicare premiums (Part B, Part D, Medicare Advantage), dental care, vision care, and most medical expenses still qualify as tax-free HSA withdrawals. For most retirees, healthcare is one of the largest expense categories — the HSA’s tax-free medical withdrawal benefit extends well into retirement.
What most content gets wrong
“Use your HSA to pay for healthcare.” This is the standard advice and it is the worst use of the account for high earners. Spending down an HSA on current medical bills converts a triple-tax-advantaged investment account into a slightly more convenient debit card. Pay out of pocket now. Invest the balance.
“You lose your HSA money if you don’t use it.” This is confusing HSAs with FSAs (Flexible Spending Accounts), which do have a use-it-or-lose-it feature. HSA balances roll over every year indefinitely. They are yours permanently.
“You can’t have an HSA with an FSA.” A regular Health FSA does disqualify HSA contributions. But a Limited Purpose FSA (dental/vision only) or Dependent Care FSA are compatible with an HSA.
“The HSA is only useful if you have high medical expenses.” The opposite is true for long-term wealth. If you have high medical expenses, the HSA helps you pay them pre-tax. If you have low medical expenses, the HSA becomes a second Roth IRA with a deduction — compounding tax-free for decades, reimbursable whenever you want.
Decision checklist
- Are you enrolled in a qualifying HDHP?
- Have you confirmed no conflicting FSA (other than Limited Purpose)?
- Are you contributing the annual maximum?
- Is the balance invested in index funds (not sitting in cash)?
- Are you paying current medical expenses out of pocket?
- Are you keeping every qualified medical receipt?
- Is your HSA provider offering low-fee index funds? If not, consider transferring.
- Is your spouse also enrolled and contributing (if eligible)?
When to call a CPA
- If you are enrolled in Medicare (Part A disqualifies HSA contributions — even voluntarily delayed enrollment)
- If you change health plans mid-year (proration rules apply)
- If you have an FSA conflict that is unclear from your plan documents
- If you want to confirm a specific expense qualifies as a medical expense
Sources
- IRC §223 — Health Savings Accounts
- IRS Publication 969 — HSAs and Other Tax-Favored Health Plans
- IRS Rev. Proc. 2025-19 — 2025 HSA contribution limits
- IRS Notice 2004-23 — HSA establishment date for reimbursement purposes
- IRC §213 — Medical expense definition (qualified HSA expenses)
Stay updated
New frameworks, calculators, and tax-aware analysis. No spam — unsubscribe any time.