Retirement accounts are not investments. They are tax wrappers, and each one applies a different rule to the same underlying funds. Getting the sequence right is one of the few genuinely free wins in personal finance — it requires no forecasting skill, no market timing and no additional savings.

The default stacking order

  1. Employer match, to the full percentageA 50% match is a 50% instantaneous return on that contribution. Nothing else in this list competes. Check the vesting schedule, but contribute regardless.
  2. High-interest debt above roughly 8%Paying off a 22% credit card is a guaranteed 22% after-tax return. Read the payoff method comparison before choosing a sequence.
  3. HSA to the annual maximum, if eligibleDeductible contribution, tax-free growth, tax-free qualified medical withdrawals, and payroll contributions also avoid FICA. No other account does all four.
  4. Remaining 401(k) space, or an IRA if the plan is expensiveIf all-in plan costs exceed roughly 0.60%, fill an IRA first and return to the plan afterwards.
  5. Backdoor Roth IRA, if income limits applyNon-deductible traditional contribution converted promptly to Roth. Watch the pro-rata rule if you hold other pre-tax IRA balances.
  6. Mega-backdoor Roth, if the plan allows after-tax contributionsRare but powerful — potentially tens of thousands in additional Roth space annually.
  7. Taxable brokerage accountUnlimited, flexible, and with tax-efficient index holdings the drag is modest.

Before step oneNone of this works without a cash buffer. Retirement contributions funded by a credit card in the next emergency are a net loss. Size the buffer first — the emergency fund blueprint covers exactly how much.

Account comparison at a glance

FeatureTraditional 401(k)Roth 401(k)Traditional IRARoth IRAHSA
Contribution taxed?NoYesMaybeYesNo
Growth taxed?NoNoNoNoNo
Withdrawal taxed?YesNoYesNoNo, if qualified
Employer matchYesYesSometimes
Investment menuPlan-limitedPlan-limitedOpenOpenVaries widely
Income limitsNoneNoneDeduction phase-outYesPlan-based
Early accessRestrictedRestrictedRestrictedContributions anytimeMedical anytime

Roth or traditional: the only question that matters

Strip away the noise and the comparison reduces to one variable: is your marginal tax rate higher today or in the year you withdraw? Contribute to traditional when today's rate is higher. Contribute to Roth when it is lower.

Lean Roth when

  • You are early career with income likely to rise materially.
  • You already hold large pre-tax balances that will create sizeable future required distributions.
  • You value withdrawal flexibility — Roth contributions can be accessed without penalty.
  • You expect to leave assets to heirs, where tax-free inheritance is more valuable.

Lean traditional when

  • You are at or near your peak earning years in a high bracket.
  • You plan to retire in a lower-tax jurisdiction or with substantially lower spending.
  • You will have a gap year — early retirement, sabbatical, business loss — to convert at low rates.
  • The deduction is what makes the contribution affordable at all.

The HSA case, made properly

The health savings account is the most underused wrapper in the system. Contributions reduce taxable income, growth is untaxed, and qualified medical withdrawals are untaxed — a combination no retirement account matches. Payroll-deducted contributions also escape Social Security and Medicare tax.

The receipt strategyPay current medical costs from cash flow, invest the HSA balance, and keep digital copies of every qualifying receipt. There is no deadline for reimbursement — you can withdraw tax-free decades later against those old receipts, having let the balance compound untouched.

Two cautions. Many HSA providers charge account fees or restrict investment until a cash threshold is met, so compare custodians. And eligibility requires a qualifying high-deductible plan — which is only sensible if the plan itself is right for your health situation. Our deductible and out-of-pocket guide works through that trade-off.

When the standard order breaks

Expensive plan menus. An all-in cost of 1.2% against a 0.04% index alternative is a 1.16-point annual handicap. Take the match, then move to an IRA, then return to the plan only after IRA space is exhausted.

Short vesting horizon. If you expect to leave before the match vests, its value is contingent. Contribute for the tax treatment, but do not over-weight the match in your reasoning.

Anticipated large purchase. Money needed for a down payment inside five years does not belong in a retirement wrapper. Withdrawal restrictions and penalties are the point of the account.

Aggressive early-retirement plans. Retiring at 50 requires a bridge from 50 to 59½. A taxable account, Roth contribution basis and a conversion ladder built years in advance form that bridge — see the withdrawal simulator.

Limits, errors and borders of the standard advice

Critical review

Account-sequencing advice has calcified into a checklist that gets recited without its assumptions. Most of those assumptions concern future tax rates, which nobody knows, and future legislation, which changes.

"Always contribute enough to get the full employer match — it's free money."

The claimThe match is an immediate guaranteed return, so it comes first.

