Find a course

Module 4: Accounts and TaxesLesson 9 of 1213 min

Investment Accounts: 401(k), IRA and Brokerage

Compare taxable brokerage accounts with 401(k) plans and traditional and Roth IRAs, capture an employer match, and decide which account to fund first.

Step 1 of 13Learn

Same fund, different results

Two neighbors invest $5,000 a year in the same S&P 500 index fund for 30 years and earn the same returns. When they retire, one has noticeably more money to spend. The only difference is the type of account each used.

An investment account is a container; the funds inside are what grow. But the container decides how the growth is taxed, and taxes compound just like fees. Broadly, there are two kinds of containers:

Taxable brokerage accounts. Anyone can open one, there's no limit on how much you put in, and you can withdraw any time. But you pay taxes along the way: on dividends and interest each year, and on capital gains when you sell at a profit.

Tax-advantaged accounts. Governments encourage retirement saving by offering tax breaks, in exchange for limits on how much you can contribute each year and restrictions on early withdrawals. In the US, the main ones are 401(k) and similar employer plans (403(b) for nonprofits, 457 for some government workers) and IRAs (individual retirement accounts). They come in two tax flavors:

  • Traditional: contributions are made with pre-tax money (or are tax-deductible), the account grows tax-deferred, and withdrawals in retirement are taxed as income.
  • Roth: contributions are made with after-tax money, and qualified withdrawals in retirement, including all the growth, are tax-free.

Either way, not paying tax on dividends and gains every year lets the full amount keep compounding, which is why the neighbor who used tax-advantaged accounts came out ahead.

Step 2 of 13Compare

Three account containers

AspectTaxable brokerageTraditional 401(k)/IRARoth 401(k)/IRA
Tax on money going inAlready taxedDeducted now (pre-tax)Already taxed
Tax while it growsYes: dividends, interest, gains when soldNoneNone
Tax on withdrawalOnly on unrealized gains when soldOrdinary incomeNone, if qualified
Limits and accessNo limits, withdraw anytimeAnnual limits, penalties before 59 1/2Annual limits, income limits for IRAs

Step 3 of 13Note

Step 4 of 13Learn

The 401(k) and the employer match

A 401(k) is a retirement plan offered by an employer. You choose a percentage of each paycheck to contribute, and it's invested in a menu of funds the plan offers. Many plans offer both a traditional and a Roth option.

The most valuable feature of many plans is the employer match. A common formula is "50% of your contributions up to 6% of salary" or "100% up to 4%." If you earn $60,000 and your employer matches 100% up to 4%, contributing 4% ($2,400) brings in another $2,400 from your employer: an instant 100% return before any investment growth. Not contributing enough to get the full match is like refusing part of your salary.

A few things to know:

  • Vesting: employer contributions may become fully yours only after you've worked there a certain time, such as three years. Your own contributions are always yours.
  • Investment menu: you can only choose from the plan's funds. Look for low-cost index or target-date funds, and check expense ratios.
  • Early withdrawals: taking money out before age 59½ generally triggers income tax plus a 10% penalty, with some exceptions. 401(k) loans exist but can cause problems if you leave your job.
  • Changing jobs: you can usually leave the money in the old plan or roll it into an IRA or your new employer's plan. Cashing out is usually the costliest choice.

Contribution limits for 401(k)s are much higher than for IRAs, so they can hold the bulk of many people's retirement savings.

Step 5 of 13Practice · Chart

Employer match on a $60,000 salary (100% up to 4%)

Tap the first level where you collect the full match.

Tap the bar that answers the question, then press Check.

Employer match on a $60,000 salary (100% up to 4%)Stacked bar chart with 3 categories: You put in 2%: Your contribution $1,200, Employer match $1,200; You put in 4%: Your contribution $2,400, Employer match $2,400; You put in 6%: Your contribution $3,600, Employer match $2,400.$0$2,000$4,000$6,000You put in 2%You put in 4%You put in 6%$2,400$4,800$6,000
Illustrative plan formula. Check your own plan's match and vesting rules.
Employer match on a $60,000 salary (100% up to 4%)
ItemYour contributionEmployer match
You put in 2%$1,200$1,200
You put in 4%$2,400$2,400
You put in 6%$3,600$2,400

Step 6 of 13Practice · Work it out

