A Roth IRA and a Health Savings Account (HSA) are both tax-advantaged accounts, but they solve different problems. A Roth IRA is a retirement account: you contribute after-tax dollars and qualified withdrawals are tax-free, with no required distributions for the owner. An HSA is built for medical costs and is triple-tax-advantaged — deductible going in, tax-free growth, and tax-free withdrawals for qualified medical expenses — making it the single most tax-efficient account in the U.S. code. After age 65 an HSA also works like a Traditional IRA for any purpose. Most people who qualify for both should fund both.

quick_reference_all

Quick Facts

  • check_circleTax treatment: a Roth IRA is double-tax-advantaged (tax-free growth + tax-free out). An HSA is triple-tax-advantaged (deductible in + tax-free growth + tax-free out for medical).
  • boltA hidden 4th advantage: HSA contributions made through payroll also dodge the 7.65% FICA tax. No IRA can do that.
  • check_circle2026 limits: HSA = $4,400 self-only / $8,750 family (+$1,000 at 55+). Roth IRA = $7,500 ($8,600 at 50+). They are separate — you can max both.
  • warningThe catch: an HSA requires a high-deductible health plan, locks you out once you join Medicare, and hands a non-spouse heir a full tax bill. A Roth has none of those issues.
  • check_circleFunding order: 401(k) match → HSA → Roth IRA is a common sequence — but only if you will invest the HSA and use it for medical care.

The headline — "an HSA is triple-tax-advantaged, a Roth is double" — is true, and it is where almost every comparison stops. It is also the least useful part of the answer, because it ignores everything that actually decides which account serves you better: who inherits it, what state you live in, whether you'll have medical bills, and when you stop being eligible. We'll cover the tax basics quickly, then spend the rest of this page on the parts that move the needle.

What's the real difference between a Roth IRA and an HSA?

Start with what each account is for. A Roth IRA is a retirement wrapper, full stop. You can hold almost any investment inside it; the only thing the IRS cares about is that you contributed earned income you'd already paid tax on, and that you follow the withdrawal rules. Its entire value proposition is decades of tax-free growth followed by tax-free retirement income.

