ResourcesGuide

What Order to Save In: 401(k) Match, HSA, IRA, Then What?

The usual order for retirement savings is the 401(k) up to the match, an HSA if you qualify, an IRA, back to the 401(k), then a taxable account. Here is why each step sits where it does, the 2026 limits at each step, a worked example for a $100,000 earner, and the situations that reshuffle the list.

Published Updated 9 min readHow we research

Key takeaways

  • The common order is: 401(k) up to the full employer match, HSA if you have an eligible health plan, a Roth or traditional IRA, back to the 401(k) up to its limit, then a taxable brokerage account or after‑tax 401(k) money.
  • 2026 limits at each step (IRS): 401(k) $24,500 ($32,500 at 50+), HSA $4,400 self‑only or $8,750 family, IRA $7,500 ($8,600 at 50+). Together that is $36,400 of room for a single saver under 50 with an HSA.
  • Worked example: a $100,000 earner saving $20,000 a year in this order puts $6,000 in the 401(k) for a $3,000 match, $4,400 in an HSA, $7,500 in a Roth IRA and $2,100 back in the 401(k) (illustrative).
  • The order changes with high‑interest debt, no emergency fund, no match, income above the Roth IRA limit ($153,000–$168,000 single in 2026), a high‑fee plan, or money you need before 59½.
  • A Roth IRA usually comes before a taxable brokerage account for retirement money; the brokerage account wins for goals before 59½ and for money above the limits.

Market risk reading, cross‑asset context and an events calendar: see Exent Market intel →

What order should you save for retirement in?

If your employer matches 401(k) contributions, the match comes first, because it is money you lose if you do not contribute. After that, many savers fund an HSA (if they have an eligible health plan), then an IRA, then go back and fill the rest of the 401(k), and only then invest in a taxable account. The logic is simple: take free money first, then the accounts with the best tax treatment per dollar, then the accounts with the most room.

Scope. US federal rules for 2026, as of October 26, 2026, for an employee with a workplace plan. Not covered in detail: state taxes, pensions, 529 college plans, and self‑employed plans (see SEP IRA vs Solo 401(k) vs SIMPLE IRA). This is how people usually weigh the order, not personal advice; check with a tax professional before acting on numbers that depend on your return.

The usual order, from the first dollar
Before investing
  • Emergency cashmonths of expenses
  • High‑rate debt paide.g. credit cards
  • Emergency cash → 401(k) to the full match · then
  • High‑rate debt paid → 401(k) to the full match · then
Step 1
  • 401(k) to the full matchfree money
  • 401(k) to the full match → HSA · match captured
Step 2
  • HSAonly with an eligible health plan
  • HSA → Roth or traditional IRA · HSA full
Step 3
  • Roth or traditional IRA$7,500 in 2026
  • Roth or traditional IRA → 401(k) up to $24,500 · IRA full
Step 4
  • 401(k) up to $24,500
  • 401(k) up to $24,500 → After‑tax 401(k) · still saving
  • 401(k) up to $24,500 → Taxable brokerage · still saving
Step 5
  • After‑tax 401(k)if the plan allows
  • Taxable brokerageno limit
A common sequence, not a rule. 2026 limits from the IRS (IR-2025-111, Rev. Proc. 2025-19).

How much fits at each step in 2026?

Each step has its own ceiling. The 401(k) and IRA limits are separate, so filling one does not reduce the other; the HSA limit is separate again. The table uses the IRS figures for 2026. For 2027 the IRS set the 401(k) deferral limit at $25,500 (catch‑up $8,500 at 50+, $11,750 at 60–63) and kept the IRA limit at $7,500 (IRS IR‑2026‑136, Nov 12, 2026); the 2027 HSA limits are $4,500 self‑only and $9,000 family. All 2027 limits: retirement accounts explained.

Step (2026)AccountYour 2026 limitWhy it sits here
1401(k), 403(b) or 457(b) up to the matchWhatever earns the full match (plan formula)The match is part of your pay; skipping it forfeits it
2HSA (needs an HSA‑eligible health plan)$4,400 self‑only; $8,750 family; +$1,000 at 55+Deductible in, tax‑free growth, tax‑free out for medical costs
3Roth IRA, or traditional IRA$7,500; $8,600 at 50+ (shared by both types)Any investment at any broker; Roth growth is tax‑free
4Back to the 401(k)Up to $24,500 total; $32,500 at 50+; $35,750 at 60–63Large tax‑advantaged room, but limited to the plan’s funds
5aAfter‑tax 401(k) (mega backdoor), if the plan allowsUp to $72,000 total from all sourcesMore Roth‑bound money for high savers
5bTaxable brokerage accountNo limitFlexible; gains taxed when sold

Sources: IRS IR‑2025‑111, Notice 2025‑67 ($72,000 total limit) and Rev. Proc. 2025‑19 (HSA). From January 1, 2026, bronze and catastrophic health plans also count as HSA‑eligible (IRS IR‑2025‑119). Every account type and limit is in the retirement accounts guide.

Why does the match come first and the HSA second?

