(657) 571-2607Book a callEspañol

Education · Investing basics

401(k) vs IRA: the order of operations

It's not a versus at all. Most people should use both — in a particular order, for reasons you can check. Here's the sequence and the logic behind every step.

The short answer

Capture your full employer 401(k) match first — it's an immediate return nothing else offers. Then, in most cases: HSA if you're eligible, then an IRA for its flexibility and cost control, then back to the 401(k) toward its $24,500 limit (2026), then a taxable account. The order encodes priorities, not commandments — the exceptions are below.

Why "401(k) vs IRA" is the wrong question

These two accounts aren't rivals — they're slots you fill in a sensible order. Most people can use both. The real question is which dollar goes where first, because the same dollar can earn an employer match in one slot, a tax deduction in another, and nothing special in a third. Getting the order right is one of the few genuinely free wins in personal finance.

The order of operations

A widely used sequence, with the reasoning attached to each step:

  1. Contribute enough to your 401(k) to capture the full employer match. A typical match — say 50 cents per dollar on the first 6% of pay — is an immediate 50% return on those dollars that no investment reliably offers. Skipping the match to fund anything else means leaving compensation on the table. (One caveat: matches often vest over several years; if you're likely to leave soon, know your vesting schedule.)
  2. If you have a high-deductible health plan, consider the HSA next. A Health Savings Account is the only mainstream account that can be triple tax-advantaged: deductible going in, tax-free growth, and tax-free out for qualified medical expenses (IRS Publication 969). For 2026 the IRS limits are $4,400 self-only and $8,750 family coverage. Note for Californians: the state does not conform — California taxes HSA earnings — which trims, but rarely eliminates, the advantage.
  3. Then an IRA, up to its limit. Why pause the 401(k) here? An IRA gives you an unlimited menu of investments and, often, lower costs than a workplace plan's fund lineup. The 2026 IRA limit is $7,500 ($1,100 catch-up at 50+). Whether Roth or traditional serves you better is its own decision — our Roth vs traditional guide walks through it. Be aware that deducting a traditional IRA phases out at higher incomes if you're covered by a workplace plan, and direct Roth IRA contributions phase out at higher incomes too (IRS sets these thresholds annually).
  4. Back to the 401(k), toward its full limit. The 2026 employee deferral limit is $24,500, plus an $8,000 catch-up at 50+ (IRS Notice announcing 2026 limits). High savers exhaust the IRA quickly; the 401(k)'s much larger limit is where serious retirement saving happens.
  5. After that, a taxable brokerage account. No special tax treatment going in, but full flexibility — no early-withdrawal penalties, and long-term capital gains rates coming out.

One step belongs before all of these: a starter emergency fund. Retirement accounts penalise early withdrawals; a savings buffer is what keeps a car repair from becoming a 401(k) loan.

401(k) vs IRA, head to head

 401(k)IRA
2026 contribution limit$24,500 (+$8,000 catch-up 50+)$7,500 (+$1,100 catch-up 50+)
Employer matchOften yes — free compensationNever
Investment menuLimited to the plan's lineupEffectively unlimited
Typical costsPlan and fund fees vary widelyYou control the costs
Income limits to contributeNoneRoth: phase-outs apply; traditional: deduction may phase out
Creditor protectionStrong under federal law (ERISA)Varies; generally strong in bankruptcy
Early access quirksRule of 55; plan loans if offeredContributions to a Roth IRA come out anytime tax- and penalty-free

Sources for the limits: the IRS announces cost-of-living adjustments each fall; the figures above are the announced 2026 amounts. Always confirm the current year's numbers at irs.gov before contributing.

The reasoning, spelled out

Match before everything because it's the only step with a guaranteed, immediate return. HSA early because no other account is tax-advantaged three ways, and healthcare is a certainty of retirement, not a maybe. IRA before maxing the 401(k) because control matters: many workplace plans carry fund lineups with expense ratios several times what the same asset class costs in an IRA, and cost differences compound relentlessly — our fee analyzer shows that arithmetic. 401(k) before taxable because tax deferral generally beats annual taxation for long-horizon money.

None of this is rigid. If your 401(k) happens to offer excellent low-cost funds, running steps 3 and 4 together is perfectly reasonable. The order encodes priorities, not commandments.

Common exceptions worth knowing

  • No match offered? Then the IRA's flexibility may move to the front of the line, with the 401(k) after — its bigger limit still matters.
  • Self-employed? A SEP IRA or solo 401(k) changes the limits dramatically; the order logic still applies but the containers differ.
  • High income? Roth IRA phase-outs may push you toward the backdoor Roth route — which has a genuine trap called the pro-rata rule. Read the Roth vs traditional guide before attempting it.
  • Old 401(k)s from prior jobs? Consolidating them is a separate decision with its own pitfalls — see the rollover guide and seven costly rollover mistakes.
  • Your employer auto-enrolled you in CalSavers? That's a Roth IRA under the hood, with the IRA's limits and income rules — worth knowing if your income is high.

Common questions

Can I contribute to both a 401(k) and an IRA in the same year?

Yes — the limits are separate. In 2026 that's up to $24,500 in employee 401(k) deferrals and up to $7,500 in an IRA. What can phase out at higher incomes is the deductibility of a traditional IRA (when you're covered by a workplace plan) or the ability to contribute directly to a Roth IRA.

What if my 401(k) has terrible investment options?

Still capture the full match — it's an immediate return no fund fee erases. Beyond the match, weigh the plan's costs against an IRA's flexibility; contributing to the IRA first is a common response. When you eventually leave that employer, a rollover can move the money somewhere better.

Is an HSA really a retirement account?

It can function as one. After 65, non-medical withdrawals are taxed like a traditional IRA's, and medical withdrawals remain tax-free (IRS Publication 969). California taxes HSA earnings at the state level, which reduces the benefit for Californians without eliminating the federal advantage.

Where does paying off debt fit in this order?

A common approach: capture the employer match first even while carrying debt, because a 50–100% match generally beats any interest rate you're paying; then weigh high-interest debt against the later steps. This depends heavily on the rates involved and your circumstances.

This guide is general education, not individualised investment, legal or tax advice, and reading it does not create an advisory relationship. Individual circumstances vary — figures, limits and rules cited here change over time and may not apply to your situation. Confirm current figures with the IRS, the Social Security Administration, or your plan documents, and consider speaking with a qualified adviser or CPA before acting. Aduna Capital LLC is a California DFPI-registered investment adviser (CRD #311270). Aduna Capital LLC is not affiliated with, endorsed by, or sponsored by CalSavers, the California State Treasurer's Office, CalPERS, CalSTRS, or any other retirement system, employer or school district named on this page.

Not sure which step you're on?

Bring your pay stub and your plan's fund list. We'll map the order to your actual numbers — fifteen minutes, free.