Module 1 · 12 min read

Roth IRA, 401(k) or brokerage account?

Compare U.S. retirement and brokerage accounts, understand employer matching and see how tax rules, contribution limits and access can shape the choice.

Written by the StockEducation Editorial Team · Reviewed by Associate Professor Charles Lo, CPA, PhD · Updated · How we check lessons

Quick answer

What is the difference between a Roth IRA, a 401(k) and a brokerage account?

All three can hold similar investments; they differ in tax treatment, contribution limits and access. A 401(k) comes through an employer and may include a match. A Roth IRA uses after tax money for tax free qualified withdrawals. A taxable brokerage account has no contribution cap, but you pay tax on dividends and realized gains.

Key takeaways

  1. A 401(k), an IRA and a taxable account can hold the same investments; they differ in tax, limits and access.
  2. For 2026 the IRS limits are $24,500 for 401(k) deferrals and $7,500 across all IRAs, with more for savers 50 and over.
  3. Traditional accounts give the tax break now; Roth accounts give it later, on qualified withdrawals that pass the five year rule.
  4. Roth IRA contributions phase out between $153,000 and $168,000 of income for single filers in 2026.
  5. Before 59½, most 401(k) and IRA withdrawals can face an extra 10% tax unless an IRS exception applies.
  6. Match, then IRA, then more 401(k), then taxable is one common order, built on assumptions that may not fit you.

Start the lessonTake the quick checkRead the FAQSee the sources

All 4 parts of this lesson

Part 1 of 4 · Accounts and limits

What is the difference between the account and the investment?

An account is the container; a fund or a stock is what goes inside it. A workplace 401(k), an individual retirement account (IRA) and a taxable brokerage account can all hold similar investments, though the menu depends on the plan or provider. Opening an account does not pick an investment for you: money can sit in cash until you choose one.

The three accounts differ in three ways: when you pay tax, how much you can put in each year, and when you can take money out without a penalty.

Three accounts side by side (2026 rules)

AccountWhen you pay taxLimit and access
401(k), pre taxTax deferred now; withdrawals taxed as income$24,500 a year; extra 10% tax before 59½ unless an exception applies
Roth IRATax paid now; qualified withdrawals tax free$7,500 a year across IRAs; income limits apply; contributions can come out first
Taxable brokerageDividends and interest yearly; gains when you sellNo cap; no age rules
Notice that all three can hold the same funds; what changes is when tax applies and when you can reach the money without a penalty. Source: IRS: 2026 retirement limits and Roth comparison chart.

For 2026, the standard limit on what you can defer from your pay into a 401(k) is $24,500. The combined limit for traditional and Roth IRAs is $7,500.1,2 These are separate allowances, not slices of one total, so you can use both in the same year.

2026 annual contribution limits, before age based catch up

The 401(k) and IRA limits are separate allowances, so a worker can use both in one year. HSA limits require eligible high deductible coverage. Source: IRS: 2026 retirement limits; Revenue Procedure 2025 19.

What changes the limits

Age. From age 50, the IRA limit rises to $8,600 including the catch up, and the usual 401(k) catch up adds $8,000. Savers aged 60 to 63 may instead qualify for an $11,250 401(k) catch up, if the plan allows it. From 2026, workers whose prior year wages from that employer were over $150,000 must make 401(k) catch up contributions as Roth contributions.3

Earnings. You generally cannot put more into an IRA than your taxable compensation for the year.1,2

Income. For 2026, the amount you can put directly into a Roth IRA phases out between $153,000 and $168,000 of modified adjusted gross income for single and head of household filers, and between $242,000 and $252,000 for married couples filing jointly.1 Whether a traditional IRA contribution is deductible also depends on your income and whether you have a workplace plan; being allowed to contribute is not the same as getting a deduction.1

The rule

The account sets the tax rules and the limits; the investments inside it set the returns.

Marks Part 1 done

Part 2 of 4 · Tax now or later

Roth or traditional: when do you pay the tax?

The difference is timing. With Roth accounts, you pay income tax on the money first and put in what is left; qualified withdrawals later are tax free.4 With a pre tax 401(k), contributions lower your taxable income today, and you pay income tax when you withdraw. A traditional IRA deduction depends on the conditions above, and any after tax money you put in changes how withdrawals are taxed.4

