Sub topic 4
Tax-advantaged and taxable accounts compared
This chapter assumes you know what a brokerage account is and how stocks, bonds and ETFs differ. It also assumes you have a rough goal and time horizon. It uses US rules and names the equivalents elsewhere at the end. This is general education, not tax advice.
The core idea: the account is a tax wrapper
A brokerage account decides how your investments are taxed. The investments inside can be identical. The same S&P 500 ETF can sit in a taxable account or an IRA, and only the tax treatment changes.
- A taxable account has no special tax status. You pay tax on dividends and interest each year. You also pay tax on gains when you sell.
- A tax-advantaged account is a government-defined wrapper, such as an IRA or 401(k). It gives you a tax break in exchange for rules on who can contribute, how much, and when you can withdraw.
Broker choice matters here. Not every broker offers every wrapper, and the wrapper often matters more than small fee differences.
How a taxable account is taxed
In a taxable account you face three tax events:
- Dividends and interest. These are taxed in the year you receive them. Qualified dividends get lower rates than interest.
- Realized gains. You owe tax only when you sell for more than your cost basis (what you paid). Unrealized gains are not taxed.
- Holding period. Gains on assets held more than one year are long-term. They are taxed at 0%, 15% or 20% depending on income. Gains on assets held a year or less are short-term and taxed as ordinary income.
Taxable accounts have two advantages. You can withdraw at any time with no penalty, and there is no contribution limit. You can also deduct capital losses against gains, plus a limited amount against ordinary income each year. This is called tax-loss harvesting.
The wash-sale rule limits it. If you sell at a loss and buy the same or a substantially identical security within 30 days before or after, the loss is disallowed for now. The rule also applies if the repurchase happens in your IRA.
The main US tax-advantaged accounts
| Account | Contribution | Growth | Withdrawal | Typical use |
|---|---|---|---|---|
| Traditional IRA | Often tax-deductible | Tax-deferred | Taxed as ordinary income; 10% penalty before age 59½ unless an exception applies | Retirement, when you expect a lower tax rate later |
| Roth IRA | After-tax, income limits apply | Tax-free | Qualified withdrawals are tax-free | Retirement, when you expect a higher or similar tax rate later |
| 401(k) / 403(b) | Pre-tax (or Roth option) through an employer | Tax-deferred (or tax-free) | Same rules as the IRA type | Retirement, especially with an employer match |
| HSA | Deductible | Tax-free | Tax-free for medical costs | Health costs, often used as extra retirement savings |
| 529 plan | After-tax | Tax-free | Tax-free for qualified education costs | Education savings |
Annual limits change every year and are set by the IRS. For 2026, the IRA limit is $7,500, with a higher catch-up amount at age 50 and over. Roth IRA eligibility phases out at higher incomes. Check the current IRS figures before you contribute.
Traditional versus Roth
The difference is when you pay the tax.
- Traditional: you get the tax break now and pay tax on withdrawals later.
- Roth: you pay tax now and withdraw tax-free later.
If your tax rate at withdrawal equals your rate today, the two give the same after-tax result. Traditional wins if your rate is lower in retirement. Roth wins if it is higher. A Roth also has no required minimum distributions during your lifetime for a Roth IRA, and you can withdraw your own contributions (not earnings) at any time without tax or penalty.
The code below shows both claims. It starts with $10,000 of pre-tax income and compares three routes over 20 years. It assumes a 7% annual return, a 25% income tax rate now and at withdrawal, and a 15% long-term capital gains rate. It ignores dividends and yearly tax drag, so it flatters the taxable account.
def compare(pre_tax_income, years, annual_return, income_tax, withdrawal_tax, cap_gains_tax):
growth = (1 + annual_return) ** years
after_tax = pre_tax_income * (1 - income_tax)
# Roth: pay income tax now, grow, withdraw tax-free.
roth = after_tax * growth
# Traditional: invest pre-tax money, pay income tax at withdrawal.
traditional = pre_tax_income * growth * (1 - withdrawal_tax)
# Taxable: pay income tax now, grow, pay capital gains tax on the gain only.
final_value = after_tax * growth
taxable = final_value - (final_value - after_tax) * cap_gains_tax
return {"Roth": roth, "Traditional": traditional, "Taxable": taxable}
results = compare(10000, 20, 0.07, 0.25, 0.25, 0.15)
for name, value in results.items():
print(f"{name}: ${value:,.0f}")Roth and Traditional both come out at about $29,023. Taxable comes out at about $25,794. If you change withdrawal_tax to 0.15, Traditional pulls ahead, which shows the rate-comparison rule above.
Where the money should go first
A common order of priority, which you should adjust to your situation:
- Contribute to a 401(k) up to the employer match. The match is an immediate return that no other account offers.
- Pay off high-interest debt, since its interest rate usually exceeds expected investment returns.
- Fund an HSA if you are eligible.
- Fund a Roth or Traditional IRA.
- Return to the 401(k) up to its limit.
- Invest the rest in a taxable account.
Trade-offs and common errors
Liquidity. Money in retirement accounts is hard to reach before 59½. Early withdrawals of earnings from a Traditional IRA face ordinary tax plus a 10% penalty, subject to exceptions. If you may need the money within about five years, a taxable account is usually the better home, even though it is taxed.
Asset location. If you hold both account types, you can place investments where their tax treatment is least costly. Bonds and funds that distribute a lot of taxable income often suit tax-advantaged accounts. Broad stock index ETFs, which distribute little and give long-term gains, are efficient in taxable accounts. This is a refinement. Do not let it stop you from investing.
Losses. You cannot deduct losses inside an IRA or 401(k). This is one reason risky speculation fits better in a taxable account than in a retirement account.
Contribution mistakes. Contributing more than the limit, or contributing to a Roth IRA when your income is too high, triggers a 6% excise tax each year until corrected. Brokers do not always stop you, especially if you have several accounts.
Rollovers. Moving a 401(k) from a previous employer into an IRA is normal. Ask for a direct (trustee-to-trustee) transfer. A check made out to you starts a 60-day deadline and can trigger withholding.
Assuming the wrapper picks the investments. An IRA is only an account. You still need to choose what to buy inside it. Money left in the broker's default cash sweep earns little.
Choosing a broker with these accounts in mind
Before you apply, confirm that the broker offers the account types you need:
- Traditional and Roth IRAs, and whether it accepts rollovers from your employer plan.
- Taxable individual and joint accounts.
- Custodial accounts or 529 plans, if you are saving for a child.
- HSA support. Many brokers do not offer it, so you may need a separate provider.
- Tax documents: it should supply a consolidated Form 1099 each year and track cost basis for your sales.
Other countries
The same principle applies, with different names and rules. The UK has the ISA and the SIPP. Canada has the TFSA and the RRSP. Australia holds retirement savings in superannuation. Check your local limits, withdrawal rules and eligibility before you pick a broker.
Exercise
You are 30 and expect your income, and tax rate, to rise over your career. You also want to keep $5,000 of your savings available for a possible home down payment in three years. Which account types would you consider for the retirement money and for the down payment, and why?
Show answer
For retirement, a Roth IRA (or a Roth 401(k)) is attractive, because you pay tax now at a lower rate and withdraw tax-free later at a higher one. For the down payment, a taxable account is more suitable. The money is needed in three years, and retirement accounts restrict early access and can add penalties. Because the time horizon is short, the money should also be held in low-risk investments such as a money market fund or short-term Treasuries, not stocks.
Exercise
In the code above, change withdrawal_tax to 0.15 and run it. Which of the three accounts has the highest final value, and what does that tell you about the Traditional versus Roth choice?
Show answer
Traditional ends highest, at about $32,892 (10,000 × 3.8697 × 0.85). Roth stays at about $29,023 and Taxable at about $25,794. This shows that a lower tax rate in retirement than today favors the Traditional account, while equal rates make Roth and Traditional identical.