Where it breaksThis is the strongest rule in the set and it still has edges. Matches vest, sometimes over years, so an employee leaving before vesting receives nothing — the "free money" was conditional. It is also not free relative to a higher-cost plan: a match into a plan with poor fund options and heavy administrative fees is worth less than the headline percentage, occasionally much less. And for someone carrying debt at very high interest, or genuinely unable to meet essential costs this month, locking money away until retirement is not obviously superior to solvency now.

The borderCapture the match before any other investing in almost every case. Check the vesting schedule if your tenure may be short, and check total plan costs — if they are extreme, contribute to the match and no further.

"Choose Roth if you expect higher taxes later, traditional if lower."

The claimThe decision reduces to comparing your current marginal rate with your future one.

Where it breaksIt requires a forecast of your own income decades ahead and of tax legislation that will be rewritten several times in between — a prediction dressed as arithmetic. The comparison is also incomplete: the relevant future figure is your effective rate on withdrawals, not your marginal rate, and it interacts with pension taxation, benefit means-testing, healthcare subsidies and required distributions. Contribution limits are nominally equal but not economically equal, because a Roth contribution is post-tax and therefore represents more real saving. And the framing ignores the value of holding both, which is optionality rather than a bet.

The borderTraditional is the better default at high current marginal rates; Roth is clearly better for low earners, early-career workers and anyone expecting a long low-income window before retirement. Where genuinely uncertain — which is most people — split, and treat the split as insurance against being wrong rather than an inability to decide.

"Max out your retirement accounts before investing anywhere else."

The claimTax-sheltered space is scarce and valuable, so it should be filled first.

Where it breaksIt ignores liquidity entirely. Money in these accounts is expensive to access before retirement age, and someone who fills them while holding no accessible savings has an excellent balance sheet and a fragile life — the first job loss or major repair forces an early withdrawal with penalties, or new debt. The advice also assumes a conventional continuous career; for someone who may buy a business, take a sabbatical, emigrate or retire early, taxable accounts carry option value that the tax shelter does not. Cross-border complications are severe and rarely mentioned: these wrappers are often not recognised abroad.

The borderFill the shelter aggressively when income is stable, the buffer is funded and retirement is the actual goal. Keep meaningful taxable savings alongside it if early access is plausible — and get advice before maximising a wrapper you may have to explain to a foreign tax authority.

"An HSA is the best retirement account available."

The claimTriple tax advantage makes it superior to every other wrapper.

Where it breaksThe tax treatment is genuinely excellent and the eligibility is the catch: it requires enrolment in a specific type of high-deductible health plan, which is the wrong plan for many people. Choosing a worse health plan to access a better savings account can cost more in medical spending than the tax saving — especially for anyone with chronic conditions or a family with regular care. The strategy of paying costs out of pocket and invested growth also assumes you have the spare cash to do so, which the households most attracted to a lower premium often do not. Many providers charge fees or force cash balances that erode the advantage, and the wrapper is meaningless outside the country that created it.

The borderOutstanding for a healthy, higher-income saver whose health plan choice is already the high-deductible option and who can genuinely leave it invested. Choose the health plan on expected total medical cost first — see the deductible comparison — and treat the account as a bonus, not the reason.

Where our own position is weakest

Everything above is built on one country's wrappers, and readers elsewhere have different vehicles with different rules — our sequencing may not map at all. We also quote no limits or thresholds, so the plan must be completed with current figures. Most fundamentally, the whole decision rests on future tax rates and future legislation, and we have no more insight into those than anyone else: our recommendation to split and hedge is an admission of that ignorance rather than a solution to it.

Frequently asked questions

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

Yes. The limits are separate. What plan participation can affect is whether your traditional IRA contribution is deductible, which phases out at certain income levels. Roth IRA eligibility phases out on income independently.

What is the pro-rata rule and why does it matter?

When you convert money to Roth, the taxable portion is calculated across all your traditional, SEP and SIMPLE IRA balances combined — not just the account you converted. Large pre-tax IRA balances therefore make a clean backdoor Roth difficult. Rolling those balances into a workplace plan first can solve it.

Should I stop contributing to pay off my mortgage?

Rarely before capturing the match. Compare the mortgage rate against a realistic long-run return, remember the mortgage rate is a fixed known and the return is not, then weigh how much you value being debt-free. Both answers are defensible above roughly 6%.

Is a taxable account really the last stop?

Last in the sequence, but not a consolation prize. Broad index funds in a taxable account generate little annual tax drag, gains can be harvested and timed, and appreciated assets receive a basis step-up at death. Flexibility has genuine value.

The bottom line

Match, then high-interest debt, then HSA, then the rest of your plan or an IRA if the plan is expensive, then backdoor strategies, then taxable. Choose Roth or traditional based on your marginal rate today against your expected rate at withdrawal, and if you genuinely cannot tell, split the difference — diversifying tax treatment is a reasonable hedge against your own forecast being wrong.


Revision log. Jul 2026: added the Roth comparison model and expanded HSA receipt strategy. Contribution limits are reviewed annually; always confirm current-year figures.