$1,000 of pay, Roth or pre tax, at a 22% rate now and later (hypothetical)

Roth
Tax now at 22%
$220
Invested
$780
Grows 3x
$2,340
Tax later
$0
You keep
$2,340
Pre tax 401(k)
Tax now
$0
Invested
$1,000
Grows 3x
$3,000
Tax later at 22%
$660
You keep
$2,340
Both routes end with $2,340 when the tax rate is the same at both ends, because multiplying by 0.78 before or after a tripling gives the same number. Roth wins if your later rate is higher than 22%; pre tax wins if it is lower. Growth of three times is an assumption, not a forecast.

Which is better depends on your tax rate now compared with later, plus eligibility, fees and when you might need the money. If you expect a higher tax rate in retirement, paying tax now tends to favor Roth; if you expect a lower one, deferring tends to favor traditional.

Taking money out of a Roth IRA early

The IRS sets an order for Roth IRA withdrawals. Your regular contributions come out first, and they generally come back without income tax or the early withdrawal tax. Conversions and rollovers come next, with their own five year rules, and earnings come last.5 Keep records of what you put in rather than treating the whole balance as contributions.

A withdrawal of earnings is qualified, and so tax free, only after a five tax year period and once you reach age 59½, become disabled, die (for your heirs), or use up to $10,000 toward a first home.5 Earnings taken out in a nonqualified withdrawal may be taxed and hit with an additional tax. These ordering rules apply to Roth IRAs only, not Roth 401(k)s.5

Taking money out of other accounts early

Before age 59½, a taxable withdrawal from a 401(k) or traditional IRA may face an additional 10% tax unless an exception applies. On a fully taxable $10,000 withdrawal, that extra tax alone is $1,000, on top of income tax.6

A $10,000 early 401(k) withdrawal at an assumed 22% rate (hypothetical)

$0$2,500$5,000$7,500$10,000$12,500$10,000Withdrawal−$2,200Income tax 22%−$1,000Extra 10% tax$6,800Cash kept
Income tax at an assumed 22% takes $2,200 and the additional 10% tax on early distributions takes $1,000, leaving $6,800. Your own rate and state tax would change the first step; an exception can remove the second but not the first. Source: IRS: exceptions to tax on early distributions.

The exceptions depend on the account. Leaving your job in or after the year you turn 55 can exempt employer plan withdrawals, but not IRAs. Qualified higher education costs and a limited first home exception apply to IRAs, not 401(k)s. An exception removes the extra 10% tax, not necessarily the ordinary income tax, so check the full conditions.6

The rule

Roth and pre tax give the same result when your tax rate is the same now and later; the difference is which rate applies.

Marks Part 2 done

Part 3 of 4 · Employer match

How does an employer match work?

Many employers add money to your 401(k) when you contribute, but only up to a formula and a cap. Take a fictional plan: the employer adds 50 cents for every dollar you contribute, on contributions up to 6% of a $60,000 salary.

Match on a $60,000 salary: 50 cents per dollar up to 6% (hypothetical plan)

$0$2,000$4,000$6,000$8,0000%2%4%6%8%10%

Your contribution Employer match

The match rises with your contribution until 6% of pay ($3,600), then stops at $1,800 however much more you put in. Each point below 6% leaves $300 uncollected.

Contribute 3% ($1,800) and the match is $900. Contribute 6% ($3,600) and the match doubles to $1,800. Contribute more than 6% and you earn no extra match under this formula. Below 6%, every point you skip leaves $300 of match uncollected. Try the rates yourself:

How does the contribution rate change the match?

Fictional plan · one year

Salary $60,000 · employer matches 50% · match applies up to 6% of salary.

0%10%
Your annual contribution$3,600
Annual employer match$1,800

Total annual contributions: $5,400. Match not collected: $0.

Match = $60,000 × min(your rate, 6%) × 50%. Annualized example assumes full year eligibility and no pay period mismatch. It ignores tax, vesting, investment returns, fees and salary changes. It does not check your personal eligibility or make an account change.

Vesting: when the match becomes yours

Your own contributions are always fully vested, meaning they are yours to keep. Employer contributions can follow a vesting schedule, so money credited to your account may not all be yours if you leave early.7 Your plan document gives the schedule.

What the match could grow into

