Skip to content
Menu
Finabase Learn

Taxes · Tax-aware investing

Tax-deferred vs. tax-exempt: pay later or never, worked in dollars

What tax-deferred and tax-exempt mean for accounts and for income, how $10,000 of wages fares in each over 30 years, and where municipal bonds, I bonds and HSAs fit.

On this page
  1. Definitions, for accounts and for income
  2. Worked example: $10,000 of wages, three ways, 30 years
  3. Tax-exempt income: municipal bonds
  4. Where each belongs: asset location
  5. Deferrals outside retirement accounts
  6. Pitfalls
  7. Side by side
  8. Which to use when
  9. How Finabase does it
  10. Frequently asked questions
  11. Summary
  12. Check your understanding

"Tax-advantaged" covers two different deals. Tax-deferred means tax is postponed: money goes in or grows without tax now, and is taxed later when it comes out. Tax-exempt means tax is never charged on the income or the withdrawal, provided the rules are met. A traditional 401(k) is the classic deferred account; a Roth IRA and a municipal bond's interest are classic exempt ones.

The words are used loosely, and the difference matters. A deferral is worth more the longer it lasts and the lower the rate at the end; an exemption is worth more the more the money grows. This lesson defines both, follows $10,000 of wages through a taxable account, a tax-deferred account and a tax-exempt account for 30 years, and shows which accounts and which kinds of income fall on each side.

Definitions, for accounts and for income

Tax-deferred describes a postponement. In a traditional 401(k) or deductible IRA, contributions come out of pay or income before tax; dividends, interest and gains inside are not taxed as they occur; withdrawals are taxed as ordinary income. A nonqualified annuity defers tax on growth, though contributions are after-tax. Series EE and I savings bond interest is deferred until the bond is cashed. See Tax-deferred.

Tax-exempt describes a permanent exclusion. Qualified distributions from a Roth IRA or Roth 401(k) are free of federal income tax, growth included, because the money went in after tax. Interest on most state and local bonds is excluded from federal income under section 103, and often from the issuing state's tax for its own residents. HSA withdrawals for qualified medical expenses are tax-free, which with a deductible contribution makes the HSA the only account that is both deferred and exempt.

The two are not the same as "tax-free growth". Both kinds of account grow without yearly tax; the difference is what happens on the way out.

Worked example: $10,000 of wages, three ways, 30 years

Hold the starting point constant: $10,000 of pre-tax wages, a 24% tax rate today and an investment earning 5% a year, all as interest for simplicity.

  • Taxable account. Tax of $2,400 is paid on the wages; $7,600 is invested. Each year's interest is taxed at 24%, so it grows at 3.8% a year after tax. After 30 years: $23,267.
  • Tax-exempt (Roth). The same $7,600 goes in after tax and grows at the full 5%. After 30 years: $32,847, all spendable.
  • Tax-deferred (traditional). All $10,000 goes in and grows at 5% to $43,219. Withdrawals are taxed at whatever rate applies then: $38,033 at 12%, $32,847 at 24%, $29,389 at 32%.
$10,000 of wages saved for 30 years at 5% a year: what is left after tax $0k $10k $20k $30k $40k yr 0 yr 5 yr 10 yr 15 yr 20 yr 25 yr 30 Tax-deferred, withdrawn at 12%: $38,033 Tax-exempt (Roth), taxed 24% going in: $32,847 Tax-deferred, withdrawn at 32%: $29,389 Taxable account, interest taxed yearly at 24%: $23,267 Spendable value, thousands of dollars
Spendable value of $10,000 of wages saved for 30 years at 5% a year, tax rate 24% today. Tax-deferred lines show the value after tax at the stated withdrawal rate. Illustrative; computed by Finabase.

Three lessons sit in the chart:

  1. Any wrapper beats the taxable account by a wide margin for interest-like income: the yearly tax on interest compounds against the saver. For stocks, whose gains are taxed only when sold and at lower long-term rates, the taxable account does better than this line suggests.
  2. Deferred and exempt tie when rates are equal. At 24% in and 24% out, both end at $32,847. The tax just comes off at a different time, and multiplication does not care about order.
  3. The withdrawal rate decides between them. A lower rate later favors deferral; a higher one favors the exemption. Roth 401(k) vs. traditional 401(k): tax saved now vs tax paid later works through what that later rate is likely to be under 2026 brackets.

