How tax-advantaged accounts work
Every tax-advantaged account is a trade. The government gives up tax revenue to encourage a goal it favors, such as retirement security, health care, education or support for people with disabilities. In return, the account limits how much can go in and what the money may be used for. Spend it on the favored goal and the break holds; use it for anything else and you usually repay the tax, often with a penalty.
The break arrives at one of three points in the money’s life. Some accounts give it at the start: contributions are deducted or excluded from income and withdrawals are taxed later, which is what makes an account Tax-Deferred Account. Others give it at the end: you contribute money that has already been taxed, and qualified withdrawals are tax-free, as with a Roth IRA or a 529 plan. All of them skip tax on growth while the money stays inside.
A health savings account is the rare case that gives the break at every stage: deductible contributions, untaxed growth and tax-free withdrawals for qualified medical costs.
Types of tax-advantaged accounts
Most people meet their first tax-advantaged account through work, but the family is much wider than the 401(k). The accounts group naturally by the goal they serve, and each group has its own limits and qualifying expenses. The figures below are 2026 limits; several are indexed for inflation, so they rise over time. Other countries have their own versions under different names, such as Canada’s TFSA and the United Kingdom’s ISA.
- Retirement: retirement accounts such as 401(k)s, 403(b)s and IRAs, in traditional and Roth versions.
- Health: HSAs, which require a high-deductible health plan, and flexible spending accounts, which allow $3,400 of salary reduction in 2026.
- Education: 529 plans and Coverdell education savings accounts, the latter capped at $2,000 a year per beneficiary.
- Disability: ABLE accounts for people whose disability began before age 46, with up to $19,000 of annual contributions in 2026.
- Children: Trump Accounts, created by the 2025 tax law, take up to $5,000 a year for children under 18, with contributions starting July 4, 2026.
What the tax break is worth
The value of a tax-advantaged account comes from two sources. The first is the timing of the tax: paying it at a low rate instead of a high one. The second is growth that is never taxed along the way, which is where the gap over an ordinary taxable brokerage account opens up. In a taxable account, interest and dividends are taxed every year and gains when you sell, a steady cost known as tax drag.
The formula and worked example below follow $5,000 of salary for 20 years through four accounts. Deducting now and paying later is the mirror image of paying now and never again, so at equal tax rates a traditional and a Roth account finish level; only a change in your rate separates them.
Payroll taxes widen the HSA’s lead. Pre-tax 401(k) deferrals escape income tax but are still subject to Social Security and Medicare taxes, while HSA contributions made through an employer’s payroll are exempt from both, which saves another 7.65% on wages below the Social Security wage base.
Limits, rules and penalties
Every tax break comes with conditions, and breaking them can cost more than the break was worth. Limits are set per person or per family and usually cover all your accounts of one type together, so opening a second account does not create new room. Rules on timing and use matter as much as the dollar caps, and a penalty is usually charged on top of the income tax you would owe anyway.
- Annual contribution limits, plus an income limit for Roth IRAs: eligibility phases out between $153,000 and $168,000 of modified AGI for single filers in 2026.
- Purpose tests: HSA money spent on non-medical costs is taxed and, before 65, owes a 20% additional tax; the earnings in a non-qualified 529 withdrawal are taxed and owe a 10% additional tax.
- Age tests: most retirement withdrawals before 59½ owe a 10% additional tax on top of income tax.
- Forced withdrawals: traditional retirement accounts require minimum distributions from age 73, or 75 for people born in 1960 or later.
- Use it or lose it: unused health FSA money is forfeited unless the plan offers a carryover of up to $680 into the next plan year or a grace period.
Which account to fund first
There is no single right order, but planners often weigh accounts in a similar sequence. First comes any employer match, since it is an immediate return on the money you put in. An HSA often comes next for people eligible for one, because of its unmatched tax treatment. After that the choices are between filling a workplace plan and funding an IRA, and between traditional and Roth versions, which turns on whether you expect your tax rate to be higher now or later. Holding some of each, known as tax diversification, keeps both options open.
Money beyond the limits, or money you may need before retirement, belongs in a taxable account, which has no limits and no withdrawal rules. Where you hold each investment matters too: placing tax-inefficient holdings such as taxable bonds inside sheltered accounts, and tax-efficient index funds in the taxable account, is called asset location. Cash for emergencies should stay where you can reach it without taxes or penalties.
Illustrative numbers
$5,000 of salary invested for 20 years at 6%, four ways
- C
- Pre-tax dollars you set aside
- t_in
- Tax rate paid before the money goes in (0 for pre-tax, deductible and HSA contributions)
- r
- Annual growth rate
- n
- Years invested
- t_out
- Tax rate paid on withdrawal (0 for qualified Roth and HSA medical withdrawals)
It assumes flat tax rates and does not fit a taxable account, where only the gain is taxed and income is taxed along the way.
Growth factor, 6% a year for 20 years× 3.207
Taxable account: $3,900 after 22% tax, then 15% tax on the gain$11,217
Traditional 401(k): $5,000 in, 22% tax on withdrawal$12,508
Roth IRA: $3,900 in, tax-free withdrawal$12,508
HSA spent on medical bills: $5,000 in, tax-free out$16,036
At the same 22% rate now and later, traditional and Roth tie at $12,508. The taxable account trails by $1,291 even before any tax on dividends along the way, and the HSA finishes about 28% ahead because none of its money is ever taxed. A lower rate in retirement would tip the tie toward the traditional account; a higher one would favor the Roth.
At a glance
How common tax-advantaged accounts are taxed (2026)
| Account | Money going in | Growth | Qualified withdrawals | 2026 limit |
|---|---|---|---|---|
| Traditional 401(k) or IRA | Pre-tax or deductible | Tax-deferred | Taxed as ordinary income | $24,500 in a 401(k); $7,500 in IRAs |
| Roth 401(k) or Roth IRA | After-tax | Tax-free | Tax-free | Shares the same limits |
| Health savings account | Pre-tax or deductible | Tax-free | Tax-free for medical costs | $4,400 self-only; $8,750 family |
| Health FSA | Pre-tax salary reduction | Usually not invested | Tax-free for medical costs | $3,400 |
| 529 plan | After-tax; no federal deduction | Tax-free | Tax-free for education | No federal annual limit |
| Coverdell ESA | After-tax | Tax-free | Tax-free for education | $2,000 per beneficiary |
| ABLE account | After-tax | Tax-free | Tax-free for disability expenses | $19,000 |
Put it in your plan
Tax-advantaged in MoneyWhatIf
In MoneyWhatIf, an account’s kind sets how its contributions, growth and withdrawals are taxed. The setup survey asks about seven named account kinds per person, from a pre-tax 401(k) to an inherited Roth, and contributions are fitted to a 2026 snapshot of deferral, IRA and HSA limits and income phaseouts. HSA withdrawals are tax-free only up to the medical costs the plan models, and a child’s college stage can name a 529 to pay for it. The taxable net worth view estimates what your accounts would leave after tax if everything were withdrawn in one year.
Common questions
Tax-advantaged FAQs
Is a Roth IRA a tax-advantaged account?
Yes. A Roth IRA gives no deduction for contributions, but its earnings grow untaxed and qualified withdrawals, generally those after age 59½ from an account first funded at least five years earlier, are completely tax-free. That makes it a tax-exempt account rather than a tax-deferred one: the tax is paid once, on the money going in, and never on the growth.
Is a regular brokerage account tax-advantaged?
No. A taxable brokerage account has no special status: interest and dividends are taxed each year, and gains are taxed when you sell. It still benefits from some favorable rules, such as lower rates on long-term gains and qualified dividends and a step-up in basis at death, but those rules apply to the investments, not to the account.
What is the most tax-advantaged account?
For money spent on medical care, the HSA: contributions are deductible, growth is untaxed and qualified withdrawals are tax-free, and payroll contributions also skip Social Security and Medicare taxes. It requires coverage under a high-deductible health plan and has lower limits, $4,400 for self-only or $8,750 for family coverage in 2026. For other goals, a traditional or Roth retirement account usually comes next, depending on your tax rate now and later.
Do tax-advantaged accounts have income limits?
Most do not. Workplace plans such as 401(k)s have no income limit for employees, and anyone with taxable compensation can contribute to a traditional IRA, although its deduction phases out for higher earners covered at work. Roth IRAs are the main exception: in 2026 eligibility phases out between $153,000 and $168,000 of modified AGI for single filers and between $242,000 and $252,000 for joint filers. Coverdell ESAs also have income limits, while 529 plans and HSAs have none.