←All resources
Money · 30 minutes to map, a lifetime to use

How to understand a 401(k), Roth IRA, IRA, and HSA

A 401(k) and traditional IRA delay tax until withdrawal; a Roth IRA taxes now and grows tax-free; an HSA is triple-tax-advantaged for medical costs. Each has different limits, eligibility, and rules — this is US-specific.

These four accounts are the main tax-advantaged tools most people have, and confusing them means leaving money on the table or paying avoidable taxes.

What nobody tells you

  • An HSA is arguably the single best tax-advantaged account available in the US, but it's only accessible if you're enrolled in a qualifying high-deductible health plan.
  • You can often have a 401(k) through work AND an IRA on the side — they're not mutually exclusive, though tax deductibility of the IRA may phase out at higher incomes.
  • Employer match money in a 401(k) is real free money, but it may vest over several years, meaning you lose some or all of it if you leave too soon.

The basics

  • 401(k): employer-sponsored, high contribution limits, often includes a match; funds are usually pre-tax (traditional) unless a Roth 401(k) option exists.
  • Traditional IRA: individual account, pre-tax contributions (if eligible), taxed on withdrawal in retirement.
  • Roth IRA: individual account, after-tax contributions, tax-free qualified withdrawals; income limits restrict who can contribute directly.
  • HSA: paired with a high-deductible health plan, contributions are pre-tax, growth is tax-free, and withdrawals for qualified medical expenses are tax-free too.

The framework

Tax-now vs. tax-later vs. tax-never

Every account answers one question differently: when do you pay tax? Sorting accounts by this question makes the choice much clearer than memorizing rules.

  1. 01

    Tax-later (traditional 401(k)/IRA): you deduct now, pay tax on withdrawal — useful if you expect a lower tax rate in retirement.

  2. 02

    Tax-now (Roth 401(k)/IRA): you pay tax now, withdrawals are tax-free — useful if you expect a higher rate later or want tax diversification.

  3. 03

    Tax-never for a specific purpose (HSA): triple-advantaged, but only for qualified medical expenses (though after 65 it behaves like a traditional IRA for non-medical spending).

The playbook

0/6

Words they use without explaining

Vesting
The schedule by which employer contributions become fully yours over time.
Qualified medical expense
IRS-defined costs an HSA can pay tax-free — broader than most people assume.
Contribution limit
The maximum you're allowed to put into an account in a given tax year.

The mistakes — what people get wrong

  • Confusing an HSA with a flexible spending account (FSA) — HSAs roll over and stay yours forever; many FSAs are use-it-or-lose-it each year.
  • Withdrawing from a 401(k) early, which usually triggers both tax and an additional penalty on top of losing years of compounding.
  • Leaving a job before employer match contributions are fully vested and not realizing you forfeited part of that money.

Ask yourself

  • Am I capturing my full employer match before contributing anywhere else?
  • Am I eligible for an HSA, and am I using it as a retirement tool, not just a spending account?
  • Would I rather pay tax now or later, given my expected income trajectory?

Go deeper

  • Tool

    Current-year IRS contribution limit tables

    Limits change yearly — always check the current figures, not an old article.

  • Concept

    Roth conversion ladder

    A more advanced strategy worth learning once the basics are automated.

  • Book

    The Simple Path to Wealth — JL Collins

    A clear walkthrough of account types and index investing.

General educational information, not legal, tax, medical, or financial advice. Rules vary by country and change over time — verify with a qualified professional before acting.