QuickUse Calculator

The HSA strategy: how to actually use the triple tax advantage

How to use a Health Savings Account as a stealth retirement vehicle. The triple tax advantage explained, when HDHP makes sense, the receipt strategy, and the HSA-investing pitfalls most people miss.

QuickUse Editorial β€” US team avatarBy US Personal Finance & Tax Editorial Team8 min read
HSAHDHPHealth InsuranceRetirementTax Planning

The HSA is the most underused tax-advantaged account in personal finance. Most people who have one treat it as a debit card for current medical bills, which is fine, but misses the structural advantage. Done right, an HSA functions as a retirement account with better tax treatment than a 401(k) or IRA.

This post walks through how to use an HSA to compound long-term wealth instead of spending current dollars. The math is reproducible in our HDHP vs PPO calculator and the retirement calculator. Most of this assumes you qualify (HDHP coverage and not yet on Medicare); if you do not, much of this still helps you understand whether to switch.

What the triple tax advantage actually means

Three tax breaks stack on top of each other in an HSA. This is unique among US tax-advantaged accounts.

1. Contributions reduce your taxable income. If you contribute $4,000 in a year and your federal marginal bracket is 24%, you save $960 in federal tax that year. State tax savings stack on top in most states (more on the exceptions later). For employees, contributions through payroll also escape the 7.65% FICA tax β€” direct contributions outside payroll do not.

2. Growth is tax-free. Money in the HSA can be invested in mutual funds, ETFs, individual stocks, depending on the custodian. Dividends, interest, and capital gains all accumulate without tax. Compare to a taxable brokerage where dividends are taxed annually.

3. Qualified withdrawals are tax-free. Medical expenses (broadly defined: deductibles, copays, dental, vision, prescription drugs, lab tests, mental health, fertility treatment, much more) come out of the HSA tax-free at any age. The IRS Publication 502 lists what qualifies.

No other account offers all three. A traditional 401(k) gives the contribution deduction and tax-free growth, but withdrawals are taxed. A Roth gives tax-free growth and tax-free withdrawals, but contributions are post-tax. The HSA stacks all three.

Who qualifies

You can contribute to an HSA only if you have HDHP coverage and no other disqualifying coverage. The 2026 thresholds (verify against IRS Rev Proc 2025-XX before relying on these):

  • HDHP minimum deductible: $1,650 self / $3,300 family
  • HDHP maximum out-of-pocket: $8,300 self / $16,600 family

Disqualifying coverage includes most non-HDHP health plans, full-purpose FSA, Medicare, TRICARE, and being claimed as a dependent on someone else's tax return. A limited-purpose FSA (dental and vision only) is compatible with an HSA.

Once you enroll in Medicare (typically at age 65), your HSA contribution eligibility ends. The HSA itself stays alive β€” you just cannot add new money. This is why HSA strategy gets a hard cap at age 65 for most people, and why maxing pre-65 matters.

The optimal contribution and spending strategy

The textbook play has three steps. Most people do step 1 only. The compounding magic is in steps 2 and 3.

Step 1. Max the contribution. $4,400 single or $8,800 family in 2026. If through payroll, the FICA savings make this even better than a 401(k) deferral.

Step 2. Pay current medical expenses out of pocket. Save receipts. The IRS allows you to reimburse yourself from the HSA at any future date for any qualified medical expense incurred since you opened the account. There is no time limit. This is the key insight that most HSA holders miss.

Step 3. Invest the HSA. Move the cash balance from the default 0.05% savings sweep into mutual funds or ETFs. Most HSA custodians require a minimum cash balance ($1,000-2,000) before investing β€” fund that minimum from cash flow if needed.

Twenty years later, you have a HSA balance that grew at market rates plus a stack of medical receipts you can use to reimburse yourself tax-free at any time. Effectively, you converted current medical spending into a tax-free retirement nest egg with the receipts as the unlock key.

Worked example. Family contributing $8,000/year for 25 years at 7% real return = $506,000 HSA balance. If you have $40,000 in saved receipts, you can withdraw $40,000 tax-free at any time. The remaining $466,000 is available for future qualified medical (still tax-free) or for non-medical use after age 65 (taxed as ordinary income, like a traditional IRA β€” but with no early withdrawal penalty after 65).

When HDHP makes sense (and when it does not)

HDHP only wins if you can absorb the deductible without raiding your emergency fund. The deductible can be $3,000-7,000 before the plan starts paying. If a family member has a chronic condition with predictable annual cost above the HDHP deductible, the HDHP usually loses on premium savings vs out-of-pocket exposure.