Tax-exempt income: municipal bonds

Municipal bond interest is the main tax-exempt income in an ordinary account. Its value depends on the holder's marginal rate. The usual yardstick is the tax-equivalent yield, the taxable yield that would leave the same after tax (Tax-equivalent yield: brackets, the 3.8% NIIT and state tax):

The higher the rate, the more the exemption is worth. In the 10% or 12% bracket, a taxable bond's higher yield usually leaves more after tax.

Where each belongs: asset location

Because tax-exempt income needs no shelter, putting it inside a tax-deferred account wastes the exemption: a municipal bond fund held in a traditional IRA pays tax-free interest into an account whose withdrawals are fully taxable. The general principle of placing assets by their tax treatment, taxable bonds in deferred accounts, broad stock index funds in taxable accounts, the highest expected growth in Roth accounts, is the subject of Asset location: which account holds bonds, stocks and REITs.

Deferrals outside retirement accounts

Deferral is not limited to accounts with "retirement" in the name. Several ordinary holdings defer tax on their own:

  • Unrealized gains. A stock or ETF held in a taxable account is taxed only when sold, so its growth is deferred for as long as it is held, and long-term gains face lower rates on top. The rules are in Realized vs. unrealized gains: when a profit becomes taxable.
  • Savings bonds. Interest on Series EE and I bonds can be reported when the bond is cashed or matures rather than each year, and it is exempt from state and local tax.
  • Annuities. A nonqualified deferred annuity bought with after-tax money defers tax on its growth; earnings come out first and are taxed as ordinary income, often with a 10% additional tax before 59½.

None of these is exempt. The tax is still owed later, except where a step-up in basis at death wipes out the unrealized gain on stocks.

Pitfalls

  • Treating deferred balances as all yours. A $500,000 traditional IRA is not $500,000 of spending money; part of it belongs to the tax due on withdrawal.
  • Assuming exempt means exempt everywhere. Municipal bond interest from another state is usually taxed by the reader's own state, and some muni interest counts for the alternative minimum tax.
  • Breaking the Roth rules. Roth earnings withdrawn before 59½ and five years are taxable and often penalized; only contributions come out tax-free at any time.

Side by side

Item Tax-deferred Tax-exempt
Tax on money going in None (deducted or excluded) Already paid (accounts) or none (muni interest)
Tax while invested None None
Tax coming out Ordinary income None, if the rules are met
Examples Traditional 401(k)/IRA, annuities, EE and I bond interest Roth IRA/401(k), municipal bond interest, HSA medical withdrawals
Required distributions Yes, from 73 or 75 (plans and IRAs) None for Roth IRAs or, since 2024, Roth 401(k)s
Best when Rate later < rate now Rate later ≥ rate now; long growth

Which to use when

  • High bracket now, lower expected in retirement: tax-deferred accounts save tax at today's higher rate.
  • Low bracket now, long time to grow: tax-exempt Roth accounts lock in a low rate on money that may grow many times over.
  • Uncertain: holding both gives a choice each year in retirement about which kind of income to draw, and how much taxable income to show.
  • Bonds in a taxable account, high bracket: municipal bonds' exempt interest can beat taxable bonds after tax; compare with the tax-equivalent yield.
  • Medical costs ahead: the HSA is deferred and exempt at once when used for qualified expenses.
  • Heirs: Roth accounts pass on tax-free money (heirs face distribution deadlines but no income tax on qualified amounts); traditional accounts pass on a tax bill.

How Finabase does it

Finabase does not compute tax. The Treasury page shows taxable Treasury yields across maturities, the comparison point for a municipal bond's tax-equivalent yield; municipal bond funds and ETFs have symbol pages with their distributions. A reader can keep taxable, tax-deferred and Roth holdings as separate portfolios in Portfolio to see how much of their savings sits on each side. The 30-year example and the yields above are computed in the lesson's figure script.

