401(k) vs Roth IRA: Which Should You Fund First?
The real question isn't which account wins. It's what order to fund them in. Here is the CPA-built waterfall.
A guide by Taxstra Tax & Accounting — CPA-led tax strategy for business owners
Written by Bryan Martin, CPA, Managing Partner and Founder of Taxstra. Last reviewed July 8, 2026.
Educational content, not individualized tax advice.
A dollar-for-dollar employer match is an instant 100% return. No fund, no stock, no strategy we can put on your tax return earns that reliably. So before we compare a 401(k) to a Roth IRA, understand this: if you are skipping free match money to fund an IRA, you are losing the comparison before it starts.
The Answer in 58 Words
Fund your 401(k) up to the full employer match first. An employer match is an immediate 50% to 100% return no other account offers. Then fund a Roth IRA (or a backdoor Roth if your income is too high), then go back and max the 401(k). For most high earners the answer is both, in a specific order.
Why "401(k) vs Roth IRA" Is the Wrong Question
These are not rival products. They are slots in a sequence.
A 401(k) and a Roth IRA are not competitors for the same dollar. They are steps in an order of operations, and the "vs" framing is the mistake that costs people match money and Roth space every year.
Here is the actual error we see: people fund whichever account they opened first, max nothing, and leave the match or the IRA empty. Put a number on it: skipping a 4% match on a $150,000 salary forfeits $6,000 of compensation a year (illustrative round numbers). That is not a rounding error. That is real money left on the table because the question got framed wrong.
Two quick scope notes before we go further. Deciding between the traditional and Roth side of your 401(k) is a different question; we cover it at traditional vs Roth 401(k). And comparing a Roth 401(k) to a Roth IRA specifically is its own page too: Roth 401(k) vs Roth IRA. This page answers a narrower, more urgent question: given a 401(k) and a Roth IRA both sitting in front of you, what order do you fund them in?
What Actually Differs Between a 401(k) and a Roth IRA?
The literal comparison, before we get to the sequence
Before the sequence, the facts. Two differences actually drive the order of operations below: employer money exists only in the 401(k), and the Roth IRA has an income phase-out the 401(k) does not. Everything else in the table is secondary to those two facts.
Here is the honesty beat: neither account is "better." The 401(k)'s weakness is the menu and fees you do not control; the Roth IRA's weakness is its small limit. They do different jobs, and a full retirement plan uses both.
| Feature | 401(k) | Roth IRA |
|---|---|---|
| Annual contribution limit | $24,500 | $7,500 |
| Catch-up contribution (age 50+) | $32,500 total ($35,750 ages 60-63 under SECURE 2.0) | $8,600 total |
| Employer match available | Yes | No |
| Income limit to contribute | None | MAGI phase-out ($153,000 to $168,000 single; $242,000 to $252,000 MFJ) |
| Tax treatment of contributions | Typically pre-tax (Roth option may exist) | After-tax |
| Tax treatment in retirement | Taxed as ordinary income (traditional) | Qualified withdrawals tax-free |
| Investment menu | Limited to the plan's fund lineup | Anything at your chosen custodian |
| Typical fees | Plan-dependent, often bundled into fund expense ratios | You control them by choosing low-cost funds |
| Early access | 10% penalty rules generally apply; plan loans sometimes possible | Contributions withdrawable anytime; earnings restricted |
| Required Minimum Distributions | Required starting at age 73 (traditional) | No lifetime RMDs |
The Funding Order of Operations
Here is the entire decision in five steps
The order below exists because step 1 pays a return nothing else on the list can match. Here it is, step by step.
The Funding Order of Operations
Fund the 401(k) up to the full match. An employer match is a 50% to 100% immediate return on that dollar.
Fund the HSA next. Triple tax advantage: deductible going in, tax-free growth, tax-free out for qualified medical expenses.
Yes
Direct Roth IRA contribution
No
Backdoor Roth (nondeductible IRA + conversion)
Go back and fill the 401(k) toward the full employee deferral limit.
Mega backdoor Roth: after-tax contributions converted to Roth, if the plan document allows it.
Illustrative order of operations. Not individualized tax advice. Your plan document and income level can change the sequence.
1. 401(k) to the full employer match. A 50% match is an instant 50% return; a 100% match is an instant 100% return. Nothing else on this list, not a Roth IRA, not the market, competes with that on a risk-adjusted basis. Capture the match before anything else moves.
2. HSA, if you are on an HSA-eligible high-deductible health plan. One paragraph, because this is not the page's topic, but an honest waterfall cannot skip it: an HSA offers a triple tax advantage, deductible going in, tax-free growth, tax-free out for qualified medical expenses. In 2026, the self-only limit is $4,400 and the family limit is $8,750.
3. Roth IRA, with the income fork. Under the MAGI phase-out ($153,000 to $168,000 single, $242,000 to $252,000 MFJ in 2026), contribute directly up to the IRA limit of $7,500. Over it: the backdoor Roth, a nondeductible traditional IRA contribution followed by a conversion. This is the high-earner wedge, and the page's main down-funnel exit; the full walkthrough lives at our backdoor Roth walkthrough.
Watch OutThe Pro-Rata Rule
Existing pre-tax IRA balances can make a backdoor Roth conversion partly taxable under the pro-rata rule. Check your existing IRA balances before you convert; the full mechanics are covered in the backdoor Roth walkthrough above, not here.
4. Back to the 401(k), up to the employee deferral limit. The 2026 employee deferral limit is $24,500 ($32,500 with the standard age 50+ catch-up). Whether those dollars go traditional or Roth is the traditional vs Roth 401(k) question; we don't re-teach that decision math here.
5. Mega backdoor Roth, if the plan allows after-tax contributions and in-plan conversions or in-service withdrawals. Full mechanics and current-year limits live in our mega backdoor Roth guide; run your own numbers with the mega backdoor Roth calculator.
Worked Example: A $180,000 Tech Employee Walks the Waterfall
Composite hypothetical, illustrative round numbers
Take a hypothetical software engineer earning $180,000 with a 4% dollar-for-dollar match and $30,000 per year she can save. Composite scenario, illustrative round numbers, results vary. Here is how the waterfall plays out.
Step 1, the match: 4% of $180,000 is $7,200 into the 401(k), which pulls in $7,200 of employer match. That is $14,400 working from $7,200 out of her pocket.
Step 2, the HSA: she is on an HSA-eligible plan and contributes the illustrative individual limit of $4,400. Budget remaining after steps 1 and 2: $18,400.
Step 3, the fork: at $180,000 single, her MAGI is over the direct Roth IRA phase-out (single phase-out starts at $153,000, and $180,000 sits above that range), so she funds a backdoor Roth for the full IRA limit of $7,500. Budget remaining: $10,900.
Step 4, back to the 401(k): the remaining $10,900 of her budget goes back into the 401(k) toward the $24,500 deferral limit. Combined with her step 1 deferral of $7,200, that is $18,100 of employee deferral for the year, still under the $24,500 cap.
Step 5, mega backdoor: her $30,000 budget is exhausted before she reaches step 5. If a raise or bonus adds savings capacity next year, that new money flows to step 5 next; the mega backdoor Roth calculator shows what that space is worth once her plan allows it.
| Step | Account | Her Dollars | Employer Dollars |
|---|---|---|---|
| 1. Match | 401(k) | $7,200 | $7,200 |
| 2. HSA | HSA | $4,400 | $0 |
| 3. Backdoor Roth | Roth IRA | $7,500 | $0 |
| 4. Back to 401(k) | 401(k) | $10,900 | $0 |
Illustrative only. Composite hypothetical, not a projection of your results. Results vary.
Not Sure Which Fork You Are On?
A free initial consultation sorts your order of operations in 30 minutes, match formula, phase-out status, and mega backdoor eligibility included.
Find Out What You're Overpaying in Taxes
Book a free 30-minute call to walk through your situation. We'll tell you exactly how our CPA-led team can help — and whether we're the right fit.
What to Expect on the Call
Is a Roth IRA Ever Better Than a 401(k)?
Yes, in one specific situation
Yes, in one specific situation, and it is worth saying plainly: no employer match, and a high-fee plan with a bad fund menu. Once any match is captured, the Roth IRA's control, fund selection, and low cost can beat an unmatched 401(k) dollar for your next dollar of savings.
Illustrative fee math: a 1.2% plan cost versus a 0.05% index fund cost, on $100,000 over 20 years, hypothetical round numbers. At a 7% gross annual return, the 0.05%-cost portfolio compounds at 6.95% net to roughly $383,000 after 20 years; the same $100,000 at 5.8% net of the 1.2% plan cost compounds to roughly $309,000. That gap, about $74,000 on the same starting balance and the same gross return, is fee drag, not investment skill. A high-fee plan with no match can genuinely cost you that much.
Even then, the 401(k)'s higher limit means most high earners come back to it. The Roth IRA wins a battle, not the war. Name the reverse honestly too: the 401(k) wins on limit size, on the match, and on having no income cap; for high earners it usually holds more of the plan by the time you retire.
Both Is the Answer: What This Looks Like by Income Level
Three quick profiles, no new math
Early career, under the phase-out
Capture the match, then fund a direct Roth IRA. No fork to think about yet; the order is simple and the Roth IRA compounds tax-free for decades.
Mid career, approaching the phase-out
Watch your MAGI as income climbs. Heavier pre-tax 401(k) deferrals can keep you under the line; keep the backdoor Roth in your back pocket as the fallback.
High earner, over the phase-out
Match, then backdoor Roth, then max the deferral, then check the mega backdoor. The full five-step waterfall, every year.
Retirement account sequencing is one lever inside a full plan. For the rest of the levers, see how to reduce taxable income. And if you are a tech employee whose RSU income can spike your MAGI mid-year and push you across the phase-out, our CPA for tech employees service page covers the persona fit.
Who This Page Is For
Honest qualification before you keep reading
This page is for W-2 employees with access to a workplace 401(k) who can save beyond the match, especially tech and other high earners near or above the Roth IRA phase-out. If you are deciding where next month's savings goes, this is your page.
You do NOT need this page if you cannot yet save beyond your employer match. The answer for you is one line: take the full match, and come back when your savings rate grows. You can also skip it if you are self-employed with no employer plan; your comparison is SEP IRA vs solo 401(k).
Nothing here requires hiring anyone. The waterfall is DIY-able. Where we earn a call is the fork: backdoor Roth execution with existing IRA balances, mega backdoor plan review, and multi-account coordination in an RSU-heavy year.
Check Your Match Formula, Not Just the Percentage
"50% of the first 6%" and "100% of the first 3%" both cost you 6% and 3% of salary respectively to capture in full, and thousands of people stop contributing one payroll percent short of the full match. Read the summary plan description once; it pays better per minute than almost anything in personal finance.
Sequence Your Backdoor Roth Around Existing IRA Balances
If you are doing a backdoor Roth, look at your existing traditional IRA balances first. The pro-rata rule can make the conversion partly taxable, and the common fix is rolling pre-tax IRA money into your 401(k) before you convert. Sequence matters more than speed here.
Watch Your Per-Paycheck 401(k) Front-Loading
Front-loading your 401(k) early in the year can cost you match money if your plan matches per paycheck and has no true-up provision. One email to HR, "does our plan true up the match," tells you whether to spread contributions across all 12 months.
Frequently Asked Questions
Expert answers on 401(k) vs Roth IRA order of operations
Ready to Build Your Own Waterfall?
A free initial consultation walks your exact numbers through this order of operations, match formula, phase-out status, backdoor Roth, and mega backdoor eligibility. Educational content only; not individualized tax advice until we're engaged.
Find Out What You're Overpaying in Taxes
Book a free 30-minute call to walk through your situation. We'll tell you exactly how our CPA-led team can help — and whether we're the right fit.