Suppose the $1,800 match is invested at the end of each year for 30 years and earns a constant hypothetical 6% a year. It grows to about $142,305 from $54,000 of contributions. The calculation is $1,800 × ((1.06 to the power of 30, minus 1) ÷ 0.06).

A $1,800 yearly match invested at a constant 6% for 30 years (hypothetical)

$0$50,000$100,000$150,000Balance at 6%ContributionsYear 0102030

Balance at 6% Contributions

Contributions total $54,000; with 6% compounding the balance reaches about $142,305, computed as $1,800 × ((1.06^30 minus 1) ÷ 0.06). Real returns vary and can be negative; fees, taxes and vesting are left out.

Real returns vary and can be negative. The illustration leaves out fees, taxes, salary changes, contribution timing, plan changes and vesting, so it shows how compounding works, not what a match will produce.

The rule

An employer match is part of your pay that you collect only by contributing up to the plan's cap.

Marks Part 3 done

Part 4 of 4 · Funding order

In what order might you fund the accounts?

A common order is a useful starting point, not an instruction. Your cash needs, the plans you can use, fees and taxes can all change it.

  1. Cash and costly debt first. Build an emergency reserve and deal with high interest debt before investing for decades.
  2. Collect the full match. Contribute enough to the 401(k) to earn the whole employer match.
  3. Use an IRA or HSA if eligible. A Roth or traditional IRA, or a health savings account, can add tax advantages and different investment choices.
  4. Add more to the 401(k). Raise contributions toward the $24,500 limit.
  5. Then a taxable account. Invest beyond the limits, or for goals before retirement, in a brokerage account.

Where an HSA fits

A health savings account requires eligible high deductible health coverage and no disqualifying coverage or Medicare enrollment. Withdrawals for qualified medical costs can be tax free; other withdrawals can be taxed, with an extra 20% tax unless an exception such as reaching age 65 applies. For 2026, the limits are $4,400 for self only coverage and $8,750 for family coverage, before catch up or eligibility adjustments.8,9

Where a brokerage account fits

A taxable brokerage account has no contribution cap and no retirement age rules on withdrawals. The tradeoff is tax: dividends and interest are taxed as they are paid, and selling can realize taxable gains or losses.10 Flexible does not mean safe, either: market losses, settlement timing and whether an investment suits you still matter.

Gather the facts first

Read your actual plan: the match formula, cap, vesting schedule, contribution timing, fees, investment menu and whether it offers a Roth option. For an IRA, check the current year’s income rules for your filing status, and avoid entering personal tax data into public tools.

To practice, open the 401(k) Calculator with hypothetical figures: age 35, retirement at 65, a $0 balance, a $60,000 salary, a 6% contribution, a 50% match up to 6%, a 6% hypothetical return and no salary growth. Then try 3%. Timing and fees will make its projection differ from the simple yearly match above.

The rule

The usual order is reserve, full match, IRA or HSA, more 401(k), then a taxable account, adjusted to your own facts.

Marks Part 4 done

Quick check

Quick quiz: test what you just read

Pick an answer to see why it is right. 5 questions, no account needed.

0 of 5 answered

1. For 2026, how much can an employee under 50 defer into a 401(k), and how much into IRAs?

Answer: B.The 401(k) deferral limit is $24,500 and the IRA limit is $7,500 across all IRAs. They are separate allowances.

2. A saver pays 22% tax now and expects 22% in retirement. $1,000 of pay goes into a Roth or a pre tax 401(k) and triples. What is the after tax result?

Answer: C.Taxing $1,000 before or after tripling at the same rate gives $2,340 either way. The choice only matters when the two rates differ.

3. Which money comes out of a Roth IRA first under IRS ordering rules?

Answer: C.Regular contributions come out first and generally without tax or penalty; conversions come next and earnings last.

4. A plan matches 50 cents per dollar up to 6% of a $60,000 salary. What is the match if you contribute 10%?

Answer: B.The match is capped at 6% of pay, so $3,600 × 50% = $1,800 whether you contribute 6% or 10%.

5. What extra tax can apply to a taxable $10,000 withdrawal from a 401(k) before age 59½ with no exception?

Answer: B.The additional 10% tax on early distributions is $1,000, on top of ordinary income tax.

Questions people ask

Roth IRA, 401(k) or brokerage account? FAQ

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