Frequently asked questions

What is the difference between tax-deferred and tax-exempt?

Tax-deferred postpones tax: no tax now, ordinary income tax when money comes out. Tax-exempt removes it: qualified Roth withdrawals and municipal bond interest are not federally taxed at all.

Is a Roth IRA tax-deferred or tax-exempt?

Tax-exempt on the way out. Contributions are after-tax, growth is untaxed, and qualified distributions are tax-free.

Is a 401(k) tax-exempt?

A traditional 401(k) is tax-deferred: withdrawals are taxed as income. A Roth 401(k) is tax-exempt on qualified withdrawals.

Should I hold municipal bonds in my IRA?

Usually not: their interest is already exempt, and inside a traditional IRA it becomes part of taxable withdrawals. Taxable bonds generally make better use of the deferral.

Summary

Tax-deferred means tax postponed to withdrawal; tax-exempt means tax never charged on qualified money. Starting from $10,000 of wages at a 24% rate and 5% a year for 30 years, a Roth leaves $32,847, a tax-deferred account $38,033 to $29,389 depending on whether withdrawals are taxed at 12% or 32%, and an ordinary taxable account holding interest-paying assets $23,267. Equal rates in and out make deferred and exempt identical; the expected rate later decides between them. Municipal bonds bring tax-exempt income to a taxable account and lose their edge inside a tax-deferred one.

Check your understanding

4 questions on this lesson. Each answer comes with the reason, and nothing is scored.

  1. Which pair is one tax-deferred and one tax-exempt item?

    1. Traditional IRA withdrawals and Roth IRA qualified withdrawals
    2. Roth IRA and municipal bond interest
    3. Traditional 401(k) and an annuity
    Show the answer

    A. Traditional IRA withdrawals and Roth IRA qualified withdrawals Traditional IRA money is taxed when withdrawn (deferred). Qualified Roth withdrawals are never taxed (exempt). The other pairs are both exempt or both deferred.

  2. $10,000 of wages, 24% tax now, 5% a year for 30 years. When do a tax-deferred account and a Roth leave the same spendable money?

    1. Never
    2. When withdrawals from the deferred account are taxed at 24%
    3. When the account earns more than 5%
    Show the answer

    B. When withdrawals from the deferred account are taxed at 24% Both end at $32,847 when the rates in and out are equal. A lower rate later favors deferral; a higher one favors the Roth.

  3. Why does holding a municipal bond fund in a traditional IRA waste its main benefit?

    1. IRAs cannot hold bond funds
    2. Its interest is already federally exempt, but traditional IRA withdrawals are taxed as ordinary income
    3. Municipal bonds pay no interest inside an IRA
    Show the answer

    B. Its interest is already federally exempt, but traditional IRA withdrawals are taxed as ordinary income The IRA’s deferral is wasted on income that was never going to be taxed, and the exemption is lost because every withdrawal is taxable.

  4. A 3.5% municipal bond is held by someone in the 24% federal bracket. What taxable yield leaves the same after federal tax?

    1. 2.66%
    2. 4.61%
    3. 3.50%
    Show the answer

    B. 4.61% Tax-equivalent yield = 3.5% ÷ (1 − 0.24) = 4.61%.

Sources and further reading

  1. Internal Revenue Service — Roth comparison chart (Roth and pre-tax accounts: tax treatment of contributions and distributions)
  2. Internal Revenue Service — Publication 590-B (2025): distributions from traditional and Roth IRAs
  3. Internal Revenue Service — Publication 550 (2025): tax-exempt interest, U.S. savings bond interest (deferral to redemption)
  4. Internal Revenue Service — Publication 969 (2025): HSA distributions for qualified medical expenses
  5. U.S. Code — 26 U.S.C. 103: interest on state and local bonds
  6. Internal Revenue Service — Revenue Procedure 2025-32: 2026 brackets
  7. Finabase calculations ($10,000 in three wrappers, tax-equivalent yields) in the lesson figure script