What Is an HSA? Triple Tax-Advantaged Account

Photo: Leeloo The First / Pexels
If the IRS designed an account specifically to seduce financially-literate Americans, it would look like a Health Savings Account (HSA). No other US tax-advantaged account gets all three tax breaks at once — and used correctly, it functions as a stealth retirement account that beats a 401(k) and a Roth IRA on tax math alone.
Educational only — not financial advice. Investing involves risk of loss; past performance does not guarantee future results. Consult a licensed financial advisor before making investment decisions.
The catch: you need a specific kind of health insurance to qualify, and most people use the HSA the wrong way.
The Triple Tax Advantage
Every other tax-advantaged account in the US tax code gets two of these three breaks. An HSA gets all three:
- Contributions are tax-deductible — you don't pay income tax on money you put in. Through payroll, you also avoid FICA (Social Security + Medicare, 7.65%).
- Growth is tax-free — dividends, interest, capital gains inside the HSA aren't taxed.
- Qualified withdrawals are tax-free — money pulled out for qualified medical expenses is never taxed.
Compare:
| Account | Contributions | Growth | Withdrawals |
|---|---|---|---|
| HSA (medical) | Tax-free | Tax-free | Tax-free |
| Traditional 401(k) / IRA | Tax-free | Tax-free | Taxable |
| Roth 401(k) / IRA | Taxable | Tax-free | Tax-free |
| Taxable brokerage | Taxable | Taxable | Taxable (cap gains) |
| FSA | Tax-free | None (use-it-or-lose-it) | Tax-free |
That FICA exemption on payroll contributions is unique to the HSA. Even a 401(k) contribution still pays FICA.
Who Can Open One
To contribute to an HSA, you need to be enrolled in a High Deductible Health Plan (HDHP) and have no disqualifying coverage. The 2025 thresholds:
- HDHP minimum deductible: $1,650 individual / $3,300 family
- HDHP max out-of-pocket: $8,300 individual / $16,600 family
- HSA contribution limit: $4,300 individual / $8,550 family
- Catch-up (age 55+): additional $1,000
Disqualifying coverage that blocks HSA contributions:
- Regular (non-HDHP) health insurance
- A general-purpose FSA (limited-purpose FSAs are okay)
- Medicare enrollment (Part A counts — and you're auto-enrolled at 65 if you take Social Security)
- Being claimed as a dependent
You can hold an HSA after losing HDHP coverage; you just can't contribute new money.
How an HSA Actually Works
Money goes in (usually via payroll deduction for the FICA savings, but you can also contribute directly and deduct on your tax return). It sits in a cash or investment account. You can use a debit card or reimburse yourself for qualified medical expenses.
Qualified medical expenses are defined in IRS Publication 502 — wider than most people realize:
- Doctor, dentist, vision, mental health
- Prescriptions, most OTC drugs (post-2020 CARES Act), insulin
- Diagnostic tests, hospital bills, surgery
- Physical therapy, chiropractic, acupuncture
- LASIK, orthodontia
- Long-term care premiums
- COBRA premiums when between jobs
- Medicare premiums (Parts B, D, Advantage) after 65 — but not Medigap
- Travel for medical care
What's NOT qualified: gym memberships (without prescription), cosmetic procedures, vitamins (without prescription), most life insurance, regular health insurance premiums (under 65).
The "Stealth IRA" Strategy
This is where the HSA becomes a wealth-building tool. The Mad Fientist popularized the approach in the FIRE (Financial Independence, Retire Early) community around 2014, though tax planners had been using it earlier.
The strategy:
- Max your HSA every year.
- Pay current medical expenses out of pocket — from your regular bank account.
- Save every receipt (paper or scanned).
- Invest the HSA aggressively — most providers let you put it in index funds once your balance exceeds a small cash threshold.
- Let it compound for 20–40 years, tax-free.
- Reimburse yourself anytime — there's no statute of limitations on HSA reimbursements for past qualified expenses, as long as the expense was after you opened the HSA.
The result: you've converted what was a medical account into a tax-free brokerage account, with the ability to pull money out tax-free anytime you want (using accumulated receipts).
At age 65, the rules get even better. After 65, non-medical withdrawals are taxed at ordinary income rates (like a Traditional IRA) — no 20% penalty. So worst-case, an HSA functions as a Traditional IRA. Best-case, it's tax-free forever.
A 30-Year Example
Suppose at age 35 you start maxing a family HSA at $8,550/year (rising with inflation). You pay all medical bills out of pocket. You invest the HSA in a low-cost index fund averaging 7% real return.
After 30 years at age 65:
- Total contributed: roughly $256,000 (nominal, ignoring increases)
- Account value at 7% real: roughly $870,000
- Out-of-pocket medical expenses you paid along the way: maybe $60,000 in saved receipts
You can withdraw that $60,000 tax-free, today, by submitting old receipts. The remaining $810,000 grows on, withdrawable tax-free for any future medical expense (and Medicare premiums will easily consume hundreds of thousands over a long retirement).
For comparison and context on retirement accounts more broadly, see Roth vs Traditional explained and our FIRE movement guide.
Best HSA Providers
The HSA your employer offers is usually a payroll convenience — not the best long-term home. You can do an HSA transfer (once a year, via "trustee-to-trustee" rollover) to a better provider without tax consequences.
Top options:
- Fidelity HSA — no fees, no minimums, invest from $1, full brokerage access. Widely considered the best.
- Lively — clean interface, no fees, partners with Schwab for investments.
- HSA Bank — large, used by many employers, decent investment options but some fees.
- Optum / HealthEquity — common employer defaults but historically higher fees and more friction.
The employer HSA matters mainly for the payroll FICA exemption — once a quarter or year, sweep your balance to Fidelity.
HSA vs FSA vs LSA
People confuse these constantly. They are not the same.
| Feature | HSA | FSA | LSA |
|---|---|---|---|
| Requires HDHP | Yes | No | No |
| Annual contribution limit (2025) | $4,300 / $8,550 | $3,300 | Employer-set |
| Use-it-or-lose-it | No (roll over forever) | Yes (with small carryover) | Yes typically |
| Investable | Yes | No | No |
| Portable | Yes (you own it) | No (tied to employer) | No |
| Used after age 65 | Yes (incl. non-medical) | No | Varies |
LSAs (Lifestyle Spending Accounts) are an emerging perk — typically taxable, employer-funded, for things like gym memberships, wellness, education. They have nothing to do with medical tax advantages.
When an HDHP Doesn't Make Sense
The HSA is great, but you only get one by having a High Deductible Health Plan. That means a large up-front cost if you get sick.
HDHPs are best for:
- Healthy individuals or families with low expected medical use
- People who can comfortably pay the full deductible out of pocket
- High earners maxing tax-advantaged space who want more shelter
- People planning expensive but predictable procedures (so they can hit the deductible deliberately)
HDHPs are usually worse for:
- People with chronic conditions (regular specialist visits, expensive medications)
- Families planning pregnancy (high-cost year)
- People who can't afford the deductible without going into debt
- Low-income workers — the tax break is worth less in lower brackets
Run the math: total premiums + expected out-of-pocket + HSA tax savings vs the equivalent PPO total cost. The HDHP often wins for healthy people but loses for chronically ill people.
Common Mistakes
- Spending the HSA on current bills. You miss the compounding. Pay out of pocket, save receipts, invest the HSA.
- Leaving it in cash. Many HSAs default to a low-yield cash sweep. Move it to investments.
- Stopping contributions when you switch off an HDHP. Contribute the prorated max for the months you were eligible.
- Forgetting Medicare blocks contributions. If you're approaching 65 and want to keep contributing, delay Medicare enrollment and Social Security carefully.
- Not transferring out of an employer HSA. Roll to Fidelity for better investment options.
- Losing receipts. No receipts, no tax-free reimbursement later. Scan everything.
For more on building tax-efficient wealth, see asset allocation explained.
FAQs
Q: Can I have an HSA without high-deductible insurance? A: You can keep an existing HSA, but you can't contribute to it without an active HDHP and no disqualifying coverage. You can still invest the existing balance and use it for qualified expenses indefinitely.
Q: What happens to my HSA if I change jobs? A: You own it. The HSA stays with you regardless of employment, and you can transfer it to any HSA provider you like via a trustee-to-trustee rollover. Unlike an FSA, nothing is lost.
Q: Can I use my HSA for things other than medical expenses? A: Before 65, yes — but you pay ordinary income tax plus a 20% penalty. After 65, non-medical withdrawals are taxed as ordinary income with no penalty, functioning like a Traditional IRA.
Q: What if I have an HSA when I die? A: If your spouse is the beneficiary, the account becomes their HSA — full benefits preserved. For any other beneficiary, the account is liquidated and taxed as ordinary income in the year of death (no penalty).
Q: How much should I contribute to my HSA? A: If cash flow allows, max it every year. The triple tax break makes it the most efficient dollar you can shelter. Most planners prioritize: 401(k) match → HSA max → IRA → rest of 401(k) → taxable.
Q: Does Medicare disqualify me from contributing to an HSA? A: Yes. Once you enroll in any part of Medicare (including Part A automatically at 65 if you've taken Social Security), you can no longer contribute. You can still use the existing balance, including for Medicare premiums.
Sources
- IRS Publication 969 (2025). Health Savings Accounts and Other Tax-Favored Health Plans.
- IRS Publication 502 (2025). Medical and Dental Expenses.
- IRS Revenue Procedure 2024-25 (2025 HSA limits).
- Medicare Modernization Act of 2003.
- Devenir Research. 2024 Year-End HSA Market Statistics & Trends Report.
- The Mad Fientist. Definitive Retirement Account essay (2014, updated).
Follow new articles
Add SciHub101 to your feed reader to see new science and technology stories.
About the Author
SciHub101 is an independent science and technology publication founded and edited by Buğra Sözeri, a software engineer and app developer based in Türkiye. AI tools assist with drafting and research. Source documentation in the existing archive is uneven, and articles are being reviewed and corrected. The Editorial Team byline identifies editorial responsibility; it does not certify specialist or independent human review. Where we compare products, anything built by our own team is labelled as such — see the editorial guidelines and About page for how corrections and disclosures work.
Related Articles

Short Selling Explained — Betting Against Stocks
How short selling actually works: borrowing shares, unlimited losses, short squeezes, and the role of short sellers as fraud detectives.

The 4% Rule Explained — Safe Withdrawal Rate
Where the 4% retirement rule came from, what it really says, why critics push 3.25-3.5%, and how Bengen, Trinity, and modern updates compare.

How Personal Taxes Actually Work — Without the Jargon
The basics of US personal income tax are simpler than they look. Here is how brackets, deductions, credits, payroll taxes, and retirement accounts fit together, with worked numbers.

What Is FIRE? Financial Independence Retire Early
What is the FIRE movement? Financial Independence Retire Early explained — 4% rule, savings rates, leanFIRE vs fatFIRE, math, and criticisms.

Index Funds vs Active Funds — Which Wins?
Index funds vs active funds: S&P SPIVA data on 20-year results, fee gaps, the Sharpe arithmetic, and where active management can still make sense.

Countries with the Most Pension Fund Assets (2026 Update)
The 22 largest pension markets held about $68.3 trillion at the end of 2025, and the United States alone held roughly two-thirds. Measured against GDP, Denmark, Iceland, Switzerland, Canada, and the Netherlands lead. Here is how the rankings work and what they miss.