Retirement

Which Retirement Account Should You Fund First?

Free calculator applies the priority stack to your income: match → HSA → Roth IRA → max 401(k) → taxable. Covers 2026 limits, Roth vs. traditional tradeoffs, backdoor Roth, and catch-up rules.

Last Updated: Feb 2026

Key Takeaways

There’s an optimal order to fund accounts. The priority stack (match, HSA, Roth IRA, max 401(k), taxable) maximizes every dollar’s tax efficiency. Following this sequence can add tens of thousands to your retirement balance compared to random allocation.

Your employer match is a guaranteed 50–100% return. Before optimizing anything else, capture every dollar your employer will match. Missing it is leaving compensation on the table.

The HSA is the most powerful retirement account most people ignore. Tax-deductible contributions, tax-free growth, and tax-free withdrawals for medical expenses. It’s the only account with a triple tax advantage. After 65, it works like a traditional IRA for any purpose.

Roth vs. traditional depends on your tax trajectory. If you expect higher taxes in retirement, Roth tends to win. If you’re in a high bracket now but expect lower income later, traditional tends to win. Most people benefit from having both.

Account2026 LimitCatch-Up (50+)Tax TreatmentRMDs?
401(k) / 403(b)$24,500$8,000Pre-tax or RothYes, at 73
Traditional IRA$7,500$1,100Pre-tax (if deductible)Yes, at 73
Roth IRA$7,500$1,100After-tax (tax-free growth)No
HSA (individual)$4,400$1,000 (55+)Pre-tax in, tax-free outNo
HSA (family)$8,750$1,000 (55+)Pre-tax in, tax-free outNo

401(k) catch-up is $11,250 for ages 60–63 under SECURE 2.0 (standard catch-up is $8,000 for ages 50–59 and 64+). HSA catch-up begins at 55, not 50. HSA limits include all contributions (employee + employer).

The Account Types and How They Work

Every retirement account is basically a container with special tax rules. The money inside can be invested in the same stuff (index funds, bonds, whatever), but the container determines when and how taxes get applied. Some containers let you skip taxes now and pay later. Others make you pay now but never again. Your job is figuring out which containers to fill first, because each one has a cap on how much it can hold.

The two tax approaches: pay now or pay later

Every retirement account falls into one of two camps: traditional (tax-deferred) or Roth (tax-free growth). The difference comes down to when you pay taxes.

Traditional (Pay Later)

Contribute pre-tax dollars today. Money grows tax-free. You pay income tax when you withdraw in retirement.

$10,000 contribution at 24% bracket

$2,400 tax savings now

Taxed as income when withdrawn

Roth (Pay Now)

Contribute after-tax dollars today. Money grows tax-free. Withdrawals in retirement are completely tax-free.

$10,000 grows to $76,123 over 30 years

$66,123 tax-free gains

At 7% annual return, no taxes ever owed on growth

Neither approach is universally better. The optimal choice depends on whether your tax rate is higher now or will be higher in retirement. We’ll get into that decision in Section 4.

The account lineup

401(k) / 403(b) / 457 are employer-sponsored plans with the highest contribution limits ($24,500 in 2026). Most offer an employer match, which is essentially free money. Available in both traditional and Roth versions. For W-2 employees, this is usually the biggest piece of the retirement puzzle.

Traditional IRA is an individual retirement account with a $7,500 annual limit in 2026. Contributions may be tax-deductible depending on your income and whether you have a workplace plan. The deduction starts phasing out at $81,000 for single filers ($130,000 married) if you’re covered by an employer plan.

Roth IRA is the most flexible retirement account. You can pull out your contributions anytime without penalty, there are no required minimum distributions, and everything grows tax-free. The catch: income limits. Contributions start phasing out at $153,000 for single filers ($242,000 married) and are fully eliminated at $168,000 ($252,000 married). High earners often use the “backdoor Roth” (contribute to a traditional IRA, then immediately convert) to get around this.

HSA (Health Savings Account) is technically a health account, but its the best retirement account in disguise. You need a high-deductible health plan to qualify. The triple tax advantage is what makes it special: contributions are tax-deductible, growth is tax-free, and withdrawals for medical expenses are tax-free too. After 65, you can withdraw for any purpose and it just gets taxed like a traditional IRA. Medical withdrawals stay tax-free forever.

Worth noting

If you can afford to pay medical expenses out of pocket today, you can let your HSA grow for decades and reimburse yourself later for any qualified medical expense you paid after opening the account. Even 20 or 30 years later. Keep your receipts.

Why the order you fill them matters

Not all tax-advantaged dollars are worth the same. An employer match is an immediate 50–100% return before your investments earn a penny. An HSA’s triple tax advantage beats a 401(k)’s double advantage. A Roth IRA’s flexibility and tax-free growth often beats traditional contributions for people early in their careers. The priority stack isn’t about picking one account. Its about filling them in sequence so every dollar you save gets the best available tax treatment.

