401Calc
Retirement Accounts · Strategy

401(k) vs IRA vs Roth IRA: Which Account to Fill First

The same $15,000 annual savings rate produces meaningfully different outcomes depending on which accounts it flows through and in what order. Taxes paid today versus tomorrow, employer money left on the table, flexibility forfeited unnecessarily — these compound over decades. Here's the sequence the math points to.

12 min read·Not financial advice

In This Guide

  1. The Accounts in Play: A Quick Orientation
  2. The Retirement Account Order of Operations
  3. Project Your 401(k) Growth
  4. When the Standard Order Needs Adjusting
  5. Side-by-Side Scenario: Sequence Matters
  6. Frequently Asked Questions
Advertisement

Opening a retirement account is the easy part. Deciding which one to fund, in what order, and how much to put where — that's where most people either guess, follow outdated advice, or simply default to whatever their HR department set up on day one. The problem with defaulting: contribution order matters significantly. There's a logical, defensible sequence for filling retirement accounts. It's not one-size-fits-all, but the framework applies to the vast majority of working Americans with access to a 401(k) and IRA options.

The Accounts in Play: A Quick Orientation

Before sequencing, here's what makes each account distinct — four buckets with different rules, limits, and tax treatments.

Traditional 401(k)
$24,000 limit
  • Pre-tax contributions — reduces income today
  • Withdrawals taxed as ordinary income
  • Often includes employer match
  • RMDs required at 73 or 75
Roth 401(k)
$24,000 limit
  • After-tax contributions — no upfront deduction
  • Qualified withdrawals completely tax-free
  • No income limits — available to everyone
  • RMDs eliminated as of 2024 (SECURE 2.0)
Traditional IRA
$7,000 limit
  • May or may not be tax-deductible (depends on income + workplace plan)
  • Withdrawals taxed as ordinary income
  • Broader investment options than most 401(k)s
  • RMDs required at 73 or 75
Roth IRA
$7,000 limit
  • After-tax contributions; tax-free qualified withdrawals
  • Contributions withdrawable any time, penalty-free
  • Income limits: ~$161k single / $240k MFJ (2026)
  • No RMDs during owner's lifetime

The Retirement Account Order of Operations

1
Capture the Full Employer Match — Always, First, Without Exception
An employer match is an immediate 50–100% return on your contribution — a guaranteed return that no investment in any account reliably replicates. If your employer matches 100% of contributions up to 4% of your $90,000 salary, that's $3,600/year in free money. Passing on that to fund an IRA first is almost never the right move. Contribute at minimum to capture the full match. Full stop.
Universal rule — no exceptions
2
Fund a Roth IRA to the Annual Limit (If Eligible)
After capturing the full match, fund a Roth IRA next — before returning to contribute more to your 401(k). The reasons: superior investment options (full universe at low-cost brokerages vs a limited 401(k) menu), contribution flexibility (your dollars can be withdrawn any time without penalty), no RMDs, and tax diversification alongside your pre-tax 401(k). This step is most powerful for those in the 22% bracket or below. Above the income limits? Skip to Step 3.
Best for: 22% bracket or below, long horizons
3
Return to the 401(k) and Max It Out
Once the match is captured and the Roth IRA is funded, contribute as much as you can toward the 401(k) annual maximum. At $24,000 plus a fully funded Roth IRA, you reach $31,000 in annual tax-advantaged contributions. At this stage the Traditional vs Roth 401(k) decision within your plan becomes relevant — use the Roth 401(k) option if you're in a lower bracket now and expect higher income later; use Traditional if you're in the 24%+ bracket now and expect to drop in retirement.
Goal: $31,000+ in combined tax-advantaged savings
4
Health Savings Account (HSA) — the Stealth Retirement Account
If you're enrolled in a qualifying high-deductible health plan, an HSA is arguably the most tax-efficient account available: contributions are tax-deductible, growth is tax-free, and qualified medical withdrawals are tax-free — a triple tax advantage no other account matches. After 65, HSA withdrawals for any purpose are taxed as ordinary income (like a Traditional IRA), but medical withdrawals remain tax-free forever. 2026 limits: ~$4,300 individual / $8,550 family. Position this alongside Step 3 if accessible.
Triple tax advantage — only for HDHP enrollees
5
Taxable Brokerage Account
Once all tax-advantaged options are maxed, a taxable brokerage account is the natural overflow. No contribution limits, full investment flexibility, no withdrawal restrictions — but no special tax treatment on contributions or ordinary income. Long-term capital gains rates (0%, 15%, 20%) are more favorable than ordinary income rates for buy-and-hold investors. For FIRE community members, the taxable brokerage is also a necessary component of the pre-59½ income bridge alongside Roth contribution access.
After all tax-advantaged accounts are maxed

401(k) Growth Calculator

Calculating…
Advertisement

When the Standard Order Needs Adjusting

