Investing Core · Lesson 6 of 6
Tax-Advantaged Accounts: 401(k), IRA, Roth IRA, and HSA
Key takeaways
- Tax-advantaged accounts change when investments are taxed — contributions, growth, or withdrawals — and the savings compound over decades.
- Traditional treatment defers tax until withdrawal; Roth treatment taxes contributions now and qualified withdrawals never.
- Employer 401(k) matches are an immediate return on contribution that most guidance treats as a first priority.
- HSAs pair with high-deductible health plans and are the only account type untaxed at contribution, growth, and qualified withdrawal.
- Contribution limits, income phase-outs, and penalties change over time — verify current rules at IRS.gov before acting.
This lesson is a U.S.-focused educational overview. Account rules, contribution limits, and income thresholds change regularly and interact with personal circumstances — verify current figures at IRS.gov and consider consulting a qualified tax professional.
Investment returns face a third headwind besides inflation and fees: taxes. In an ordinary (taxable) brokerage account, dividends and realized gains are taxed as they occur, quietly slowing compounding. Governments, wanting citizens to save for retirement and health costs, offer accounts that suspend parts of that taxation. Used over a career, they can add meaningfully to final outcomes — which is why account choice is often called the highest-value "free lunch" in personal finance after employer matches and low fees.
The core distinction: traditional versus Roth
Most retirement accounts apply one of two tax treatments:
- Traditional (pre-tax): contributions reduce taxable income now; the account grows untaxed; withdrawals in retirement are taxed as ordinary income. Tax is deferred, not avoided — useful when today's tax rate is higher than the expected rate in retirement.
- Roth (after-tax): contributions are made from taxed income; the account grows untaxed; qualified withdrawals are entirely tax-free. Useful when today's rate is lower than the expected future rate — often the case early in a career.
Since future tax rates are unknowable, many savers hold both types, an approach sometimes called tax diversification.
The main account types
- 401(k) — employer-sponsored; contributions come from payroll. Many employers match contributions (for example, 50–100% of the first few percent of salary) — an immediate return no market can promise, which is why guidance from regulators and educators alike treats capturing the full match as a first step. Investment menus are set by the employer. Traditional and Roth versions exist; limits are the highest of the common accounts.
- IRA / Roth IRA — individual accounts opened at any brokerage, with essentially unlimited investment choice. Lower contribution limits than a 401(k); Roth IRA eligibility phases out at higher incomes; traditional IRA deductibility depends on income and workplace-plan coverage. Roth IRAs additionally allow contributions (not earnings) to be withdrawn without penalty, giving them unusual flexibility.
- HSA — available only with a qualifying high-deductible health plan. Uniquely triple-advantaged: contributions are pre-tax, growth is untaxed, and withdrawals for qualified medical expenses are untaxed. Balances roll over indefinitely and can be invested; after age 65, non-medical withdrawals are taxed like a traditional IRA rather than penalized.
Early withdrawals from retirement accounts before age 59½ generally incur income tax plus a 10% penalty, with specific exceptions — a deliberate design to keep the money working until retirement.
Worked example: the same $6,000/year, three homes
A hypothetical saver in a 22% tax bracket invests $6,000/year for 30 years at a steady hypothetical 7%, ending in the same bracket. Approximate outcomes:
- Taxable account: annual tax drag on distributions trims the effective return (say to ~6.3%); final after-tax value ≈ $510,000.
- Traditional 401(k)/IRA: full 7% compounding to ≈ $607,000, taxed 22% at withdrawal → ≈ $473,000, plus 30 years of upfront deductions worth ≈ $1,320/year — which, if also invested, brings the total ahead of the taxable route.
- Roth: full 7% compounding, no tax at withdrawal → ≈ $607,000, from contributions that cost more after-tax up front.
The precise ranking depends on tax rates now versus later — the point is the size of the wedge between sheltered and unsheltered compounding, roughly $100,000 on quite modest assumptions.
A common prioritization framework
Financial educators often describe a default ordering that investors adapt to their situations: capture any employer match first (immediate return), then address high-interest debt and emergency savings, then fill IRA and/or remaining 401(k) space (and HSA where eligible), and only then invest through taxable accounts. It is a framework for thinking, not a prescription — income, benefits, and goals vary, and the account is only the container: what goes inside it is the portfolio built in the next path.
Common misconceptions
“Retirement accounts are investments.”
They are containers with special tax treatment. A 401(k) holding a money-market fund grows like cash; an IRA holding a stock index fund grows like stocks. Choosing the account and choosing the investments are separate decisions.
“Traditional accounts let you escape taxes.”
They defer taxes: withdrawals are taxed as ordinary income later. The benefit is the difference between tax rates now and in retirement, plus decades of untaxed compounding in between.
“Money in retirement accounts is completely locked away.”
Access is restricted, not sealed: Roth IRA contributions can be withdrawn anytime without penalty, and specific exceptions exist for other accounts. The general penalty structure exists to protect compounding, but the details matter — verify current rules at IRS.gov.