HSA Investment Growth Calculator
Project your Health Savings Account balance at retirement and quantify the full triple-tax advantage — tax-free contributions, tax-free growth, and tax-free medical withdrawals. Compare your HSA's after-tax value against a taxable brokerage account and see a year-by-year projection table. Free, private, no sign-up required.
| Metric | HSA (Triple-Tax) | Taxable Brokerage | HSA Advantage |
|---|
| Year | Age | Your Contrib. | Employer | Growth | Balance | Cumul. Tax Savings |
|---|
What Is an HSA and How Does the Triple-Tax Advantage Work?
A Health Savings Account (HSA) is the only account in the U.S. tax code that offers a triple-tax advantage: contributions are tax-deductible, growth is tax-free, and qualified medical withdrawals are also tax-free. This trifecta makes the HSA arguably the most powerful savings vehicle available — outperforming even a Roth IRA for healthcare costs. According to IRS Publication 969, you must be enrolled in a High-Deductible Health Plan (HDHP) to contribute to an HSA. In 2026, the IRS set contribution limits at $4,300 for self-only HDHP coverage and $8,550 for family coverage (IRS Rev. Proc. 2025-19), with a $1,000 catch-up contribution allowed from age 55.
Unlike a Flexible Spending Account (FSA), HSA funds never expire — they roll over every year indefinitely. Most financial planners recommend investing HSA funds in low-cost index funds rather than keeping them in cash, letting decades of compound growth pile up tax-free. By retirement, a 35-year-old contributing $3,500/year at a 7% return could accumulate over $370,000 — entirely tax-advantaged.
HSA Contribution Limits and 2026 IRS Rules
The IRS adjusts HSA contribution limits annually for inflation. For 2026, per IRS Rev. Proc. 2025-19, the limits are:
- Self-only HDHP coverage: $4,300 per year (up from $4,150 in 2025)
- Family HDHP coverage: $8,550 per year (up from $8,300 in 2025)
- Catch-up contribution (age 55+): Additional $1,000 per year, any coverage type
- Employer contributions count toward the limit: If your employer contributes $1,000, you can only contribute up to $3,300 (self-only) or $7,550 (family) in 2026
To be eligible, your health plan must meet the IRS minimum deductible thresholds. In 2026, the minimum deductible is $1,650 for self-only and $3,300 for family coverage. If you are enrolled in Medicare, VA benefits, or a general-purpose FSA, you generally cannot contribute to an HSA. See healthcare.gov for HDHP eligibility details.
HSA as a Retirement Account: The Invest-and-Hold Strategy
Most people treat their HSA as a debit account for medical bills. The optimal strategy flips this: pay medical bills out-of-pocket now, save every receipt, and let the HSA compound untouched for decades. At age 65, HSA withdrawals for any purpose are taxed like a traditional IRA (ordinary income tax) — but qualified medical withdrawals remain completely tax-free forever. This gives the HSA a unique dual identity: a tax-free medical fund and a supplemental retirement account.
The invest-and-hold strategy works because of the IRS receipt rule — there is no deadline to reimburse yourself for past medical expenses. A $500 dental bill paid out-of-pocket at age 40 can be reimbursed tax-free from your HSA at age 65, effectively giving you a tax-free retirement withdrawal backed by a legitimate medical expense. Combined with 25 years of tax-free compound growth on that $500, the real value is dramatically higher.
HSA vs Roth IRA vs 401(k): Which Comes First?
Financial planners often rank contribution priority for tax-advantaged accounts. A common framework for HSA-eligible workers:
- First: Contribute to your 401(k) up to the employer match — that is a 50–100% instant return.
- Second: Max out your HSA — triple-tax beats double-tax every time for healthcare spending.
- Third: Max out your Roth IRA — $7,000/year ($8,000 if 50+) of tax-free growth for non-medical goals.
- Fourth: Return to your 401(k) up to the annual max ($23,500 in 2026).
The HSA edges out the Roth IRA specifically for medical expenses because Roth withdrawals are only tax-free after age 59½ (with a 5-year rule), while HSA qualified medical withdrawals are tax-free at any age. For the average retiree couple spending an estimated $165,000+ on healthcare (Fidelity 2024 Retiree Health Care Cost Estimate), a fully invested HSA is an essential part of the retirement plan. Sources: irs.gov, healthcare.gov. Last updated: May 2026.
Frequently Asked Questions
What is the 2026 HSA contribution limit?
For 2026, the IRS set the HSA contribution limit at $4,300 for self-only HDHP coverage and $8,550 for family HDHP coverage (IRS Rev. Proc. 2025-19). Adults age 55 and older can make an additional $1,000 catch-up contribution on top of these limits. Employer contributions count toward the annual limit, so if your employer deposits $1,000, your personal contribution room is reduced accordingly. You must be enrolled in a qualifying High-Deductible Health Plan (HDHP) to contribute.
What is the HSA triple-tax advantage?
The HSA triple-tax advantage means: (1) Contributions are tax-deductible — you reduce your taxable income dollar-for-dollar when you contribute. (2) Investment growth inside the HSA is tax-free — dividends, capital gains, and interest accumulate without annual tax. (3) Qualified medical withdrawals are tax-free at any age — no income tax, no penalty. No other U.S. account offers all three. A 401(k) is only single-tax-advantaged (pre-tax in, taxed out). A Roth IRA is double-tax-advantaged (post-tax in, tax-free out). Only the HSA delivers all three layers.
Can I invest my HSA in stocks and index funds?
Yes. Most HSA custodians (Fidelity, Lively, HSA Bank, HealthEquity) allow you to invest your HSA balance in mutual funds, ETFs, and sometimes individual stocks once your balance exceeds a threshold (commonly $1,000–$2,000). Fidelity HSA has no investment threshold and no monthly fees. Investing your HSA is highly recommended if you can pay current medical expenses out-of-pocket — compound growth inside the tax-free account dramatically increases long-term value. Keep enough cash for expected near-term medical costs, invest the rest.
What happens to my HSA at age 65?
At age 65, the 20% penalty for non-medical HSA withdrawals disappears. You can withdraw funds for any reason, paying only ordinary income tax — identical to a traditional IRA. Qualified medical withdrawals remain completely tax-free forever. This gives your HSA a dual role: tax-free medical fund and penalty-free supplemental retirement account. Note that enrolling in Medicare makes you ineligible for new HSA contributions, though your existing balance can still be invested and withdrawn.
How do I calculate the tax savings from HSA contributions?
Tax savings from HSA contributions equal your total contributions multiplied by your marginal tax rate. For example, if you contribute $4,300 at a 24% combined federal and state marginal rate, you save $1,032 in taxes that year. Over 30 years of contributions, this compounds substantially. This calculator shows both the direct contribution tax savings and the avoided capital gains taxes on investment growth — the two hidden multipliers that make the HSA so powerful versus a taxable brokerage account.
Can I use HSA funds for non-medical expenses?
Yes, but with a penalty before age 65. Withdrawing HSA funds for non-qualified expenses before age 65 triggers a 20% penalty plus ordinary income tax on the amount — making it a poor choice for non-medical spending. After age 65, the 20% penalty disappears and only ordinary income tax applies (like a traditional IRA). Qualified medical expenses include deductibles, copays, prescriptions, dental, vision, and hundreds of other items listed in IRS Publication 502. Long-term care insurance premiums are also eligible.