Yes. The limits are separate: for 2026, $24,500 for employee 401(k) deferrals and $7,500 across all your IRAs. Roth IRA eligibility still depends on your modified adjusted gross income, and IRA contributions generally cannot exceed your taxable compensation for the year.2

Is a 401(k) match free money?

It is part of your pay, and you usually have to contribute to receive it, only up to the plan’s formula and cap. In a plan that adds 50 cents per dollar up to 6% of salary, contributing less than 6% leaves match uncollected. Employer money can also follow a vesting schedule, so you may forfeit some if you leave early.

What happens to my 401(k) if I leave my job?

Your own contributions are always yours, but unvested employer contributions may be forfeited.7 You can usually leave the money in the old plan if it allows, roll it into a new employer’s plan or an IRA, or cash it out. Cashing out before 59½ can trigger income tax plus the additional 10% tax unless an exception applies.6

When does a taxable brokerage account make sense?

It suits money you may need before retirement, or savings beyond your tax advantaged limits, because it has no cap and no age rules on withdrawals. You pay tax on dividends and interest each year and on gains when you sell. Selling at a loss can realize losses that may offset gains, under IRS rules.10

What is the difference between a Roth 401(k) and a Roth IRA?

Both use after tax money and allow tax free qualified withdrawals. A Roth 401(k) comes through an employer, shares the higher 401(k) limit and has no income limit for contributing.4 A Roth IRA is opened on your own, has a lower limit and phases out at higher incomes, and its withdrawal ordering rules differ.

Next steps

You finished this lesson.

You now have the main ideas from this lesson. Next, practice where mistakes cost nothing: a free account saves your progress and unlocks the practice simulator with virtual money.

Free, no card. Lessons stay free to read without an account.

Your notes on one card, and what comes next
  1. Step 1 · DoneRoth IRA, 401(k) or brokerage account?
    See your notes on one card
    1. A 401(k), an IRA and a taxable account can hold the same investments; they differ in tax, limits and access.
    2. For 2026 the IRS limits are $24,500 for 401(k) deferrals and $7,500 across all IRAs, with more for savers 50 and over.
    3. Traditional accounts give the tax break now; Roth accounts give it later, on qualified withdrawals that pass the five year rule.
    4. Roth IRA contributions phase out between $153,000 and $168,000 of income for single filers in 2026.
    5. Before 59½, most 401(k) and IRA withdrawals can face an extra 10% tax unless an IRS exception applies.
    6. Match, then IRA, then more 401(k), then taxable is one common order, built on assumptions that may not fit you.
  2. 2
    Step 2 · NowSave your progress with a free account

    Keep your course progress and practice on real U.S. stocks with virtual cash.

    Create your free account No card needed. Lessons stay free to read.
  3. 3
    Step 3Follow the learning path
    The learning pathFree

    Learn the rest in the right order

    Ten modules of lessons, videos, tools and quizzes, ordered so each step builds on the last, from market basics to company analysis and risk.

    Start the learning path

Want the full sequence? See the course outline →

Sources and assumptions

  1. IRS: 2026 retirement limits. Standard limits, catch up and IRA income phase outs
  2. IRS: IRA contribution limits. Combined traditional/Roth limits and compensation rules
  3. IRS: Retirement topics, catch up contributions
  4. IRS: Roth comparison chart. Designated Roth, Roth IRA and pre tax workplace treatment
  5. IRS Publication 590 B: Distributions from individual retirement arrangements. Roth IRA qualification, contributions, conversions and distribution ordering
  6. IRS: Early distribution exceptions. Additional tax and account specific conditions
  7. IRS: Vesting. Employee deferrals, employer schedules and plan documents
  8. IRS Publication 969: Health savings accounts. HSA eligibility and distribution tax treatment
  9. IRS Revenue Procedure 2025 19. 2026 HSA contribution and HDHP limits
  10. IRS Topic 409: Capital gains and losses. Realized gains/losses and holding period context

Sources checked October 16, 2026. This is a U.S. account overview using 2026 limits; tax and plan rules can change. Match and growth figures are hypothetical, with timing and exclusions stated.

StockEducation provides general education, not personal financial, tax or legal advice. Companies and funds named here are teaching examples only. Nothing here recommends buying or selling any security. Investing involves risk, including the loss of money you invest.

Up nextPart 1 · What is the difference between the account and the investment?
Next ↓