The match. With a plan that adds 50 cents for every dollar you put in up to 6% of pay, your first 6% earns an immediate 50% on top before any investment return. No account later in the list can offer that. Check the plan’s vesting schedule: unvested match money can be lost if you leave early.

The HSA. Contributions are deductible, growth is not taxed, and withdrawals for qualified medical expenses are tax‑free (IRS Publication 969). No other common account is tax‑free at both ends. Leaving the HSA invested for retirement requires paying current medical bills from elsewhere; eligible withdrawals for current qualified medical expenses can also be tax‑free. That choice is the trade‑off in investing your HSA instead of spending it.

The IRA before the rest of the 401(k). An IRA at a broker can hold any fund, while a 401(k) holds only the plan’s menu. If your plan has low‑cost index funds, the gap is small and some people fill the 401(k) first; if its funds are expensive, the IRA step matters more. Whether that IRA should be Roth or traditional is a tax‑rate question covered in Roth vs traditional.

Taxable last. A brokerage account has no limit and no withdrawal rules, but dividends and realized gains are taxed every year along the way. It gets the money that no longer fits elsewhere, or money for goals before retirement.

What does the order look like for a $100,000 earner?

Illustrative example (Exent calculation from 2026 IRS limits). Alex is 35, single, earns $100,000, and can save $20,000 a year. The employer matches 50% of contributions up to 6% of pay. Alex has a self‑only HSA‑eligible health plan, three months of expenses in savings and no credit‑card debt.

StepArithmeticAlex puts inRunning total incl. match
1. 401(k) to the match6% × $100,000 = $6,000; match 50% × $6,000 = $3,000$6,000$9,000
2. HSA, self‑only2026 limit$4,400$13,400
3. Roth IRA2026 limit; income below the $153,000 phase‑out$7,500$20,900
4. Back to the 401(k)$20,000 − $6,000 − $4,400 − $7,500$2,100$23,000
Total$20,000 of Alex’s money + $3,000 match$20,000$23,000
  • After step 1 (401(k) to match)$9,000
  • After step 2 (HSA)$13,400
  • After step 3 (Roth IRA)$20,900
  • After step 4 (more 401(k))$23,000

Tax effect. If the $8,100 of 401(k) money is traditional (pre‑tax) and the HSA is deducted, $12,500 comes off taxable income. Alex’s taxable income before saving is $100,000 − $16,100 standard deduction = $83,900, inside the 22% bracket for single filers ($50,400–$105,700 in 2026, IRS IR‑2025‑103), and still inside it at $71,400 after. So the federal income tax saving is about 22% × $12,500 = $2,750, and the $20,000 saved costs about $17,250 of take‑home pay (federal income tax only; state tax ignored).

Why Roth at step 3 here. Alex is covered by a workplace plan, so a traditional IRA deduction phases out between $81,000 and $91,000 of modified AGI for single filers in 2026 (Notice 2025‑67). After the 401(k) and HSA amounts, Alex’s AGI is about $87,500, so only part of a traditional IRA contribution would be deductible. A Roth IRA avoids that problem at this income.

If Alex saved more. The full tax‑advantaged room is $24,500 + $4,400 + $7,500 = $36,400 of Alex’s own money (36% of pay). Beyond that, a plan that accepts after‑tax contributions has up to $72,000 − $24,500 − $3,000 match = $44,500 more room under the 2026 total limit; how that money gets to Roth is in the backdoor Roth guide. Everything else goes to a taxable account, the subject of investing after maxing your 401(k).

Should new money go to a Roth IRA or a brokerage account first?

For money you will not need before 59½, a Roth IRA usually comes first: there is no tax on dividends or trades inside it, and qualified withdrawals are tax‑free. A taxable brokerage account comes first when the money is for a goal before retirement, when the $7,500 IRA limit is already used, or when your income is above the Roth range and a backdoor Roth does not fit.

Your situation (2026)Usual first homeReason
Retirement money, income under $153,000 single / $242,000 jointRoth IRATax‑free growth; contributions can come back out first if needed
Goal in 3–10 years (house, business), larger than what you contributeTaxable accountEarnings in a Roth IRA withdrawn early can face tax plus 10%
Already put $7,500 in IRAs this yearTaxable account (or more 401(k))No room left in the IRA
Income above $168,000 single / $252,000 jointBackdoor Roth, if no pre‑tax IRA balances; else taxableDirect Roth IRA contributions are not allowed at that income

The Roth IRA’s flexibility comes from the ordering rule: non‑qualified withdrawals come from regular contributions first, then conversions, then earnings (IRS Publication 590‑B). In a taxable account, long‑term gains are taxed at 0%, 15% or 20% depending on income, and losses can offset gains (IRS Topic 409). The full side‑by‑side is in Roth vs traditional; what to hold in a taxable account is in tax‑efficient ETFs for a taxable account.

When is this order wrong?