For relatively healthy individuals or families with low expected medical use, HDHP + HSA combo typically wins by $2,000-5,000/year vs PPO. The HDHP premium is usually $100-300/month lower than PPO, and the HSA contribution turns into compounding wealth.

The risk asymmetry matters. PPO is predictable: low deductible, high premium, you spend roughly the same regardless of usage. HDHP has variance: low premium, high deductible, you can have a great year (saved $3,000) or a terrible year (paid $5,000 out of pocket). The HSA is the buffer that absorbs the bad years.

Run the comparison through our HDHP vs PPO calculator with your real plan options. The output shows expected total cost across multiple usage scenarios.

State tax exceptions

Most states follow federal HSA tax treatment. Three notable exceptions:

California taxes HSA contributions, gains, dividends, and interest on the state return. The HSA still gets the federal deduction but loses the state tax wrapping. Reduces the value of the HSA strategy by 5-10% effective tax depending on bracket. Not enough to abandon the HSA, but worth knowing.

New Jersey also taxes HSA contributions and gains at the state level. Similar effect to California.

Washington and Tennessee had specific issues that have been resolved in recent legislation, but worth checking with a CPA if you live there.

Other states fully recognize HSA. The federal advantages still apply nationwide.

Common mistakes

Treating it like an FSA. FSA dollars are use-it-or-lose-it within the year. HSA dollars roll over forever. Spending the HSA balance every year defeats the compounding strategy entirely.

Leaving it all in cash. Default sweep accounts pay 0.05-0.5% APY in 2026. Investing the balance in a low-cost index fund averages 7-10% nominal long-term. The opportunity cost on $50k-100k of cash is enormous.

Forgetting the receipts. The reimburse-yourself-later strategy requires actual receipts. Lose them and the corresponding withdrawal becomes taxable. Scan and store digitally β€” DropBox, Google Drive, dedicated apps like ReceiptsHub, anywhere you can find them in 20 years.

Contributing after Medicare enrollment. Medicare disqualifies HSA contributions starting the month you enroll. Continuing to contribute triggers a 6% excise tax on the excess. Stop contributing before Medicare effective date β€” easy to forget if HSA is auto-deducted from payroll.

Choosing the wrong custodian. Not all HSA custodians have low-fee investing. Fidelity, HealthEquity, Lively offer reasonable terms. HSA Bank and some legacy options charge $3-5/month maintenance fees that erode small balances. Roll over to a better custodian if needed β€” HSA-to-HSA transfers are free and unlimited.

Try the calculator

Calculators mentioned in this post:

Frequently asked questions

Can I use HSA money for my spouse and children?

Yes. HSA dollars cover qualified medical expenses for you, your spouse, and any tax dependents β€” even if the spouse and dependents are not on the HDHP plan. So a parent on HDHP family coverage can use HSA dollars for dependent kids on a separate plan.

What happens to the HSA when I die?

If your spouse is the beneficiary, the HSA transfers to them and continues as their HSA. If anyone else (child, sibling, charity), the HSA terminates and the remaining balance is taxable income to the beneficiary in the year of death. This makes spouse beneficiary the strongly preferred default. Make sure to designate explicitly β€” without a designation, the HSA goes to the estate and gets the full taxable treatment regardless of who eventually inherits it.

Can I contribute to an HSA if I switch jobs mid-year?

Yes, with proration. You can contribute the full annual limit if you have HDHP coverage on December 1 and maintain it through the following year (last-month rule). If you only have HDHP for part of the year and not December 1, the limit is prorated based on the months covered.

Do I have to use the HSA from my current employer?

No. You can keep your existing HSA when changing jobs and contribute via payroll deduction at the new employer if they offer that option, OR contribute directly to your existing HSA outside payroll (loses the FICA savings but keeps the federal income tax deduction). Many people accumulate multiple HSAs over a career and consolidate them into one account.

Can the HSA cover health insurance premiums?

Generally no, with specific exceptions. The HSA cannot pay regular health insurance premiums. It CAN pay for COBRA premiums, long-term care insurance premiums (within limits), Medicare premiums after age 65, and unemployment-period health insurance. Active employees paying private health insurance premiums for non-HDHP coverage cannot use HSA funds.

What if I withdraw HSA money for non-medical use before 65?

Taxable as ordinary income PLUS 20% penalty. The penalty makes early non-medical withdrawal a bad idea. After age 65, the penalty disappears β€” non-medical withdrawals are just taxed as ordinary income, equivalent to a traditional IRA. This age-65 transition is why HSA functions as a retirement vehicle: full medical flexibility throughout life, plus general retirement use after 65.

Sources