There's an account with tax benefits a Roth IRA and a Traditional IRA can't match on their own.
It's the HSA (Health Savings Account).
The tax advantages:
- Tax-deductible contributions (like a Traditional IRA)
- Tax-free growth (like a Roth IRA)
- Tax-free withdrawals for qualified medical expenses (better than both)
It's the only account that gives you all three. The catch is in the third one: it only applies when the money goes to qualified medical expenses.
The numbers below use 2026 IRS limits and stated assumptions. They are examples, not predictions.
What Is an HSA?
HSA = Health Savings Account
Requirements to qualify:
- You must be covered by a High-Deductible Health Plan (HDHP)
- You can't be enrolled in Medicare
- You can't be claimed as a dependent on someone else's return
- You generally can't have other disqualifying coverage
2026 HDHP definition (IRS Rev. Proc. 2025-19):
- Minimum deductible: $1,700 self-only / $3,400 family
- Maximum out-of-pocket: $8,500 self-only / $17,000 family
2026 contribution limits (same IRS notice):
- Self-only coverage: $4,400
- Family coverage: $8,750
- Age 55+ catch-up: +$1,000
The money is yours. It rolls over from year to year (unlike an FSA) and stays with you if you change jobs.
The Triple Tax Advantage Explained
Benefit 1: Tax-Deductible Contributions
You contribute $4,400. Your taxable income drops by $4,400.
Tax bracket 24%: federal tax saved $1,056.
If you contribute through payroll at work, you generally also avoid the 7.65% Social Security and Medicare payroll tax on that amount, about $337 more. (Contributions you make on your own are deducted on your return instead, which doesn't save payroll tax.) A few states don't follow the federal treatment, so check yours.
Benefit 2: Tax-Free Growth
At 7% a year, a one-time $4,400 grows to about $33,494 in 30 years. The $29,094 of growth is untaxed.
Benefit 3: Tax-Free Withdrawals (for Qualified Medical Expenses)
Withdraw for qualified medical costs and you owe no income tax.
Compare:
- Roth IRA: tax-free out, but you paid tax going in
- Traditional IRA: deductible going in, but taxed coming out
- HSA: untaxed going in and coming out, if the money is used for qualified medical expenses
HSA vs Roth IRA: Putting a Number on It
To compare fairly, both accounts have to cost you the same out of pocket.
Assumptions: 24% tax rate, 7% annual return, 30 years, end-of-year contributions, all HSA money used for qualified medical expenses.
- HSA: contribute $4,400 a year, which costs you $3,344 after the 24% deduction
- Roth IRA at the same cost: contribute $3,344 a year after tax
| After 30 years | HSA | Roth IRA (same cost) |
|---|---|---|
| Contributions | $132,000 | $100,320 |
| Balance | $415,627 | $315,877 |
| Taxes on withdrawal | $0 (medical use) | $0 |
The HSA ends $99,751 ahead, but only if the money is spent on qualified medical expenses. The difference is the 24% deduction you got on the way in. If you withdraw for non-medical purposes after 65, the HSA is taxed like a Traditional IRA, and at equal tax rates it comes out the same as a Roth.
The Strategy: Don't Touch It (If You Can Afford To)
The common approach: contribute, then pay for every doctor visit from the HSA. The balance stays low and little is invested.
The long-term approach:
- Contribute to the HSA and invest it
- Pay medical expenses out of pocket if your budget allows
- Keep the receipts
- Reimburse yourself later, tax-free
The IRS sets no deadline for reimbursing yourself, as long as the expense was a qualified medical expense incurred after you opened the HSA. Expenses from before you opened it don't count.
Keeping the money invested only works if you can comfortably pay current bills from your regular cash. If paying out of pocket would strain you, using the HSA directly is a perfectly good use of it.
Example: A 35-Year HSA
Assumptions: self-only coverage, $4,400 a year from age 30 to 65 (held flat at the 2026 limit; the limit is indexed to inflation, so this understates it), 7% a year, end-of-year contributions.
- Total contributions: $154,000
- Balance at 65: about $608,242
Suppose you also paid $100,000 of qualified medical expenses out of pocket over those 35 years and kept every receipt (hypothetical).
At 65 you have options:
- Reimburse the $100,000 of old receipts: tax-free, spendable on anything
- Pay current medical costs tax-free, including Medicare Part B and Part D premiums and long-term care insurance premiums (within IRS limits)
- Withdraw for anything else: taxed as ordinary income, but no 20% penalty after 65
Medigap premiums can't be paid from an HSA, and neither can Marketplace (ACA) premiums. See below.
How to Invest Your HSA
Many people leave the HSA in cash. For short-term medical costs that's fine. For money you won't touch for decades, it forgoes growth.
At 7% a year, $50,000 left for 30 years becomes about $380,613 invested, versus $50,000 in cash.
Step 1: Meet the provider's cash minimum. Many providers require a set balance (often $1,000 to $2,000) before you can invest the rest. Check yours.
Step 2: Choose investments to match your timeline. Options depend on the provider: index funds, target-date funds, bond funds. How much risk to take depends on how soon you'll need the money, not on the account type. Treat it like the rest of your retirement money if you won't touch it for decades.
Step 3: Compare fees. HSA custodians differ in account fees and investment costs.
The Receipt Strategy
Every medical expense you pay out of pocket:
- Save the receipt or explanation of benefits (scan or photograph it)
- Store it in cloud storage
- File it by year
You need to be able to show the expense was a qualified medical expense and wasn't reimbursed or deducted elsewhere. Pub 969 explains the record-keeping requirements.
Where an HSA Fits in Your Priorities
A common order for retirement saving:
- โ 401(k) up to the employer match (free money)
- โ HSA, if you're eligible ($4,400 self-only / $8,750 family in 2026)
- โ Roth IRA ($7,500 in 2026)
- โ More 401(k) (the 2026 deferral limit is $24,500)
Why the HSA often comes before the Roth IRA:
- Deduction on the way in, tax-free growth, and tax-free medical withdrawals
- Flexible use: medical bills now, or retirement later
It's not strictly "better" than a Roth. Roth contributions (not earnings) can also be withdrawn at any time without tax or penalty, and a Roth has no required distributions. Which one fits depends on your situation.
The High-Deductible Health Plan Trade-Off
To contribute to an HSA you need an HDHP. That means a higher deductible and more cost exposure.
Hypothetical comparison (premiums are illustrative; use your own plan's):
Option A: PPO (low deductible)
- Premium: $400/month = $4,800/year
- Deductible: $500
- Employer HSA contribution: $0
Option B: HDHP
- Premium: $200/month = $2,400/year
- Deductible: $1,700 (the 2026 minimum for self-only)
- Employer HSA contribution: $500
Cash difference: premium savings $2,400 + employer HSA $500 = $2,900 a year in favor of Option B.
Extra exposure: the deductible is $1,200 higher ($1,700 vs $500), and the out-of-pocket maximum can be higher too (up to $8,500 self-only for an HDHP). So if you have a bad health year, the HDHP can cost more. In an average or healthy year it can cost less, and the HSA contributions add the tax savings described above.
Compare actual plans, including the out-of-pocket maximum, before choosing. The HDHP isn't automatically cheaper for everyone.
HSA After Age 65
Before 65:
- Qualified medical withdrawals: tax-free
- Non-medical withdrawals: income tax plus a 20% additional tax
After 65:
- Qualified medical withdrawals: tax-free
- Non-medical withdrawals: income tax only, no 20% additional tax
Medicare matters: once you're enrolled in Medicare, your HSA contribution limit is zero (the IRS counts from the first month of enrollment). Enrolling in Social Security benefits can trigger automatic enrollment in Medicare Part A, so plan ahead if you want to keep contributing.
Common HSA Mistakes
Mistake 1: Spending it all on current bills when you could invest part of it. Do what your budget allows.
Mistake 2: Leaving a large long-term balance in cash.
Mistake 3: Not saving receipts. No documentation, no tax-free reimbursement.
Mistake 4: Taking non-medical withdrawals before 65. Income tax plus the 20% additional tax.
Mistake 5: Forgetting employer contributions count. If your employer puts in $1,000, you can add $3,400 more on self-only coverage in 2026, not $4,400.
Mistake 6: Contributing after Medicare starts. That creates excess contributions.
Mistake 7: Expecting the HSA to cover Marketplace premiums. It can't (see below).
HSA Contribution Limits (2026)
Self-only coverage:
- Under 55: $4,400
- Age 55+: $5,400 (with $1,000 catch-up)
Family coverage:
- Under 55: $8,750
- Age 55+: $9,750
Both spouses 55 or older: the family limit is $8,750 plus $1,000 for each spouse, $10,750 total, but each spouse must make their own catch-up contribution to their own HSA.
Employer contributions count toward the limit.
A 30-Year Projection
Contribute at the full limit from age 35 to 65, 7% a year, end-of-year, limits held flat at 2026 levels:
| Coverage | Annual | Total contributions | Balance at 65 |
|---|---|---|---|
| Family | $8,750 | $262,500 | $826,532 |
| Self-only | $4,400 | $132,000 | $415,627 |
These assume no employer contributions and a steady 7% (real returns vary; some years will be negative).
That balance can be withdrawn tax-free for qualified medical expenses. That includes Medicare Part B and D premiums, prescriptions, and long-term care insurance premiums within IRS limits, but not Medigap.
HSA for Early Retirement
If you retire before 65 you lose employer coverage until Medicare starts.
What an HSA can pay for before 65:
- Out-of-pocket medical costs, deductibles and copays
- COBRA premiums
- Health coverage premiums while you receive unemployment compensation
What it generally cannot pay for: Marketplace (ACA) premiums. IRS Pub 969 limits the insurance premiums an HSA can pay for to long-term care insurance, COBRA, coverage while receiving unemployment compensation, and Medicare-related coverage after 65 (other than Medigap).
So an HSA helps cover medical costs in early retirement, but it won't cover a Marketplace premium. See Retire at 55 vs 65 for the bridge-coverage options.
The Bottom Line
An HSA is one of the best tax-advantaged accounts available, if you have a qualifying plan and can use it for medical costs.
The tax advantages:
- Deduction going in
- Tax-free growth
- Tax-free withdrawals for qualified medical expenses
The strategy:
- Contribute as much as you can comfortably afford
- Invest what you won't need soon
- Keep every receipt
- Don't use it for non-medical spending before 65
- Stop contributing once Medicare starts
Sources
- IRS Rev. Proc. 2025-19: 2026 HSA contribution limits, HDHP minimum deductibles and out-of-pocket maximums
- IRS Publication 969: Health Savings Accounts and Other Tax-Favored Health Plans: qualified expenses, insurance premiums, 20% additional tax, Medicare, catch-up and employer contributions
- IRS: 401(k) limit increases to $24,500 for 2026, IRA limit increases to $7,500: 401(k) and IRA limits
More Ways to Master Your Finances
Ready to take control of your money? Visit CashWise.app for:
- Free financial calculators - No signup required
- Portfolio tracking - Monitor your investments in one place
- Stock backtesting - Test strategies with historical data
- Educational resources - Guides on debt, investing, and retirement
Create a free account to save your calculations and track your progress.
Project Your Savings Growth
Use the Retirement Calculator to:
- Project how a yearly contribution could grow over time
- See how different contribution levels change your balance
It does not model HSA rules or compare an HSA with a Roth IRA, so use the tables in this lesson for that.
Previous: Tax-Loss Harvesting: Turn Investment Losses Into Tax Savings
Next: Roth IRA vs Traditional IRA - The tax game that determines your retirement wealth.