Which Investment Accounts to Use — and in What Order

401(k), IRA, HSA, Roth, taxable brokerage — each has different tax treatment and rules. Here's how to prioritize them.

The Core Problem

Most people who start seriously saving for retirement face the same problem: there are multiple account types available, all with different rules, limits, and tax treatments, and the guidance about which to use first is scattered across conflicting sources.

The answer isn't mysterious. There's a well-established priority order that the personal finance community has converged on over decades, and the logic behind it is straightforward once you understand what each account type actually does to your taxes. This page explains the priority order and the reasoning behind each step.

One important caveat: this is about the order in which to prioritize dollars, not the amount. If you can't afford to max everything, use this as a decision framework for where each next dollar goes.

The Priority Order
This is the generally recommended order for someone with access to all account types. Your situation may vary — particularly around whether you have access to an employer match, an HSA, or whether you're above the Roth IRA income limits.
Step Account Reason
1 401(k) up to employer match Guaranteed 50–100% return on contributions
2 HSA (if available) Triple tax advantage — the best account in America
3 Roth or Traditional IRA More investment flexibility than 401(k); $7,000 limit (2026)
4 401(k) to the maximum Maximize remaining pre-tax or Roth contributions; $23,500 limit (2026)
5 Taxable brokerage No limits, maximum flexibility, after all tax-advantaged space is filled
Step 1: 401(k) Up to the Employer Match

If your employer offers a 401(k) match, this is the first place every dollar should go — before paying down low-interest debt, before opening an IRA, before anything else that doesn't have a guaranteed return.

Here's why: a typical employer match is 50% of your contribution up to 6% of salary, or 100% up to 3%. If you contribute 6% of a $70,000 salary ($4,200), your employer adds $2,100. That's a 50% return on your money before the market does anything. There is no investment on Earth that guarantees a 50–100% return. Leaving this money on the table is the single most expensive mistake in personal finance.