The Priority Stack and 2026 Limits

The priority stack is a decision framework that tells you where to put your next dollar of retirement savings. It’s not about picking one account. It’s about filling them in the right sequence to get the most out of every dollar at every level.

The Priority Stack (in order)

1401(k) up to the employer match — guaranteed 50–100% instant return
2HSA (if eligible) — triple tax advantage beats everything
3Roth IRA — tax-free growth, flexibility, no RMDs
4Max out 401(k) — fill up the remaining $24,500 limit
5Taxable brokerage — no limits, but less tax-efficient

What the priority stack looks like in practice

Sarah earns $120,000 and wants to maximize her retirement savings. Her employer matches 50% of 401(k) contributions up to 6% of salary. She has a high-deductible health plan with family coverage. Here’s how the priority stack plays out compared to the most common mistake:

Following the priority stack

  • Step 1: 401(k) to match — $7,200/yr (6% of salary)
  • Step 2: Max HSA — $8,750/yr (family)
  • Step 3: Max Roth IRA — $7,500/yr
  • Step 4: Additional 401(k) — $17,300/yr

Her annual contribution:

$40,750

Plus $3,600 employer match = $44,350 total

Common approach: max 401(k) first

  • • Puts full $24,500 in 401(k)
  • • Gets $3,600 match (same)
  • • Skips HSA entirely
  • • Has $16,250 left, puts in taxable
  • • Misses triple tax advantage

Estimated lost tax advantage over 30 years:

~$48,000

From forgoing the HSA’s third tax benefit

Sarah contributes the same total either way. The difference is just which containers she fills first. But filling them in the right order could mean roughly $48,000 more at retirement, because the HSA’s third layer of tax savings (tax-free withdrawals for medical) doesn’t exist in a regular 401(k).

Self-employed options

If you have self-employment income, your contribution limits are significantly higher. A Solo 401(k) lets you contribute as both employee ($24,500) and employer (25% of net self-employment income), up to $72,000 total in 2026. A SEP IRA allows up to 25% of net self-employment income with the same $72,000 cap but only employer-side contributions. And a SIMPLE IRA has lower limits ($16,500 employee + 3% match) but is simpler to run if you have employees. Even a side gig with self-employment income can open up a Solo 401(k), which is worth knowing about.

Roth vs. Traditional and Other Tradeoffs

The priority stack tells you which accounts to fill. But within your 401(k) and IRA, you often have another choice: traditional (pre-tax) or Roth (after-tax). The math here depends on comparing your tax rate now to what you expect it to be in retirement.

If you’re in a lower bracket now (22% or below), early in your career with rising income, or expect tax rates to go up in general, Roth tends to come out ahead. You pay taxes at today’s lower rate and never pay them on the growth. If you’re in a high bracket now (32%+), expect lower income in retirement, or live in a high-tax state you plan to leave, traditional tends to win. You get the big deduction now when its worth the most.

If you’re not sure? A lot of people split their contributions between both. This gives you flexibility to manage taxable income in retirement regardless of what tax rates look like 20 or 30 years from now. And if your tax rate ends up being identical now and in retirement, traditional and Roth produce basically the same after-tax result. The tiebreaker in that case: Roth has no required minimum distributions and more flexibility.

Income limits and workarounds

Roth IRA contributions start phasing out at $153,000 for single filers and $242,000 for married couples filing jointly (2026). You’re fully ineligible above $168,000 single or $252,000 married. Traditional IRA deductions also phase out if you have a workplace plan: the range is $81,000 to $91,000 for single filers, $130,000 to $150,000 married.

High earners often use the “backdoor Roth” to get around the income limits. This involves contributing to a traditional IRA (no income limit on non-deductible contributions) and then immediately converting it to a Roth. It’s a well-established workaround that works cleanly as long as you don’t have existing pre-tax IRA balances. If you do, the conversion math gets more complicated because of the pro-rata rule.

The “I’ll catch up later” problem

Catch-up contributions after 50 add $8,000 to your 401(k) limit and $1,100 to your IRA. Helpful, but they can’t make up for skipping your 20s and 30s. Someone who contributes $500/month from age 25 to 35 and then stops will have more at 65 than someone who contributes $500/month from 35 to 65. The early dollars have 10 extra years to compound, and that head start is almost impossible to overcome.

If you’re in your 40s or 50s and haven’t saved much, the priority stack still applies, but the urgency is higher. Every tax-advantaged account has more value when the timeline is shorter. Catch-up contributions help, and the most powerful lever at that point is savings rate. The accounts optimize what you save. They can’t create savings from nothing.

One important rule now in effect for 2026: if your prior-year FICA wages from your employer exceeded $150,000, your 401(k) catch-up contributions must go into a Roth account. Pre-tax catch-up contributions are no longer an option at that income level. This is a SECURE 2.0 provision that took effect January 1, 2026, with full regulatory enforcement in 2027. If you’re 50 or older and earned over $150,000 in 2025, check with your plan administrator to confirm your catch-up elections are set correctly as Roth.

