Best Of & ComparisonsIntermediate7 min read

Roth IRA vs Traditional IRA vs 401(k) vs HSA: the battle royale

Four tax-advantaged accounts enter, one priority order leaves. How they compare and exactly what order to fill them in.

The US tax code offers four main shelters for retirement money, and the differences between them are worth six figures over a career. Yet most people pick based on whatever their employer defaulted them into. This is the full head-to-head: how each account works, where each one dominates, and — since you can use several at once — the priority order that wins for most people.

Feature401(k)Traditional IRARoth IRAHSA
Tax on the way inPre-tax (usually)Deductible (income limits)After-taxPre-tax
GrowthTax-freeTax-freeTax-freeTax-free
Tax on the way outTaxed as incomeTaxed as incomeTax-freeTax-free for medical
2025 limit (under 50)$23,500$7,000 (shared with Roth)$7,000 (shared)$4,300 self / $8,550 family
Employer matchOften yesNoNoSometimes
Income limitsNoneDeduction phases outContribution phases outRequires HDHP
Early accessHard (penalties)Hard (penalties)Contributions anytimeMedical anytime
The four accounts compared, using 2025 limits (limits adjust most years).

The 401(k): the workhorse

Its superpowers are the enormous contribution limit ($23,500 in 2025, before any employer money) and the match — free money no other account offers. Contributions come out of your paycheck pre-tax, lowering this year's tax bill; withdrawals in retirement are taxed as ordinary income. Weaknesses: your investment menu is whatever your employer picked, fees vary wildly by plan, and the money is locked up tight until 59½ with limited exceptions.

Traditional IRA: the 401(k)'s smaller cousin

Same tax treatment as a 401(k) — deduct now, pay tax later — but you open it yourself and invest in anything. The catch is the deduction phases out at moderately high incomes if you're covered by a workplace plan, which strips out its main benefit. For high earners its biggest modern use is as the doorway to a 'backdoor Roth' contribution. For everyone else, it mostly matters as the landing pad for old 401(k) rollovers.

Roth IRA: the flexibility champion

You pay tax on the money now, and then it's done — decades of growth and every withdrawal in retirement, completely tax-free. The Roth wins when your tax rate today is lower than it will be later, which describes most young people and most good careers. Bonus flexibility no other account matches: you can withdraw your contributions (not earnings) anytime without penalty, and there are no required minimum distributions in retirement.

HSA: the secret first place

The health savings account — available only with a high-deductible health plan — is the only triple-tax-advantaged account in the code: deductible going in, tax-free growth, tax-free out for medical expenses. After 65 it behaves like a traditional IRA for non-medical withdrawals too. The elite move: pay today's medical costs out of pocket, invest the HSA, save the receipts, and reimburse yourself decades later — tax-free. Most people leave HSAs in cash as a spending account and miss the entire point.

Roth vs Traditional, in dollars
Maya, 26, is in the 12% bracket and puts $6,000/year into a Roth IRA for 10 years, then stops. At 7%, that's roughly $600,000 tax-free at 65. Had she used traditional accounts instead, she'd have saved about $720/year in taxes now (12%) but would owe her retirement tax rate — likely 22%+ — on the whole $600,000 later, roughly $130,000. Paying tax at your career-low rate is the whole game.

The verdict: fill them in this order

  1. 1
    401(k) up to the full match

    An instant 50–100% return. Nothing else in finance competes. Always first.

  2. 2
    HSA to the max (if eligible)

    Triple tax advantage beats everything except free money. Invest it; don't spend it.

  3. 3
    Roth IRA to the max

    Tax-free growth, your own investment menu, and contribution flexibility. Use the backdoor method if over the income limit.

  4. 4
    Back to the 401(k)

    Raise contributions toward the $23,500 cap, especially in higher tax brackets where the deduction is worth more.

  5. 5
    Taxable brokerage

    Once the shelters are full. No limits, no lockup — just ordinary taxation.

When to deviate from the order

  • High earner today, modest retirement planned: tilt toward traditional/pre-tax — you're dodging 32–37% now to pay maybe 22% later.
  • Early career, low bracket: tilt hard toward Roth — you may never pay tax this cheaply again.
  • Terrible 401(k) (fees over ~1%, awful funds): still grab the match, then prioritize the IRA and HSA before contributing more.
  • Expecting a big income jump next year: cram Roth contributions now, before your bracket rises.
  • No HDHP: skip the HSA step entirely — don't pick a worse health plan just for the account unless the math clearly works for your health situation.
Contributing is not investing
Money that lands in an IRA or HSA often sits in a cash settlement fund until you invest it. People discover years later that their 'retirement account' earned 0.3% while markets doubled. After every contribution, confirm the money actually bought something.
$35,800
Total 2025 shelter space, under 50
401(k) + IRA + self-only HSA
50–100%
Instant return on matched 401(k) dollars
3x
Tax advantages stacked in an HSA
deductible in, tax-free growth, tax-free out

The bottom line

There's no single winner because the accounts aren't really competitors — they're a sequence. Match first, HSA second, Roth third, then back to the 401(k). The precise Roth-versus-traditional split matters far less than most articles imply; what matters is filling the shelters at all, in roughly the right order, with money that's actually invested. Get the sequence right once, automate it, and revisit only when your income or the limits change.

The Worth letter

Get smarter about money every week

One email, no spam — practical guides and Worth updates. Unsubscribe anytime.

Put this into practice

Worth tracks your accounts, budgets, and goals — so the concepts in this article aren't just theory.

Start free trial