401(k) vs Roth IRA vs HSA: Which to Fund First in 2026

You have a fixed amount to invest this year and four accounts asking for it. The order you fill them in is worth real money — more, in the first few thousand dollars, than almost any investment decision you’ll make on top.

Here’s the order, the 2026 numbers, and a full allocation worked through.

The 2026 Ceilings

Account 2026 limit Catch-up
401(k), 403(b), governmental 457, TSP $24,500 +$8,000 at 50+; +$11,250 if you turn 60–63 this year
Traditional or Roth IRA $7,500 +$1,100 at 50+
HSA — self-only coverage $4,400 +$1,000 at 55+
HSA — family coverage $8,750 +$1,000 at 55+

Sources: IRS Notice 2025-67 announcement for the 401(k) and IRA figures, Revenue Procedure 2025-19 for the HSA figures.

Two features of that table matter more than the numbers themselves.

The 401(k) and IRA limits are separate. Contributing $24,500 to a 401(k) does nothing to your IRA eligibility. A 45-year-old with the cash flow can put $32,000 into tax-advantaged retirement accounts in 2026 before touching an HSA.

The 60–63 catch-up is unusually large and easy to miss. If you turn 60, 61, 62 or 63 during 2026, your 401(k) catch-up is $11,250 rather than $8,000 — an extra $3,250 of shelter available in a narrow four-year window that closes at 64.

The Funding Order

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

This is not a close call and it never has been. A match of 50% on the first 6% of salary returns 50 cents on the dollar the moment the money lands — before any market return, in a year when the market could do anything. No later step in this list competes with a guaranteed 50%.

If you do nothing else in this article, find out what your match formula actually is. A surprising number of people contribute 3% to a plan that matches 6%, leaving money on the table every single pay period.

2. HSA to the limit — if you’re eligible.

The HSA is the only genuinely triple-tax-advantaged account available: deductible going in, growth untaxed, and withdrawals untaxed when they cover qualified medical expenses. A 401(k) taxes you on the way out. A Roth taxes you on the way in. An HSA does neither.

Two conditions. You need a qualifying high-deductible health plan. And the strategy only works if you invest the balance rather than spending it — which means paying current medical costs from cash flow and letting the account compound. An HSA used as a chequing account for co-pays is just a modest tax deduction; an HSA invested for twenty years is the best retirement account in the list.

Given that healthcare is often the single largest category of retirement spending, and the one that grows fastest before Medicare eligibility at 65, having a dedicated tax-free pot for it is well-matched to the actual problem.

3. IRA to the limit — Roth if you’re eligible.

Two reasons this outranks going back to the 401(k). Investment choice: an IRA at any major brokerage gives you the whole market, where a mediocre 401(k) menu might offer twelve funds with expense ratios you’d rather not think about. And tax diversification: a Roth IRA gives you a pot you can draw from in retirement without generating taxable income, which is a genuinely useful control lever.

Roth IRA contributions are subject to income limits. If you’re over them, the traditional IRA and its own deductibility rules apply, and the deduction phases out if you’re covered by a workplace plan. This is one of the few places worth checking the current-year thresholds rather than assuming.

4. Back to the 401(k), up to $24,500.

Once the match is captured and the IRA is full, the 401(k) is a large, simple, payroll-deducted shelter. Its main virtue at this stage is size — nothing else lets you shelter that much.

5. Taxable brokerage.

No deduction, no tax-free growth, but no rules either. No contribution limit, no withdrawal age, no penalty. If you’re planning to retire before 59½, a taxable account is not the leftover bucket — it’s the bridge that funds the years before penalty-free access begins, and it deserves deliberate funding rather than whatever happens to be left.

A Worked Allocation

Marcus is 41, earns $95,000, and can invest $22,000 this year. His employer matches 50% of the first 6% of salary. He has family HDHP coverage.

Step Account Amount Why
1 401(k) to match $5,700 6% of $95,000 — triggers $2,850 of employer money
2 HSA (family) $8,750 Triple tax advantage, invested not spent
3 Roth IRA $7,500 Full 2026 limit
4 401(k), remainder $50 What’s left
Marcus contributes $22,000
Employer adds $2,850
Total invested $24,850

His $22,000 becomes $24,850 working for him — a 13% head start on the year, from sequencing alone.

Now compare the same $22,000 poured into the 401(k) alone. He’d still capture the full match, since $22,000 comfortably exceeds 6% of salary, so he’d also land at $24,850 invested. The difference isn’t the amount — it’s the tax character. Under the ordered plan, $8,750 of it will come out entirely tax-free for healthcare and $7,500 will come out entirely tax-free for anything at all. Under the 401(k)-only plan, every dollar of the $24,850 is taxable as ordinary income on the way out.

That’s the whole argument for the ordering. Same contribution, same match, materially different tax bill thirty years later.

Where the Order Changes

No match? Skip step 1 and start at the HSA.