An HSA was designed to pay for healthcare under a high-deductible health plan — but Congress gave it such a generous tax structure that it has quietly become a retirement-savings powerhouse. The "triple tax advantage" is the reason: money goes in deductible (unlike a Roth, it lowers this year's taxable income), grows tax-free, and comes out tax-free when spent on qualified medical expenses. A Roth gets two of those three; a Traditional IRA gets a different two (deductible in, but taxed out). The HSA is the only account that gets all three. As our guide to what reduces taxable income notes, that up-front deduction is exactly what a Roth does not give you.

So the cleanest way to hold the two in your head: a Roth IRA is a tax-free retirement account; an HSA is a tax-free medical account that becomes a retirement account too. The rest of this comparison is about the fine print that determines how good a retirement account the HSA actually is for you — because the answer ranges from "the best account you own" to "you'd have been better off in a Roth."

How much can you contribute in 2026?

The contribution rules diverge in ways that matter. Here are the 2026 figures side by side:

2026 Roth IRA HSA
Annual limit$7,500$4,400 self-only / $8,750 family
Catch-up+$1,100 at age 50+$1,000 at age 55
Eligibility gateEarned income; MAGI under the limitMust have a qualifying HDHP; not on Medicare
Income limit to contributeYes ($153K–$168K single / $242K–$252K MFJ)None — any income
Upfront deductionNeverYes

Three quirks worth flagging, because they trip people up:

  • The HSA family limit ($8,750) is larger than the Roth limit — and an HSA has no income cap to contribute. A high earner who is phased out of direct Roth contributions can still fund an HSA in full.
  • The HSA catch-up kicks in at 55, not 50, and it is a flat $1,000 that Congress has never indexed to inflation — it has been frozen since 2009 (IRC §223(b)(3)). The Roth's $1,100 catch-up starts at 50 and does adjust. A married couple who are both 55+ can each open their own HSA and add a $1,000 catch-up to each.
  • The HSA has a hard prerequisite the Roth doesn't: a qualifying high-deductible health plan. For 2026 that means a deductible of at least $1,700 (self-only) or $3,400 (family) and out-of-pocket maximums no higher than $8,500 / $17,000 (Rev. Proc. 2025-19). No HDHP, no HSA contributions — whereas a Roth only needs earned income.

The HSA's hidden fourth tax advantage

"Triple tax advantage" actually undersells the HSA. There is a fourth break that almost no comparison mentions: HSA contributions made through your employer's payroll (a Section 125 "cafeteria" plan) also escape FICA — the 7.65% Social Security and Medicare payroll tax. The IRS confirms that salary-reduction contributions under a cafeteria plan "are not subject to FICA" (and FUTA). A Roth IRA — in fact every IRA — is funded with money that has already been hit with FICA. There is no way around it.

calculate

Illustrative example

You route the full $4,400 self-only HSA contribution through your employer's payroll. On top of the income-tax deduction, you also avoid FICA on that $4,400:

$4,400 × 7.65% ≈ $337 in payroll tax you never pay. Run the family limit through payroll and the FICA savings is closer to $8,750 × 7.65% ≈ $669.

That is found money a Roth contribution structurally cannot offer. (Two caveats: the 6.2% Social Security portion only applies up to the annual wage base, so very high earners save only the 1.45% Medicare slice; and the FICA break applies only to payroll contributions — money you put into an HSA directly is income-tax-deductible but is not FICA-free.)

Do people actually invest their HSA? The $174 billion cash-drag problem

Here is where the HSA's potential collides with how it is used in the real world — and it is the same mistake we flag for Roth IRAs. An HSA is only a "stealth retirement account" if you invest the balance. Most people don't.

Americans held roughly $174 billion across 41.7 million HSAs at the end of 2025, according to the consultancy Devenir — assets up 19% in a single year. The category has grown almost without pause:

Total U.S. HSA assets, year-end ($ billions)

2018$54B2019$66B2020$82B2021$98B2022$104B2023$123B2024$147B2025$174B

Deposits + investments. Source: Devenir HSA Research Reports, 2018–2025.

But dig into how that money is held and the picture changes. Only about 4.2 million accounts — roughly 10% of all HSAs — held any investments at all at year-end 2025. The other ~90% sit entirely in cash, earning next to nothing while inflation erodes them.

How the 41.7 million U.S. HSAs are held (year-end 2025)

Invest their HSA~10%Leave it all in cash~90%

Share of HSA accounts holding any invested dollars vs. cash only. Source: Devenir, 2025.

The disconnect is striking: that ~10% of accounts that invest hold 49% of all HSA dollars ($85 billion). A small group treats the HSA as a long-term investment account; the vast majority treats it like a checking account for co-pays. The investors' average balance — about $22,000 — runs roughly nine times that of a non-investing accountholder.

The flows confirm it. In 2025, accountholders contributed about $60 billion to their HSAs and withdrew about $45 billion — so only roughly $15 billion was actually retained and left to compound. For most people the HSA is a pass-through spending account, not an investment account; using it like a Roth — funding it, investing it, and leaving it alone — is still the exception, not the rule.

The lesson mirrors the number-one Roth IRA mistake: funding the account is only half the job. An HSA left in cash captures the up-front tax deduction but throws away the tax-free growth that makes the account special. Whichever account you prioritize, the money has to be invested to do its work.

What happens when someone inherits each account?

This is the single biggest difference nobody talks about — and it can flip the entire "HSA is better" conclusion. The two accounts treat heirs completely differently.

A Roth IRA passes to beneficiaries income-tax-free. A non-spouse heir generally has 10 years to empty it (no annual withdrawals required in years 1–9), and every dollar — principal and growth — comes out tax-free. It is one of the best assets you can leave behind.

An inherited HSA depends entirely on who inherits it (IRC §223(f)(8)):

  • A surviving spouse simply takes it over as their own HSA. No tax. They keep using it for medical expenses exactly as before.
  • Anyone else — an adult child, a sibling, a friend — gets a tax bomb. On the date of death the account stops being an HSA, and the entire fair-market value becomes taxable ordinary income to the beneficiary for that tax year. No 10-year stretch. No step-up in basis. The only offset is the decedent's own qualified medical expenses paid within one year of death.
family_history

Illustrative example

You die with $100,000 in each account and leave both to your adult child, who is in the 24% federal bracket.

The Roth IRA: your child inherits $100,000 tax-free and has up to 10 years to withdraw it. Federal tax owed: $0.

The HSA: the full $100,000 lands on your child's tax return as ordinary income in the year you die — on top of their salary. At 24% that is roughly $24,000 in federal tax, possibly more as the lump sum pushes them into a higher bracket, plus any state tax.

Same balance, wildly different outcome. For money you expect to leave to non-spouse heirs, the Roth is structurally superior — which is exactly why the conventional advice is to spend the HSA down in retirement and let the Roth ride. (Illustrative figures.)

The planning takeaway is clean: a Roth IRA is an ideal legacy asset; an HSA is best treated as a use-it-in-your-lifetime asset. (For the mechanics of inherited Roths, see our inherited Roth IRA 10-year rule guide.)

The state tax trap: California and New Jersey

The HSA's federal tax treatment is famous. Its state treatment is not — and in two states it springs a trap. California and New Jersey do not conform to the federal HSA rules. In those states:

  • HSA contributions get no state income-tax deduction, and
  • the interest, dividends, and capital gains earned inside the HSA are taxable on your state return every year — meaning a CA or NJ resident with an invested HSA has to track and report internal earnings the rest of the country never sees.

So for residents of those two states, the HSA's "triple" advantage is really a double advantage (federal only), and an invested HSA actually creates an annual state-tax chore. A Roth IRA has no equivalent quirk — its growth and qualified withdrawals are tax-free in every state. (Historically New Hampshire and Tennessee taxed HSA investment income too, but both repealed the relevant taxes — Tennessee's Hall tax in 2021 and New Hampshire's interest-and-dividends tax effective 2025 — so as of 2026 California and New Jersey stand alone. States with no income tax at all, like Texas or Florida, simply offer no deduction because there is no tax — that is not the same trap.)

If you live in California or New Jersey, this doesn't make the HSA a bad account — the federal triple advantage and the FICA break still apply — but it narrows the HSA's edge over a Roth meaningfully, and it is worth knowing before you assume the HSA is automatically the more tax-efficient choice.

When does an HSA turn into a Traditional IRA?

Here is the rule that reframes the whole comparison. An HSA's tax-free withdrawals are tax-free only when used for qualified medical expenses. Spend the money on anything else and the treatment changes with your age:

  • Before age 65: a non-medical withdrawal is taxed as ordinary income plus a steep 20% penalty (IRC §223(f)(4)) — twice the 10% penalty on an early IRA withdrawal.
  • At age 65 and older: the 20% penalty disappears. A non-medical withdrawal is simply taxed as ordinary income — exactly like a Traditional IRA withdrawal (IRS Pub 969).

So the HSA is best understood as a hybrid: it behaves like a Roth IRA for medical spending (tax-free) and like a Traditional IRA for everything else after 65 (taxable, no penalty). That single fact tells you when each account wins:

Retirement spending on… HSA result Roth IRA result
Qualified medical careTax-free (HSA wins — it was also deductible going in)Tax-free
Anything else, after 65Taxed as ordinary incomeTax-free (Roth wins)
Anything else, before 65Taxed + 20% penaltyContributions out anytime, tax-free

The practical question, then, is simply: will you have medical expenses to spend the HSA on? In retirement, almost everyone does — healthcare is consistently one of the largest line items of a retiree's budget, and Medicare premiums, dental, vision, and long-term-care insurance premiums all count as qualified expenses. To the extent you'll spend on healthcare, the HSA beats the Roth (it was deductible and comes out tax-free). To the extent you won't, the HSA is just a Traditional IRA and the Roth pulls ahead.

What counts as a “qualified medical expense”?

The HSA's tax-free side is only as useful as the list of things you can spend it on — and that list is broad. It covers the obvious (doctor visits, prescriptions, dental, vision, hearing aids, surgery, mental-health care) but also several large retirement costs people overlook:

  • Medicare premiums. Once you're 65, Part B, Part D, and Medicare Advantage (Part C) premiums are qualified HSA expenses — a bill that runs several thousand dollars a year for a couple. (Medigap / supplemental premiums are the notable exception — they don't qualify.)
  • Long-term-care insurance premiums, up to age-based limits, plus qualified long-term-care services — a meaningful hedge against the biggest wildcard in a retirement budget.
  • Dental, vision, and hearing costs that Medicare largely doesn't cover.

