Find a course

Module 4: Taxes on Savings, Investments and Life EventsLesson 10 of 1312 min

Tax-Advantaged Accounts: 401(k), IRA, HSA and 529

Compare traditional and Roth accounts, see when each wins, and learn how HSAs and 529 plans reduce taxes on health and education savings.

Step 1 of 11Learn

Why these accounts exist

Governments use the tax code to encourage saving for retirement, health care and education. They do it with special accounts where money grows without the yearly tax drag of a regular investment account.

In a regular taxable account, you pay tax each year on interest and dividends and on gains when you sell. In a tax-advantaged account, investments can be bought and sold freely, and dividends reinvested, with no tax due along the way. Over decades, that difference adds up to a lot of money.

The main US accounts:

  • 401(k), 403(b) and similar workplace plans: you contribute through payroll, often with an employer match.
  • IRA (individual retirement account): opened on your own at a bank or brokerage.
  • HSA (health savings account): for people with a qualifying high-deductible health plan.
  • 529 plan: for education costs.

Most retirement accounts come in two flavors:

  • Traditional: contributions are pre-tax or deductible now; withdrawals in retirement are taxed as ordinary income.
  • Roth: contributions are made with after-tax money; qualified withdrawals in retirement are tax-free, including all the growth.

Each account has annual contribution limits, which usually rise with inflation, and rules about early withdrawals, generally before age 59½ for retirement accounts, which can trigger taxes and a 10% penalty with some exceptions. Look up the current year's limits rather than memorizing them.

Step 2 of 11Practice · Sort into groups

Sort each feature by account type.

Tap an item, then tap its group (or drag it there).

Step 3 of 11Learn

Traditional or Roth? It's about tax rates

The traditional vs. Roth decision comes down to one question: is your tax rate higher now, or will it be higher when you withdraw?

Here's a surprising fact. If your tax rate is the same at both times, the two give you exactly the same after-tax money. Suppose you earn $1,000 to save, your rate is 22%, and the investment grows four times over the decades:

  • Traditional: all $1,000 goes in, grows to $4,000, and is taxed at 22% on the way out: $3,120.
  • Roth: you pay $220 of tax first, invest $780, which grows to $3,120, tax-free: $3,120.

Multiplication works in any order. So the difference comes only from rates changing:

  • Expect a lower rate later (common for people in high-earning years now): traditional tends to win.
  • Expect a higher rate later (common for young people early in their careers, or if you expect tax rates to rise): Roth tends to win.

Other considerations push one way or another: Roth IRA contributions (not earnings) can be withdrawn any time without tax or penalty, Roth accounts don't have required minimum distributions for the original owner, and traditional contributions lower your AGI today, which can help you qualify for credits.

Many people split contributions between both, a hedge against not knowing future tax rates. And whichever you choose, always contribute enough to get the full employer match first.

Step 4 of 11Try the calculator

Traditional vs. Roth comparison

Starts with the same pre-tax earnings for both. The traditional account invests all of it and is taxed at withdrawal; the Roth is taxed first and grows tax-free.

Traditional: after-tax value at withdrawal
3,520 $
Roth: after-tax value at withdrawal
3,120 $
Traditional minus Roth
400 $

Step 5 of 11Practice · Estimate

Use the calculator: with $1,000 of earnings, a 22% rate now, a growth multiple of 4 and a 12% rate in retirement, about how many more dollars does the traditional account leave you than the Roth?

250 $

Step 6 of 11Practice · Chart

Traditional vs. Roth when your retirement rate changes

Tap the case where both accounts leave you exactly the same money.

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

Traditional vs. Roth when your retirement rate changesBar chart with 3 categories: 12% in retirement: Traditional $3,520, Roth $3,120; 22% in retirement: Traditional $3,120, Roth $3,120; 32% in retirement: Traditional $2,720, Roth $3,120.$0$1,000$2,000$3,000$4,00012% in retirement22% in retirement32% in retirement$3,520$3,120$3,120$3,120$2,720$3,120
$1,000 of earnings, 22% tax rate today, investment grows 4 times.
Traditional vs. Roth when your retirement rate changes
ItemTraditionalRoth
12% in retirement$3,520$3,120
22% in retirement$3,120$3,120
32% in retirement$2,720$3,120

Step 7 of 11Learn

HSAs and 529 plans

Two more accounts deserve attention.

Health savings account (HSA). Available in the US only if you're covered by a qualifying high-deductible health plan. It has a rare triple tax advantage:

  1. Contributions are pre-tax (through payroll) or deductible.
  2. Growth is tax-free.
  3. Withdrawals for qualified medical expenses are tax-free.

Unlike a flexible spending account (FSA), HSA money doesn't expire at year end; it stays yours, even if you change jobs. Some people pay current medical bills from their regular budget and let the HSA grow invested for decades as a health-care fund for retirement. After 65, non-medical withdrawals are taxed like a traditional IRA without penalty; before 65, non-medical withdrawals face tax plus a penalty.

529 plan. Saves for education. Contributions aren't deductible federally, though many states offer a state deduction or credit. Growth is tax-free, and withdrawals are tax-free when used for qualified education expenses, such as college tuition, fees, books and, within limits, some K–12 tuition. Using the money for other purposes means the earnings portion is taxed plus a penalty, though rules allow changing the beneficiary to another family member and, in limited cases, rolling some unused money into a Roth IRA.

The common thread: each account trades some flexibility for a powerful tax break. Use them for their purpose and the savings are substantial.

Step 8 of 11Practice · Select all that apply

Which statements about a health savings account (HSA) are true under US rules? Select all that apply.

Select all that apply.

Step 9 of 11Practice · Diagram

When each account is taxed

Tap the account where you pay tax first and never again on qualified withdrawals.

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

When each account is taxedTwo-by-two matrix: Traditional 401(k) / IRA, Regular brokerage, HSA (for medical costs), Roth 401(k) / IRA.Traditional 401(k) / IRARegular brokerageHSA (for medical costs)Roth 401(k) / IRATaxed going in?NoYesTaxed coming out?NoYes
Traditional 401(k) / IRA

Deduct now, pay ordinary income tax on withdrawals.

Regular brokerage

Invested with taxed money; dividends and gains are taxed too.

HSA (for medical costs)

Deductible going in, tax-free coming out for qualified medical expenses.

Roth 401(k) / IRA

Taxed money goes in; qualified withdrawals are tax-free.

Step 10 of 11Note

Step 11 of 11Practice · Choose one

Taylor is 24, in a low tax bracket and expects to earn much more later in her career. Which account type is generally a better fit for her retirement savings beyond the employer match?