The match contribution is usually subject to a vesting schedule — meaning you only "own" the employer's contributions after you've been with the company for 1–5 years (depending on the plan's schedule). This doesn't change the math much for most people, but it's worth knowing if you're planning to leave your job in the near term.

Traditional or Roth 401(k)? The tax treatment question applies here too. Younger workers in lower brackets typically benefit more from Roth. Higher earners often benefit more from the pre-tax deduction of a Traditional. See the full comparison on the Roth vs Traditional IRA page — the same logic applies to 401(k) decisions.

Step 2: The HSA — The Best Account You Might Be Ignoring

If you have access to a Health Savings Account (HSA) through a high-deductible health plan (HDHP), max it out before your IRA. The HSA is, by the math, the most tax-advantaged account in the U.S. tax code. It offers something no other account type does: a triple tax advantage.

Tax Event 401(k) Roth IRA HSA
Contributions Pre-tax ✓ After-tax Pre-tax ✓
Investment growth Tax-deferred ✓ Tax-free ✓ Tax-free ✓
Withdrawals (qualified) Taxed as income Tax-free ✓ Tax-free for medical ✓

Contributions go in pre-tax. The money grows tax-free inside the account. And withdrawals for qualified medical expenses are completely tax-free — at any age. No other account type does all three simultaneously.

After age 65, HSA withdrawals for non-medical expenses are simply taxed as ordinary income — identical to a Traditional IRA. This makes the HSA a stealth retirement account: in the worst case, you use it like a 401(k) after 65. In the best case, you use it for medical expenses (which are substantial in retirement) entirely tax-free.

The optimal HSA strategy: pay current medical expenses out of pocket (if you can afford to), invest your full HSA balance in index funds, and save every medical receipt. There is no statute of limitations on HSA reimbursements — you can submit a receipt from 2026 in 2040 and withdraw tax-free. Over the years, you can build up a large "medical receipt bank" and access those funds tax-free at any age.

The 2026 HSA contribution limits are $4,300 for self-only coverage and $8,550 for family coverage, with an additional $1,000 catch-up contribution if you're 55 or older.

Step 3: IRA (Roth or Traditional)

After your employer match and HSA, the next priority is an Individual Retirement Account (IRA). The IRA limit in 2026 is $7,000 ($8,000 if you're 50 or older), and you can split this between Roth and Traditional as you wish — you just can't exceed the combined total.

Why the IRA before going back to max the 401(k)? Two reasons. First, IRAs typically offer access to any investment — stocks, bonds, index funds, REITs — while 401(k) plans are limited to whatever funds your employer's plan administrator has selected, which can include expensive actively managed funds with high expense ratios. Second, the IRA has more flexibility: Roth IRA contributions (not earnings) can be withdrawn at any age, penalty-free, making them useful as an emergency fund backup for early retirees.

Income limits apply to Roth IRA direct contributions. In 2026, the phase-out begins at $150,000 for single filers and $236,000 for married filing jointly. Above those limits, you can still contribute via the "Backdoor Roth" strategy: contribute to a nondeductible Traditional IRA, then immediately convert it to Roth. This is legal, well-established, and widely used — though watch for the pro-rata rule if you have other pre-tax Traditional IRA balances.

If you're uncertain between Roth and Traditional, a useful heuristic: Roth for income under the 22% bracket, Traditional for income in the 32%+ bracket, and either or both in the middle. The full comparison is on the Roth vs Traditional page.

Step 4: Max the 401(k)

After maxing the IRA, return to your 401(k) and contribute up to the annual maximum. In 2026, the employee contribution limit is $23,500 ($31,000 if you're 50 or older, due to catch-up contributions). This is in addition to any employer contributions.

Even if your 401(k) plan has limited or expensive fund options, the tax deferral is usually worth it. At a 22% marginal rate, every $1,000 contributed to a Traditional 401(k) saves you $220 in federal taxes today. Over many years, that tax savings — invested and compounding — adds up substantially.

Some high earners have access to a "Mega Backdoor Roth" strategy through their 401(k), which involves after-tax contributions beyond the normal limit and then an in-plan Roth conversion. This can allow contributions of up to $70,000 total (employee + employer + after-tax) in 2026. Availability varies by plan — check whether your 401(k) allows after-tax contributions and in-service distributions.

Step 5: Taxable Brokerage Account

Once all tax-advantaged space is filled, any additional investing goes into a taxable brokerage account. This is a standard investment account — there are no contribution limits, no special tax treatment, and no penalty for withdrawing at any age. You invest after-tax dollars, and you pay taxes on dividends received and capital gains realized each year.

The taxable brokerage is more flexible than any retirement account, which makes it especially valuable for FIRE planners who want to retire before 59½ (when 401(k) and IRA withdrawals become penalty-free). Before that age, the taxable account is often the primary income source, allowing the retirement accounts to continue compounding untouched.

Tax efficiency matters more in a taxable account. Strategies to minimize the drag:

Use low-turnover index funds. Funds that rarely trade generate fewer capital gains distributions, reducing annual tax liability.

Hold bonds in tax-advantaged accounts. Bond interest is taxed as ordinary income, which is inefficient in a taxable account. Keep bonds in your 401(k) or IRA, and hold equities in taxable where long-term capital gains are taxed at lower rates.

Tax-loss harvest when opportunities arise. If a holding is down, you can sell it, realize the loss (which offsets other gains), and immediately buy a similar (but not identical) fund to maintain your exposure. The IRS wash-sale rule prevents you from buying the same security within 30 days of the sale.

Common Mistakes

Not contributing enough to get the full employer match. This is the most common and most costly mistake. If your employer matches up to 6%, contribute at least 6%.

Using the HSA as a spending account. Treating the HSA as a medical debit card wastes its greatest advantage — the ability to invest and let it grow. If you can pay medical expenses out of pocket, do it.

Leaving money in a 401(k) at a former employer with high-fee funds. Old 401(k)s can often be rolled over into an IRA at a brokerage of your choosing, where you have access to better funds at lower cost.

Investing in a taxable account before maxing tax-advantaged space. Every dollar in a taxable account instead of a Roth IRA is paying unnecessary taxes on growth. Use tax-advantaged space first.

Waiting to invest until you "figure it all out." Time in the market matters more than which account you use. If you're paralyzed by the decision, start with the 401(k) match and a Roth IRA. You can optimize later. You can't recover lost compounding time.

Frequently Asked Questions
What order should I invest in my accounts?
What is an HSA and why is it so powerful?
What's the difference between Traditional and Roth accounts?
What if my 401(k) has bad fund options?
What is the Backdoor Roth IRA?
When should I use a taxable brokerage account?

An unhandled error has occurred. Reload 🗙