Because these costs are large and nearly universal in retirement, most retirees can spend an HSA down tax-free without contriving expenses — which is what makes the “triple tax advantage” real rather than theoretical. The main limit to know: health-insurance premiums before 65 generally do not qualify (with narrow exceptions like COBRA or coverage while you're receiving unemployment), so the HSA's premium-paying power mostly switches on at Medicare age. A Roth IRA, by contrast, never cares what you spend the money on — qualified withdrawals are tax-free for any purpose, medical or not.

The receipt strategy: how an HSA can pay out tax-free decades later

One more feature makes the HSA more Roth-like than most people realize — and it is hiding in a 2004 IRS notice. There is no deadline to reimburse yourself from an HSA for a qualified medical expense. As long as the expense was incurred after you opened the HSA, you can pay it out of pocket today and reimburse yourself from the HSA — tax-free — any number of years later (IRS Notice 2004-50, Q&A-39: "there is no time limit on when the distribution must occur").

That turns the HSA into a tax-free withdrawal valve you control. Pay your medical bills out of pocket while you're working, save the receipts, and let the HSA stay invested and compounding for decades. Years later you can withdraw an amount equal to those old receipts — tax-free — for any reason, because you're technically reimbursing yourself.

receipt_long

Illustrative example

At 35 you have a $3,000 medical bill. Instead of tapping the HSA, you pay it from your checking account and file the receipt away. The $3,000 stays invested in the HSA.

Thirty years later it has grown to, say, $24,000 (at roughly 7%). At 65 you can withdraw $3,000 tax-free at any time by reimbursing yourself for that old bill — and the other $21,000 of growth keeps compounding tax-free for future medical costs, or comes out taxable (no penalty) for anything else.

The catch is paperwork: you must keep records proving the expense was qualified, occurred after the HSA was opened, and was never otherwise reimbursed or deducted. The IRS doesn't ask for the receipts up front — but it can later. (Illustrative figures.)

A Roth IRA gives you something simpler — your contributions (not earnings) are withdrawable anytime, tax-free, with no receipts required. The HSA's version is more powerful (it can free up growth, not just contributions) but demands recordkeeping discipline most people won't maintain.

The Medicare cliff a Roth doesn't have

An HSA has an expiration date on contributions that a Roth does not. Once you enroll in Medicare, your HSA contribution limit drops to zero (IRC §223(b)(7)) — you can still spend the balance tax-free on medical costs forever, but you can't add to it. For most people that arrives at 65.

There's a trap buried in the timing. If you work past 65 and delay Medicare, then later enroll, Medicare Part A backdates up to six months (never before your 65th birthday). Any HSA contributions you made during those retroactive months become excess contributions, subject to a 6% excise tax until corrected. The standard fix: stop HSA contributions at least six months before you apply for Medicare or Social Security.

A Roth IRA has no such cliff. As long as you have earned income, you can contribute at 66, 70, or 80 — Congress removed the old age cap on IRA contributions in 2020. For someone planning to work well past 65, the Roth remains open exactly when the HSA door closes.

So which should you fund first?

For a saver who qualifies for both and has limited dollars, a widely used funding order looks like this:

  1. 401(k) up to the employer match — an instant 50–100% return beats any tax break.
  2. Max the HSAif you have an HDHP, will invest the balance, and expect medical costs to spend it on. Dollar for dollar it is the most tax-advantaged account available (deductible in, tax-free growth, tax-free out, and FICA-free through payroll).
  3. Max the Roth IRA — for tax-free retirement income with total flexibility and no strings.
  4. Back to the 401(k), then a taxable brokerage.

That ordering is why you'll often hear "the HSA is the best retirement account nobody talks about." But notice how many conditions sit on step 2. The HSA outranks the Roth only if you can clear the HDHP requirement, you actually invest the money (most don't), and you'll have medical expenses or maintain the receipt discipline to get it out tax-free. Miss those, and the Roth — with no health-plan requirement, anytime access to contributions, no Medicare lockout, and tax-free treatment for heirs — is the safer, simpler choice.

