Both the HSA and the Roth IRA offer tax-free growth — a powerful feature you can't get in a regular brokerage account. But on every other dimension, they're different. If you can only fund one, which should it be?
The short answer: If you're eligible for an HSA, fund it first up to the limit. The HSA wins on tax treatment, FICA savings, contribution limits, and flexibility. Then fund the Roth IRA.
Side-by-Side Comparison
| Feature | HSA | Roth IRA |
|---|---|---|
| Contribution | Tax-free (federal income tax + FICA via payroll) | Taxed (after-tax dollars) |
| Growth | Tax-free | Tax-free |
| Qualified withdrawals | Tax-free (medical, any age) | Tax-free (after 59½, account >5 yrs) |
| 2026 contribution limit | $4,400 self / $8,750 family (+$1k at 55) | $7,000 (+$1k at 50) |
| Income limits | None | Phase-out starts ~$150k single / ~$236k joint |
| RMDs | None | None (during owner's lifetime) |
| Eligibility requirement | Must be enrolled in a qualifying HDHP | Must have earned income |
| Early withdrawal penalty | 20% (non-medical, before 65) | 10% on earnings (before 59½) |
Why HSA Usually Wins
The HSA's deduction is fundamentally more valuable. A $4,400 HSA contribution at the 24% federal bracket saves $1,056 in income tax — and if you contribute through payroll, you also dodge 7.65% in FICA tax for another $337. Total: ~$1,393 saved on a $4,400 contribution. The Roth IRA gets you nothing today.
If both grow at 7% for 30 years, both end up tax-free for qualified withdrawals. But the HSA's qualified withdrawals (medical expenses) are functionally unlimited — most retirees spend hundreds of thousands on healthcare. And after age 65, non-medical HSA withdrawals are taxed as ordinary income exactly like a Traditional IRA.
So an HSA is essentially: Roth IRA + tax deduction + FICA savings + extra Traditional IRA after 65. That's hard to beat.
When Roth IRA Wins
A few cases where Roth IRA goes first:
- You're not in an HDHP. If you can't contribute to an HSA, the Roth IRA is the next best tax-advantaged growth vehicle.
- You expect to retire very early. Roth contributions (not earnings) can be withdrawn anytime without tax or penalty. The HSA only avoids the 20% penalty if the withdrawal is for a qualified medical expense — though saved receipts help (see the shoebox strategy).
- You expect to never have significant healthcare costs and want maximum flexibility. This is a low-probability bet — most people accumulate substantial healthcare expenses, so the HSA's tax-free withdrawals tend to dominate.
- You're already maxing the HSA and have more to invest. Then yes, do both.
The Recommended Funding Order
For most people with access to both:
- 401(k) up to your employer match. Free money trumps everything else.
- Max your HSA. The triple tax advantage plus FICA savings makes this the highest-yield slot.
- Max your Roth IRA (or backdoor Roth if income-limited).
- Max remaining 401(k).
- Taxable brokerage for anything beyond.
The Strategy That Combines Both
The most powerful play uses both accounts together. Max your HSA, invest the balance, save medical receipts, and let it grow as a stealth retirement account. Max your Roth IRA in parallel. In retirement, you draw from the HSA tax-free for healthcare (a huge expense) and from the Roth tax-free for everything else. Combined, your retirement income can be almost entirely tax-free.
What About Income Limits?
The Roth IRA has income phase-outs (around $150k single / $236k joint for 2026 — check current numbers). High earners often use the "backdoor Roth" — contribute to a Traditional IRA, then convert. The HSA has no income limits at all. This is another quiet advantage of the HSA: a $400k earner can contribute fully, while their direct Roth IRA contribution would be zero.
What If I Already Funded the Wrong One?
You can't move money between an HSA and a Roth IRA. But you can adjust going forward. If you've been Roth-first and just realized the HSA wins, switch your priority order starting next paycheck. There's no penalty for having both.
The Bottom Line
If you're HDHP-enrolled, the HSA is the best account in your portfolio — fund it first. If you can also afford to max the Roth IRA, do that too. The "which first" question only matters when you can't fund both, and in that case the answer is almost always HSA. For more on HSA strategy, see the three HSA tax benefits and 2026 contribution limits.