It's the classic personal finance Twitter argument: HSA or Roth IRA, which do you max out first? Both accounts grow tax-free. Both are beloved by financial independence nerds. Both have sensible contribution limits that a regular person can actually hit. And if you're in your 20s, 30s, or 40s trying to optimize a limited savings budget, you probably can't max both — so the ordering genuinely matters.
The short answer is that for most people with access to a high-deductible health plan, the HSA wins the first-dollar fight. But "most people" isn't everyone, and the reasons the HSA wins are more interesting than the usual "triple tax advantage" bumper sticker suggests. Let's actually work through this.
- The HSA is the only account that's tax-free going in, growing, and coming out — the Roth IRA only offers two of those three layers.
- HSA contributions through payroll also dodge FICA (7.65%), a tax break the Roth IRA can never match.
- The standard funding order for most people: 401(k) to employer match, then max HSA, then max Roth IRA, then back to 401(k).
- 2026 contribution limits: HSA is $4,400 individual / $8,750 family. Roth IRA is $7,000 (or $8,000 at 50+).
- Max the Roth first instead of the HSA only if you don't have an HDHP, you're in an unusually low bracket, or you need the Roth's "pull contributions out anytime" flexibility.
The structural comparison
Before we argue about which is better, let's line up the mechanics. These two accounts share a lot of DNA — they're both individually owned, both portable, both immune from required minimum distributions — but they diverge at every tax checkpoint.
| Feature | HSA | Roth IRA |
|---|---|---|
| Contributions | Pre-tax (deductible) | After-tax |
| FICA savings (via payroll) | Yes — 7.65% | No |
| Growth | Tax-free | Tax-free |
| Withdrawals (medical) | Tax-free, any age | Tax-free after 59½ |
| Withdrawals (non-medical, before 65/59½) | Income tax + 20% penalty | Contributions out anytime, penalty-free |
| Withdrawals (non-medical, after 65/59½) | Taxed as income (like 401k) | Tax-free for anything |
| Required minimum distributions | None, ever | None, ever |
| 2026 contribution limit | $4,400 / $8,750 | $7,000 ($8,000 at 50+) |
| Income limits to contribute | None | Phases out at higher incomes |
| Eligibility requirement | Must have HDHP coverage | Earned income only |
Look at the contribution row. That's the single biggest structural difference. The Roth is funded with money that's already been taxed at your marginal income rate. The HSA is funded with pre-tax money — and if it goes through payroll, it also skips FICA, a benefit the Roth IRA literally cannot offer because IRAs don't flow through payroll.
The case for HSA first
The headline argument is the triple tax advantage: contributions, growth, and qualified medical withdrawals are all tax-free. The Roth IRA gets two of those three. That's a real, structural edge that nothing else in the U.S. tax code can match.
The less-discussed argument is FICA. Roth contributions never dodge Social Security and Medicare tax — you've already paid it on every dollar of your W-2 wages. HSA contributions through a cafeteria plan skip FICA entirely. That's another 7.65% you pocket on top of your income tax savings. On a maxed individual HSA of $4,400, FICA savings alone are about $337 a year. Compound that over 30 years of contributions and it's meaningful money.
Then there's the dual-nature trick. At 65, the HSA quietly converts. Non-medical withdrawals are taxed as ordinary income — exactly the same treatment as a traditional 401(k). But medical withdrawals stay tax-free forever. So the HSA is at least as good as a traditional IRA for non-medical retirement spending, and strictly better for the 100% certain medical expenses every retiree faces. Fidelity's long-running estimate is that a 65-year-old couple will spend around $315,000 on healthcare in retirement. That's $315,000 that an HSA can cover tax-free and an IRA or 401(k) cannot.
The case for Roth first
The Roth isn't without its own arguments. A few of them are strong enough to flip the order for specific people.
Accessibility.The Roth IRA doesn't require an HDHP. If your employer only offers a PPO, or if your family's medical usage makes an HDHP a bad fit, the HSA isn't on the table at all. The Roth is always available as long as your income is under the phase-out.
Flexibility. Roth IRA contributions (not earnings) can be withdrawn at any time, any age, for any reason — no taxes, no penalty. That makes the Roth function as a semi-emergency fund in a way the HSA cannot. HSA withdrawals before 65 for non-medical reasons trigger ordinary income tax plus a 20% penalty. Ouch.
No qualified-expense requirement.After 59½, a Roth IRA pays tax-free for anything — groceries, travel, a boat. The HSA's tax-free treatment is only for qualified medical expenses, even in retirement. If you somehow end up extraordinarily healthy and never spend meaningfully on medical costs, the HSA's post-65 tax treatment is identical to a traditional 401(k), which is a step down from the Roth.
Low-bracket years.If you're currently in the 10% or 12% federal bracket — a college student with a summer job, someone in a gap year, a low-income year between jobs — the HSA's upfront tax deduction is worth less (you're not saving much income tax anyway), and you might prefer to lock in Roth treatment now because you expect to be in a much higher bracket later.
The real answer: both, in order
For anyone who can afford to save meaningfully and has access to both accounts, the correct answer is to fund them in a specific sequence. This isn't controversial — it's the consensus order among most thoughtful personal finance writers and fee-only advisors.
- 401(k) up to the employer match. This is free money. Nothing beats an instant 50–100% return.
- Max out your HSA. Triple tax advantage + FICA savings + post-65 flexibility. $4,400 individual / $8,750 family in 2026.
- Max out your Roth IRA. $7,000 (or $8,000 at 50+). Tax-free growth plus withdrawal flexibility.
- Back to the 401(k) until you hit the annual limit. Still valuable — just less tax-efficient per dollar than the first three.
- Then taxable brokerage. After everything else is maxed.
Why this specific order? Because it ranks accounts by tax efficiency per dollar contributed. The employer match has an infinite effective rate of return in year one. The HSA wraps three tax layers and FICA around each dollar. The Roth adds long-term tax-free compounding on top of after-tax money. The 401(k) trades income tax now for income tax later (usually a good trade, just less dramatic). The brokerage pays tax drag every single year.
The HSA sits above the Roth in this list because the per-dollar tax savings are simply higher. For a contributor in the 22% federal bracket with 5% state tax, a dollar into the HSA via payroll avoids roughly 35% in taxes in year one. A dollar into the Roth avoids 0% in year one (you already paid). The Roth's tax-free growth catches up eventually, but mathematically the HSA starts further ahead and never gives that lead back — as long as you use the withdrawals for qualified medical expenses, which virtually everyone does eventually.
When to break the rules
A few real situations justify putting the Roth ahead of the HSA, or skipping the HSA entirely.
You don't have an HDHP. Can't contribute to an HSA anyway. Roth (or whatever retirement account you have) wins by default. If you're curious whether your plan actually qualifies, start with what makes a plan HSA-eligible — and note that the 2026 rules added all ACA Bronze and Catastrophic plans to the eligible list, which may open the HSA to more people than in previous years.
You expect to need the money before 65 for non-medical reasons.Saving for a house down payment, planning a sabbatical, possibly needing emergency access to the balance? The Roth's penalty-free contribution withdrawals are a real safety valve. The HSA punishes non-medical early withdrawals with 20% on top of income tax.
You're in an unusually low tax bracket right now.The HSA's biggest benefit — the upfront deduction — is worth less when your marginal rate is 10–12%. Locking in tax-free Roth treatment for decades of future growth may be worth more.
Your health expenses are consistently high and you need to spend the HSA as you go. If you're draining your HSA to cover current medical costs, you never benefit from decades of tax-free compounding. You still get the contribution deduction, which is valuable — but you're not getting the full triple advantage. In that case, maxing the Roth may give you more long-term retirement wealth. (Though even here, the right answer is usually to fund both partially, not abandon the HSA entirely. For the long-term playbook, see the HSA reimbursement strategy.)
Rachel and Noah — same income, opposite priorities
Rachel and Noah both earn $85,000, both 30 years old, both in the 22% federal bracket with a 5% state tax. Both can save $4,400 per year beyond their 401(k) match. Both have HDHP coverage.
Rachel maxes her HSA first: $4,400/year via payroll for 30 years, invested at 7%. Noah maxes his Roth IRA first: $4,400/year post-tax (which required him to earn about $5,940 pre-tax to net $4,400 after income + FICA), also invested at 7%.
After 30 years, both accounts are worth roughly $444,000. So far, tie. But look at what happened around each contribution:
- Rachel: Saved ~$1,190/year in income tax + ~$337/year in FICA = ~$45,800 in cumulative tax savings over 30 years. She invested those savings in a brokerage account, which grew to roughly $110,000 after tax drag.
- Noah: Paid the full income + FICA tax on every contribution. No separate savings bucket.
Net retirement wealth: Rachel has ~$554,000 between her HSA and the side brokerage. Noah has ~$444,000. Same contributions, same returns, same work — Rachel ends up roughly $110,000 aheadbecause the HSA's upfront tax break compounded too.
And that's before we even count the tax-free medical withdrawals Rachel gets to make in retirement that Noah can't.
The receipt-stacking layer the Roth can't replicate
There's one more HSA superpower that doesn't show up in any comparison table: the ability to delay reimbursement indefinitely. If you pay a medical expense out of pocket today and save the receipt, you can reimburse yourself from the HSA any time in the future — five years from now, thirty years from now, even in retirement. The money in the HSA keeps compounding tax-free in the meantime.
The Roth IRA has no equivalent mechanism. There's no "save the receipt and get money out later" feature. You either withdraw contributions (fine but doesn't help growth) or you withdraw earnings (possible penalties before 59½).
This is the strategy MyHSAHub was built around. Log your out-of-pocket medical expenses, let the HSA balance compound for decades, and reimburse yourself whenever you need tax-free cash. It turns your HSA into something the Roth IRA simply isn't — a tax-free bank account you can draw from at will, as long as you have documented medical expenses in your history. For the math on what that's actually worth, run the numbers on the delayed reimbursement calculator.
What about contribution limits?
Here's a subtle point people miss. In 2026, the Roth IRA limit is $7,000 and the HSA individual limit is $4,400. So if you're a single filer, you can't actually fit the same dollar amount into the HSA as you can into the Roth.
In practice, this means the funding order isn't "max one, then the other" for most households — it's "max the HSA ($4,400), then shift to the Roth and put another $7,000 in there." Together, that's $11,400 a year of tax-advantaged savings for an individual, separate from your 401(k). For family HDHP coverage, it's $8,750 + $7,000 (or $14,000 if both spouses contribute to their own Roths) — a meaningful pile of tax-free compounding. The detailed rules on HSA caps are in the 2026 contribution limits guide.
The early retirement angle
If you're planning to retire before 59½ — the FIRE crowd — the HSA gets an additional edge that's rarely discussed. HSA reimbursements for documented qualified medical expenses don't count as income on your tax return. They don't affect your MAGI, which means they don't affect ACA premium subsidies or Roth conversion planning.
Roth IRA withdrawals of contributions don't count as income either, but once you exhaust your contribution basis, any earnings withdrawn before 59½ trigger both tax and penalty. The HSA, paired with decades of saved receipts, gives you a tax-free income stream in early retirement that doesn't disqualify you from any income-tested benefit. For a deeper look at how these accounts fit together in an early-retirement plan, see HSA and FIRE.
The Bottom Line
If you have access to an HDHP and can max only one account, the HSA is the correct answer for the vast majority of people. The triple tax advantage plus FICA savings plus the post-65 retirement flexibility means every dollar you put in an HSA is at least as tax-efficient as a Roth dollar, and usually more. The receipt-stacking strategy layers on additional flexibility the Roth can't touch.
But this doesn't have to be an either/or decision. For anyone with a normal middle-class savings budget, the answer is to fund both — HSA first to $4,400 (or $8,750 family), then shift to the Roth for another $7,000. That's $11,400–$16,750 a year of compounding tax-free growth outside of your 401(k), with the HSA covering medical costs and the Roth handling everything else.
The only people who should put the Roth first are those without an HDHP, those in unusually low tax brackets today, or those who genuinely need the Roth's penalty-free contribution withdrawals as part of their liquidity plan. For everyone else, the order is settled: employer match, HSA, Roth, back to the 401(k), brokerage. Follow that sequence and you'll capture more tax-advantaged growth than almost any other strategy a wage earner has access to.
- The Triple Tax Advantage — Why the HSA's three tax layers beat the Roth IRA's two.
- The HSA Reimbursement Strategy — The receipt-stacking playbook that gives the HSA flexibility no Roth can match.
- HSA and FIRE — How both accounts fit together in an early-retirement plan.
- HSA Investing Guide — Turn your HSA into a real long-term investment account, not a checking account for copays.
- IRS, Publication 969 — Health Savings Accounts and Other Tax-Favored Health Plans.
- IRS, Publication 590-A — Contributions to Individual Retirement Arrangements (IRAs).
- Cornell Legal Information Institute, 26 U.S. Code § 223 — Health savings accounts.
- Bogleheads Wiki, Health savings account.
- IRS, Revenue Procedure 2025-19 — 2026 Inflation-Adjusted Amounts for HSAs and HDHPs.