What if you don’t have a 401(k)?

If your employer doesn’t offer a 401(k), the stack is simpler: HSA (if eligible), Roth IRA, Traditional IRA, taxable brokerage. Your total tax-advantaged space is more limited, so each dollar matters more. If you have any self-employment income at all, even from a side gig, a Solo 401(k) or SEP IRA opens up much higher limits.

Frequently asked questions

Should I contribute to a Roth IRA or max my 401(k) first?

Neither first — the employer match comes first, always. After capturing the full match, the priority stack puts the Roth IRA before maxing your 401(k) for most people. Why? Better investment options, no RMDs, and more flexibility for early access. The main exceptions: if your 401(k) has unusually low-cost index funds, or you’re in the 32%+ bracket and the traditional 401(k) deduction is worth more than the Roth’s long-term tax-free growth.

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

Yes — they are completely separate contribution limits and have no effect on each other. You can contribute up to $24,500 to your 401(k) and up to $7,500 to a Roth IRA in 2026, for a combined $32,000 in tax-advantaged space (assuming you meet the Roth IRA income limits). Many people assume they have to choose; they don’t.

What is the priority order for retirement accounts if I don’t have a 401(k)?

Without an employer plan, the stack simplifies: HSA first (if you have an eligible high-deductible health plan), then Roth IRA, then Traditional IRA, then taxable brokerage. Your total tax-advantaged space is more limited — $4,400 HSA (individual) + $7,500 IRA — so each dollar matters more. If you have any self-employment income at all, even from a side gig, a Solo 401(k) opens up significantly higher contribution room and should jump to the top of the list.

The bottom line

Follow the priority stack: match first, then HSA, then Roth IRA, then max your 401(k), then taxable. This sequence ensures every dollar gets the best available tax treatment. The accounts you choose matter as much as how much you contribute. Optimizing both is how the math really starts working in your favor.

Retirement Account Allocation Calculator

Enter your income, employer match details, and current contributions to see how to allocate across accounts for maximum tax efficiency. The calculator applies the priority stack to your specific numbers.

Retirement Account Allocation Calculator — Apply the Priority Stack to Your Numbers

1

Your Details

2

Savings & Returns

$
$

Include employer match if applicable

%
$

Est. monthly benefit at retirement age

Projected Balance at Age 65

$1,394,374

Over 35 years at 7% annual return

Est. Monthly Income

$4,648/mo

4% withdrawal rate

Savings Growth Over Time

Shows projected total balance over time. The dashed line represents money you put in; the gap between the lines is compound growth.

What to look for in your results

Recommended contribution by account shows how much to put in each account type based on your income, match, and HSA eligibility, following the priority stack in order. Tax savings from optimal allocation estimates your current-year tax reduction and projects lifetime savings compared to a taxable-only approach. Projected balance at retirement shows how each account could grow by your target age. And tax-advantaged space used vs. available tells you whether you have any unused contribution room you could be filling.

This calculator provides estimates based on the information you enter and standard assumptions about investment returns and tax rates. Actual results will vary based on market performance, changes to tax law, and your personal circumstances. Contribution limits shown are for 2026 and may change in future years. This is educational information, not tax or financial advice. Consult a qualified financial advisor or tax professional for guidance specific to your situation.

Run the Full Analysis

The interactive calculator above is a quick-start version. The full tool offers more inputs, detailed breakdowns, data tables, and CSV export.

Open Full Calculator

Sources

  1. 1.IRS — "401(k) limit increases to $24,500 for 2026" (contribution limits and catch-up amounts)
  2. 2.IRS — "Retirement topics: IRA contribution limits"
  3. 3.IRS — "Amount of Roth IRA contributions that you can make for 2026" (income phase-out ranges)
  4. 4.IRS — "Publication 969: Health Savings Accounts and Other Tax-Favored Health Plans" (HSA limits and rules)
  5. 5.IRS — "Retirement plan and IRA required minimum distributions FAQs" (RMD age thresholds)
  6. 6.IRS — "One, Big, Beautiful Bill provisions" (SECURE 2.0 extensions and modifications)
  7. 7.Congress.gov — SECURE 2.0 Act of 2022 (catch-up contribution changes, age 60–63 provisions)
  8. 8.IRS — "Choosing a Retirement Plan: SEP" (SEP IRA contribution limits)
  9. 9.IRS — "One-participant 401(k) plans" (Solo 401(k) contribution rules)
  10. 10.Vanguard — "How America Saves 2024" (employer match participation data)

Explore Further

Found this helpful? Share it with someone who could benefit.

This content is for educational and informational purposes only and does not constitute financial, tax, or legal advice. Consult a qualified professional for advice tailored to your situation.