The sequence assumes stable pay, a match, an HSA‑eligible plan and no expensive debt. Change any of those and the order moves:

  • High‑interest debt. Paying off a credit card that charges more than investments can reasonably be expected to earn is a guaranteed return; most people still take the match first, then attack the debt.
  • No emergency fund. Money in a 401(k) or IRA is costly to reach before 59½. A cash cushion usually comes before step 2; see how much cash to hold.
  • No match. Step 1 disappears. Many people then start with the HSA or the IRA, and use the 401(k) for its higher limit afterwards.
  • Not HSA‑eligible. Skip step 2. Without a high‑deductible, bronze or catastrophic plan you cannot contribute to an HSA.
  • Income above the Roth IRA range. At $168,000 single or $252,000 joint in 2026, direct Roth IRA contributions stop; a backdoor Roth works cleanly only with no other pre‑tax IRA money.
  • A high‑fee 401(k). Above the match, an IRA or taxable account with low‑cost funds can beat a plan that charges much more each year.
  • State tax. Moving to a lower‑tax state in retirement favours traditional (pre‑tax) money now; some states also tax HSA contributions differently from the federal rules.
  • Lower income. For 2026 the Saver’s Credit still applies; from 2027 contributions, the Saver’s Match adds up to 50%, max $1,000 a person, for single filers with modified AGI up to $20,500 (full match) and joint filers up to $41,000 (IRS).

Public‑sector workers with both a 403(b) and a 457(b) have a second full deferral limit, which changes how much fits at step 4; see 403(b) vs 457(b) vs 401(k). Over 50, catch‑ups add room at steps 3 and 4 (catch‑up contributions).

Limitations. The example uses a hypothetical match formula, federal income tax only and 2026 limits; it ignores payroll taxes, state tax, vesting schedules and investment returns. Plans differ in fees, Roth options and after‑tax features, so read your plan’s summary plan description before choosing an order.

Add market context with Exent Market intel

The order decides which account each dollar lands in; Market intel is about the market those dollars are invested in.

  1. Market intel provides market context, cross‑asset analysis, an events calendar and regular written notes. These can inform your review of an existing plan; they do not reliably predict crashes or guarantee better outcomes.
  2. It shows a reading of market risk (Risk ON, Neutral or Risk OFF) built on four pillars, and sends an email when that reading changes.
  3. Its notes discuss cross‑asset ratios such as stocks vs bonds, and 26 Market Intel 101 lessons cover money, rates, bonds and market plumbing.

Exent is our product. Educational content, not investment advice.

Frequently asked questions

A common order is: 401(k) up to the full employer match, an HSA if eligible ($4,400 self-only in 2026), a Roth or traditional IRA ($7,500), back to the 401(k) up to $24,500, then a taxable account or after-tax 401(k) money. Emergency cash and high-interest debt usually come before all of it.

Many savers fund the HSA first because it is tax-free going in, growing and coming out for medical costs, which a Roth IRA is not. Using it as a retirement account means paying current medical bills from elsewhere and leaving the HSA invested; withdrawals for current qualified medical expenses are also tax-free.

Usually not. People typically take the 401(k) match, then fund a Roth IRA, then go back to the 401(k). The exception is a plan with very low-cost funds, where filling the 401(k) first loses little.

For retirement money, a Roth IRA usually comes first because growth and qualified withdrawals are tax-free. A brokerage account comes first for goals before 59½, above the $7,500 IRA limit, or when income is above the Roth range.

Most people take the match first, since it adds an immediate 50% or 100% to what they put in, then pay down high-interest debt such as credit cards before investing more.

Skip the match step. Many people start with an HSA (if eligible) or an IRA, which can hold any low-cost fund, and then use the 401(k) for its $24,500 limit in 2026.

Yes. In 2026 Roth IRA contributions phase out between $153,000 and $168,000 of modified AGI for single filers and between $242,000 and $252,000 for joint filers, so $100,000 is well below the limit.

After-tax 401(k) contributions if the plan allows them (up to $72,000 from all sources in 2026), a 529 plan for education goals, and a taxable brokerage account, which has no limit.

The steps stay the same, but the limits change. For 2027 the IRS raised the 401(k) deferral limit to $25,500 and kept the IRA limit at $7,500 (announced Nov 12, 2026). From 2027 contributions, lower-income savers can also get the Saver’s Match.

Sources

Add market context to your plan.

Market intel provides a Risk ON / Neutral / Risk OFF reading from four pillars, cross-asset analysis, an events calendar and regular written notes. Context for reviewing a plan, not a crash forecast.

See what Market intel includesLimited offer67% off your first month

Educational content, not investment advice. Examples are illustrative; past performance does not guarantee future results.

DISCLAIMER: Exent AI is an informational research platform and does not provide investment advice, financial advice, or act as an investment adviser, broker-dealer, or fiduciary. All content, analytics, and model outputs are provided for educational and informational purposes only and should not be relied upon as a recommendation to buy, sell, or hold any financial instrument. Investing involves risk, including the possible loss of principal. Exent AI does not execute trades, hold customer funds, or provide brokerage services. Past performance and hypothetical results are not indicative of future results. Third-party data and AI-generated outputs may be incomplete or inaccurate.