Not on a high-deductible plan? Skip step 2 entirely. An HSA is not available and a Limited Purpose FSA is a different, much smaller thing.

Retiring well before 59½? Move the taxable brokerage up. The standard order optimises for tax efficiency at a conventional retirement age and quietly assumes you can wait for penalty-free access. If you can’t, you need bridge money in an account without an age rule. The financial independence version of this planning is here.

Employer offers a Roth 401(k)? It has no income limit, unlike a Roth IRA, and shares the $24,500 elective deferral cap with traditional contributions. For high earners locked out of a Roth IRA, it’s often the better route to tax-free growth.

Self-employed? A SEP-IRA or solo 401(k) changes the arithmetic substantially, with contribution room based on business income rather than a flat elective deferral.

The Mistake That Costs the Most

It isn’t picking the wrong account. It’s stopping at the match.

A $95,000 earner who contributes exactly 6% is investing $5,700 of their own money — a 6% savings rate. That is not a retirement plan; it’s a start. The accounts in this article have room for $40,750 of shelter in 2026 for someone with family HDHP coverage. The match is the floor of the plan, not the plan.

Whether your current rate gets you where you need to be is a separate calculation — one that needs your target, your projection, and the gap between them. That’s the complete retirement calculator build.


Featured on ReadySheetGo

Retirement & FIRE Calculator — 9 tabs, 463 working formulas. The Account Planner tab is built for exactly this decision: enter what you can invest and it allocates across 401(k), Traditional IRA, Roth IRA, HSA and brokerage with a recommended contribution order, so you can see the effect of resequencing before you set your payroll deduction. Alongside it, a Dashboard with ON TRACK / NEEDS ATTENTION status, a Savings Projection tab running 40 years of compound growth, a FIRE Calculator with a savings-rate scenario table, a Withdrawal Strategy tab covering the 4% rule, an RMD schedule for ages 73–90 and a tax-efficient withdrawal order, an inflation-adjusted Expense Planner, and a Scenarios tab with best, expected and worst case plus Social Security claiming ages side by side. Works in Excel and Google Sheets, no macros. Instant digital download — $17.99.

Frequently Asked Questions

What is the right order to fund retirement accounts?

For most people: 401(k) up to the full employer match first, then an HSA if you're on a qualifying high-deductible plan, then an IRA, then back to the 401(k) up to the limit, then a taxable brokerage. The match comes first because it's an immediate guaranteed return no investment assumption can beat — a 50%-of-6% match returns 50 cents on every dollar the day you contribute, before the market does anything at all.

How much can I contribute to a 401(k) and IRA in 2026?

For 2026 the 401(k), 403(b), governmental 457 and TSP elective deferral limit is $24,500, with an $8,000 catch-up if you're 50 or older and a larger $11,250 catch-up for people who turn 60, 61, 62 or 63 during the year. The IRA limit is $7,500, with a $1,100 catch-up at 50 and over. The 401(k) and IRA limits are separate, so you can max both in the same year if you have the cash flow.

Is an HSA really better than a 401(k) for retirement?

For the portion of your retirement spending that will go to healthcare, yes — it's the only account that is tax-deductible going in, tax-free while it grows, and tax-free coming out, provided the withdrawal covers a qualified medical expense. That's a genuine triple advantage no other account has. It only beats a 401(k) after you've captured your employer match, and only if you're on a qualifying high-deductible health plan and can pay current medical costs from cash flow instead of raiding the account.

Should I choose Roth or traditional contributions?

The textbook rule is Roth if you expect a higher tax rate in retirement than today, traditional if lower. In practice most people can't forecast that with confidence, which is an argument for holding some of each — traditional in the 401(k) for the deduction now, Roth in the IRA for tax-free growth later. Having both gives you the ability to control your taxable income year by year in retirement, which is worth something on its own regardless of which guess turns out right.

Find Out If You're Actually On Track to Retire

The Retirement & FIRE Calculator — 9 tabs and 463 working formulas — a Your Info tab that collects every input in yellow-highlighted cells; a Retirement Dashboard returning an ON TRACK / NEEDS ATTENTION readiness status; a Savings Projection tab running 40 years of compound growth with a portfolio chart; an Account Planner that optimises contributions across 401(k), Traditional IRA, Roth IRA, HSA and brokerage with a recommended funding order; a FIRE Calculator returning your financial independence number, years to FIRE, FIRE age and progress percentage with a savings-rate scenario table; a Withdrawal Strategy tab with 4% rule analysis, a Required Minimum Distribution schedule for ages 73-90 and a tax-efficient withdrawal order; an Expense Planner projecting retirement spending by category with inflation adjustments; and a Scenarios tab running best, expected and worst case side by side with a Social Security claiming comparison at ages 62, 65, 67 and 70. Dual-income support for couples. Formula cells protected. Works in Excel and Google Sheets.

View on Etsy — $17.99