The sequence above works well for the majority of people. A few situations warrant modification:

SituationAdjustment
High income (32%+ bracket), near retirementPrioritize Traditional 401(k) max over Roth IRA — immediate deduction outweighs Roth's compounding with a short runway
Poor 401(k) investment options (1%+ expense ratios)Fully fund Roth IRA before returning to 401(k) beyond the match — fee savings often exceed additional tax deferral
Carrying high-interest debt (20%+ APR)Capture employer match, then pay down debt before additional contributions — negative arbitrage outweighs tax benefits
Self-employed or small business ownerModel SEP IRA or solo 401(k) separately — contribution ceilings dwarf W-2 options and the sequencing changes significantly
Above Roth IRA income limitsSkip Step 2; research backdoor Roth conversion as an alternative path to Roth contributions

Side-by-Side Scenario: Same Savings, Different Sequence

Alex and Jordan both earn $95,000 and save $15,000/year for retirement. Same income. Same savings rate. Twenty-five years at 7% return.

Alex — Common Default
Contributes 10% to Traditional 401(k) from day one
Own 401(k) contribution$9,500/yr
Employer match (4%)$3,800/yr
IRANever opened
Annual tax-advantaged$18,300
Balance at 25 years~$1,190,000
All pre-tax — no Roth flexibility
⚡ Jordan — Optimized Sequence
401(k) to match, then Roth IRA, then back to 401(k)
401(k) to capture match$3,800/yr
Employer match$3,800/yr
Roth IRA$7,000/yr
Return to 401(k)$4,200/yr
Annual tax-advantaged$19,000
Balance at 25 years~$1,236,000
Split pre-tax + tax-free — bracket flexibility in retirement

The raw balance difference is modest. The real difference is tax treatment in retirement. Jordan can draw from the Roth in high-income years without bumping into a higher bracket, manage RMD exposure, and control taxable income with precision Alex doesn't have. Over a 25–30 year retirement, that flexibility is estimated to produce 10–20% more in spendable after-tax retirement income for comparable portfolio sizes. Same $15,000. Different sequence. Materially better outcome.


Frequently Asked Questions

Can I contribute to a 401(k) and an IRA in the same year?
Yes, and you should if you can afford to. The 401(k) and IRA limits are completely independent. You can contribute $24,000 to a 401(k) and $7,000 to an IRA in the same tax year. The only wrinkle: if you have a workplace retirement plan, your Traditional IRA deductibility may be limited above certain income thresholds. The Roth IRA has its own separate income limits.
What if my employer doesn't offer a 401(k)?
If no workplace plan is available, a Traditional or Roth IRA is your primary tax-advantaged vehicle. The full IRA contribution is deductible for Traditional since no workplace plan exists. Self-employed individuals have access to SEP IRAs, SIMPLE IRAs, or solo 401(k)s — each with substantially higher limits than a standard IRA.
Should I prioritize the Roth IRA even if I'm in a high tax bracket?
The higher your current bracket, the stronger the case for the Traditional 401(k)'s upfront deduction. At 32% or above, the immediate tax savings are substantial — and if you expect a lower bracket in retirement, the arbitrage is valuable. At those income levels, the Roth IRA (if you're still eligible) makes more sense as a supplemental account after maximizing the 401(k), rather than the priority step.
Is a Roth 401(k) the same as a Roth IRA?
Same after-tax contribution structure and tax-free withdrawal treatment — but several important differences. Roth 401(k)s have no income limits, much higher contribution ceilings ($24,000 vs $7,000), and starting in 2024 are no longer subject to RMDs. Roth IRAs allow penalty-free withdrawal of contributions at any time; Roth 401(k) withdrawals follow the plan's distribution rules. For most people, they're complementary — not interchangeable.
What happens to my 401(k) when I change jobs?
You have three main options: roll it into your new employer's 401(k), roll it into a Traditional IRA, or leave it in the old plan if allowed. Rolling into an IRA typically gives you the most investment flexibility and consolidation control. Rolling into a new employer's 401(k) preserves certain creditor protections. Cashing out triggers income tax plus a 10% early withdrawal penalty if you're under 59½ — almost always the worst option.

The Right Sequence Costs Nothing Extra — It Just Works Harder

Most people are leaving employer match dollars on the table, paying unnecessary investment fees, or forfeiting Roth flexibility they'll wish they had — not because they're careless, but because nobody walked them through the sequence. Model your specific situation and see the long-term difference.

Model My 401(k) Growth

⚠️ For informational purposes only — not financial advice.

More Free Retirement Calculators

Guide

The 4% Rule — how your contribution sequence affects withdrawal sustainability in retirement →

Guide

Roth vs Traditional IRA — deep dive on the Step 2 Roth IRA decision →

Calculator

Retirement Savings Goal — set your target and see if your contribution sequence closes the gap →