The reassuring reality for most savers: this isn't an either/or. The two accounts have separate limits and separate eligibility, so the best answer is usually to fund both — the HSA for the healthcare costs that are nearly certain in retirement, the Roth for everything else and for whatever you leave behind.

Can you have both a Roth IRA and an HSA?

Yes — and most people who can, should. They don't compete: the HSA needs a qualifying high-deductible health plan (and no Medicare), the Roth needs earned income below the phase-out, and each has its own separate limit. In 2026 you could contribute up to $8,750 to a family HSA and $7,500 to a Roth IRA in the same year. If your budget only stretches to one, use the framework above; if it stretches to both, you get the HSA's up-front tax break and FICA savings and the Roth's flexible, tax-free, heir-friendly back end — the best of both structures.

Frequently Asked Questions

Should I contribute to a Roth IRA or an HSA first?

After capturing any 401(k) employer match, a maxed HSA is often the single most tax-advantaged dollar you can save — if you are eligible (you need a qualifying high-deductible health plan), you actually invest the balance, and you will eventually have medical costs to spend it on (almost everyone does). Many planners therefore rank the HSA just ahead of the Roth IRA. But the Roth wins on flexibility: no health-plan requirement, contributions out anytime, no Medicare lockout, and it passes to heirs tax-free. Most people who qualify for both should fund both. This is educational, not individual advice.