Carla earns $72,000 a year. Her employer matches 50% of her contributions up to 6% of salary. If she contributes 8% of her salary, how much does her employer contribute in a year, in dollars?

Step 7 of 13Learn

Traditional vs. Roth: pay tax now or later?

An IRA is an account you open yourself at a brokerage, separate from any employer. Like 401(k)s, IRAs come in traditional and Roth versions, with lower annual contribution limits. Roth IRA contributions phase out above certain income levels, and deducting traditional IRA contributions can be limited if you or your spouse have a workplace plan.

The core choice between traditional and Roth comes down to one question: will your tax rate be higher now or in retirement?

  • If your tax rate is lower now than you expect it to be later, which is common early in a career, Roth tends to win. You pay tax at today's low rate and never pay tax on the growth.
  • If your tax rate is higher now than you expect in retirement, which is common in peak earning years, traditional tends to win. You take the deduction at a high rate and pay tax later at a lower one.
  • If the rates are equal, the two come out the same, as the calculator below shows.

Nobody knows future tax rates, so many people split contributions between both types, a strategy called tax diversification.

A few Roth features stand out. You can withdraw your Roth IRA contributions (not earnings) at any time without tax or penalty. Roth IRAs have no required minimum distributions during the owner's lifetime. And Roth money can be especially useful for managing taxable income in retirement.

Step 8 of 13Try the calculator

Traditional vs. Roth comparison

Start with the same amount of pre-tax income. In the traditional account, all of it is invested and taxed on withdrawal. In the Roth, tax is paid first and the rest grows tax-free. Change the two tax rates to see which account wins.

Traditional: after-tax value at withdrawal
40,193 $
Roth: after-tax value at withdrawal
35,625 $
Traditional minus Roth
4,567 $

Step 9 of 13Practice · Choose one

Ines is 24, in a low tax bracket, and expects her income and tax rate to rise significantly over her career. Based only on tax rates, which type of retirement contribution is likely to serve her best?

Step 10 of 13Learn

Which account first? A common order of operations

With several account types available, a widely used priority list looks like this (adapt it to your situation):

  1. Build a starter emergency fund in a savings account, so a surprise bill doesn't force you to sell investments or borrow at high rates.
  2. Contribute enough to your 401(k) to get the full employer match. An instant 50% or 100% return is hard to beat.
  3. Pay off high-interest debt, such as credit cards. Eliminating a 22% interest rate is a guaranteed 22% return.
  4. Fund an IRA (Roth or traditional, depending on your tax situation), or a health savings account (HSA) if you have an eligible high-deductible health plan, since HSAs offer tax advantages on the way in and, for qualified medical costs, on the way out.
  5. Increase 401(k) contributions toward the annual limit.
  6. Invest in a taxable brokerage account for additional savings or goals before retirement age.

Whichever accounts you use, open them at a reputable, low-cost brokerage or with your employer's plan provider. In the US, brokerage accounts at member firms are protected by SIPC up to $500,000 (including $250,000 of cash) if the firm fails, but no protection covers market losses.

A common beginner mistake is to open a retirement account, deposit money, and never actually invest it. Contributions often land in a cash or money market position by default. Check that your money is in the funds you chose.

Step 11 of 13Practice · Put in order

Put these steps in the commonly recommended order of priority.

Drag the items, or use the arrow buttons, to put them in order.

  1. Invest additional savings in a taxable brokerage account
  2. Fund an IRA or HSA
  3. Pay off high-interest credit card debt
  4. Build a starter emergency fund
  5. Contribute enough to the 401(k) to get the full employer match

Step 12 of 13Diagram

A common order for your next dollar

A common order for your next dollarProcess diagram: Starter emergency fund → 401(k) to the full match → Pay off high-interest debt → IRA or HSA → More 401(k) → Taxable brokerage.Starter emergencyfund401(k) to the fullmatchPay offhigh-interest debtIRA or HSAMore 401(k)Taxable brokerage

Tap a shape with to see more.

Starter emergency fund
401(k) to the full match

An instant 50-100% return.

Pay off high-interest debt

Erasing a 22% card rate is a sure 22% return.

IRA or HSA

Roth or traditional, depending on taxes.

More 401(k)

Toward the annual limit.

Taxable brokerage

For extra savings and earlier goals.

Step 13 of 13Practice · True or false

Qualified withdrawals from a Roth IRA in retirement are taxed as ordinary income.