Is an HSA better than a Roth IRA for retirement?

It depends on what you spend the money on. For qualified medical expenses, an HSA is unbeatable — deductible going in and completely tax-free coming out at any age. But for non-medical spending after age 65, an HSA is taxed exactly like a Traditional IRA (ordinary income, just no penalty), so a Roth IRA wins there because its withdrawals are tax-free. A Roth is also far better to leave to a non-spouse heir. For most savers the answer is to use both: the HSA for near-certain retirement healthcare costs, the Roth for everything else.

Can I have both a Roth IRA and an HSA in the same year?

Yes. They have separate eligibility rules and separate contribution limits, so they do not compete. An HSA requires that you be covered by a qualifying high-deductible health plan (and not enrolled in Medicare); a Roth IRA requires earned income and a modified-AGI below the phase-out. For 2026 you could contribute up to $4,400 self-only / $8,750 family to an HSA and a separate $7,500 ($8,600 if 50+) to a Roth IRA.

What happens to my HSA when I die?

It depends entirely on who inherits it. A surviving spouse can treat the HSA as their own, tax-free, and keep using it for medical expenses. But any non-spouse beneficiary — an adult child, for example — gets a tax bomb: the HSA stops being an HSA on the date of death, and the entire fair-market value becomes taxable ordinary income to that person for the tax year of the death (reduced only by the decedent's medical expenses paid within one year). There is no 10-year stretch and no step-up in basis (IRC §223(f)(8)). By contrast, an inherited Roth IRA passes income-tax-free, with up to 10 years to withdraw.

Do HSA contributions reduce my taxes more than Roth IRA contributions?

Yes, on the way in. HSA contributions are tax-deductible (or pre-tax through payroll), so they lower this year's taxable income — and if you contribute through an employer cafeteria plan, they also escape the 7.65% FICA payroll tax, which no IRA can do. Roth IRA contributions give no upfront deduction at all; their payoff comes later, as tax-free withdrawals. So an HSA helps your taxes now, while a Roth helps them in retirement.

menu_book

Primary Sources & Data

  • IRS Rev. Proc. 2025-19 — 2026 HSA contribution limits, HDHP deductible and out-of-pocket figures
  • IRC §223 — Health Savings Accounts (incl. §223(b)(3) catch-up, §223(b)(7) Medicare, §223(f)(4) penalty, §223(f)(8) death of accountholder); IRC §408A — Roth IRAs
  • IRS Pub 969 — HSAs and other tax-favored health plans; IRS Notice 2004-50 — HSA distribution/reimbursement timing
  • IRS Notice 2025-67 — 2026 Roth IRA contribution limit and phase-outs
  • Devenir 2025 Year-End HSA Research Report (released April 2026) — HSA asset, account, and investment statistics