Which Account Is Taxed How: 401(k), IRA, Roth and Brokerage
Pre-tax accounts, such as a traditional 401(k) or traditional IRA, are generally taxed when you withdraw. Roth accounts are funded with money already taxed, and qualified withdrawals are tax-free. A taxable brokerage account has no such treatment: dividends are taxable income and gains are taxed when you sell. Each type has its own timing and rules.
Two people can save the same dollar amount and end up with different after-tax results. The reason is often not the investment. It is the type of account. The tax code treats a 401(k), an IRA, a Roth account and an ordinary brokerage account differently at three moments: when money goes in, while it grows, and when it comes out.
This guide explains those differences using IRS pages. It explains rules and trade-offs only. It does not tell you which account to use. That depends on your income, your state, your plans and other facts a tax professional can review.
What is the difference between pre-tax, Roth and taxable accounts?
Think of it as when the tax bill arrives.
- Pre-tax (tax-deferred). You may get a tax break now, and you pay tax later. Examples are a traditional 401(k) and a traditional IRA.
- Roth (after-tax). You pay tax now. Later withdrawals can be tax-free if the rules are met. Examples are a Roth IRA and a designated Roth account in a 401(k).
- Taxable brokerage. You invest money you already paid tax on, and there is no special shelter. You owe tax along the way on certain income and when you sell for a gain.
"Tax-deferred" means the tax is postponed, not erased. Pre-tax money is taxed when it comes out.
How is a pre-tax 401(k) or traditional IRA taxed?
For a 401(k), the IRS says the amounts you defer generally are not withheld for income tax when you make them and do not show up in box 1 of your W-2 (IRS Topic 424). The IRS describes pre-tax deferrals as taxed when withdrawn (IRS, Roth account in your retirement plan).
For a traditional IRA, the IRS says "you may be able to deduct some or all of your contributions." Earnings generally are not taxed until you take distributions (IRS Topic 451). If you made only deductible contributions, distributions are fully taxable. If you also made nondeductible contributions, part of a withdrawal may not be taxed, and the IRS points to Form 8606 to work that out.
Whether a traditional IRA contribution is deductible depends on your situation. Our traditional vs Roth IRA guide and IRA vs 401(k) guide go deeper.
How is a Roth IRA or Roth 401(k) taxed?
The IRS says Roth IRA contributions are not deductible. Withdrawals of your contributions are not taxed. Earnings on qualified distributions are not taxed (IRS Topic 451). For example, the IRS describes a qualified distribution as one made after age 59½ and after a five-year period; other conditions can also qualify, so check the IRS page.
The IRS says "earnings on nonqualified distributions are subject to tax." So the order and timing of Roth withdrawals matter. This guide does not cover those ordering rules.
For a designated Roth account inside a 401(k), the IRS says you pay taxes on your designated Roth contributions when you make them. Contributions are not taxed on withdrawal, and earnings are also tax-free for a qualified distribution. That requires at least five years since your first Roth contribution, plus age 59½, disability or a distribution to a beneficiary after death (IRS, Roth account in your retirement plan).
How is a taxable brokerage account taxed?
A brokerage account that is not an IRA or 401(k) has no tax-deferral. Two kinds of tax come up most.
Income while you hold. The IRS says all taxable dividends are considered ordinary income. Qualified dividends are the ordinary dividends that qualify to be taxed at lower capital gain rates (IRS Topic 404). The payer reports them to you, usually on Form 1099-DIV.
Gains when you sell. A gain is the difference between what you sold for and what you paid. The IRS says that if you hold an asset for more than one year before you dispose of it, your capital gain or loss is long-term. Net short-term gains are taxed as ordinary income at graduated rates (IRS Topic 409).
What are the long-term capital gains rates?
Long-term gains have their own rates of 0%, 15% and 20%. Which one applies depends on your taxable income and filing status. Topic 409 lists the income thresholds. The numbers on the page we read were for tax years beginning in 2025, and they change, so check the current IRS page rather than relying on a figure from an article.
Higher earners may also owe a 3.8% net investment income tax. The IRS says it applies above thresholds, which on the page we read are $200,000 for single filers and $250,000 for married filing jointly (IRS Topic 559). Net investment income includes interest, dividends and net gains from selling property such as stocks, bonds and mutual funds. Wages are not included.
Capital gains rules are for assets in a taxable account. Gains and dividends inside a traditional IRA or 401(k) are not reported year by year this way. That is the "deferral" in tax-deferred.
How do the account types compare?
| Question | Traditional 401(k) / IRA | Roth IRA / Roth 401(k) | Taxable brokerage |
|---|---|---|---|
| Tax on money going in | Often not taxed or deductible now (IRA deduction depends on facts) | Taxed now; no deduction for Roth IRA | Taxed now; no deduction |
| Tax on growth | Generally none until withdrawn | Generally none while inside | Dividends taxable; gains taxed on sale |
| Tax on withdrawals | Generally taxable | Qualified: tax-free. Nonqualified earnings: taxable | Only the gain or income is taxed, not what you paid |
| 10% additional tax before 59½ | Can apply to the taxable part, unless an exception applies | Can apply to the taxable part, unless an exception applies | Not part of the IRA and plan early-distribution rules the IRS pages describe |
| Required minimum distributions | Yes, in general | Not for the owner during life; beneficiaries have RMD rules | The IRS RMD pages we read cover retirement accounts only |
The first three rows come from the IRS pages cited above. The last two are explained in the next sections. For a 401(k), "taxable" in the table follows the IRS statement that pre-tax deferrals are taxed when withdrawn.
What is the 10% additional tax on early withdrawals?
For IRAs, the IRS says you are assessed a 10% additional tax on early distributions from traditional and Roth IRAs unless an exception applies. Early generally means before age 59½. The tax applies to the part of the distribution you must include in gross income, and it is "in addition to any regular income tax on that amount" (IRS Topic 557).
The IRS lists many exceptions on that page, including disability, certain medical costs, a first-time home purchase of up to $10,000, and distributions to a beneficiary after death. We cannot list every condition here. The rules for each exception are detailed.
For 401(k) plans, the IRS says distributions before age 59½, including hardship distributions, may face an additional 10% tax "unless an exception applies" (IRS Topic 424). Our early withdrawal guide for gold IRAs applies this to metals.
What are required minimum distributions?
Required minimum distributions (RMDs) are yearly withdrawals the IRS requires from certain accounts once you reach a set age. According to the IRS RMD FAQ, owners of traditional, SEP and SIMPLE IRAs must begin at age 73 under the IRS page we read, even if retired. The starting age depends on birth year; see our RMD age guide. Workplace plan participants can generally wait until they retire, unless they own 5% or more of the business. Roth IRAs and designated Roth accounts have no RMDs while the owner is alive, but beneficiaries are subject to RMD rules (IRS RMD FAQs).
A missed RMD is subject to a 25% excise tax on the amount not withdrawn, which drops to 10% if corrected within two years, per the same page. The age and timing rules have changed over time. See our guides to RMD age 73 vs 75, RMD deadline traps and gold IRA RMDs.
A hypothetical example: the same $10,000 in three accounts
This is an illustration with made-up numbers. It is not a forecast, not a return anyone should expect and not advice. We assume the following:
- You have $10,000 of income that you could either put in a pre-tax account or take as pay.
- Your tax rate on ordinary income is 22% both now and when you withdraw.
- The money exactly doubles over the years, with no dividends and no fees.
- The taxable account is sold after more than a year, taxed at a 15% long-term rate.
- State taxes, the net investment income tax and the 10% early-withdrawal tax are ignored.
| Step | Pre-tax | Roth | Taxable brokerage |
|---|---|---|---|
| Money you can invest | $10,000 | $10,000 x (1 - 0.22) = $7,800 | $7,800 |
| After doubling | $20,000 | $15,600 | $15,600 |
| Tax at withdrawal | $20,000 x 0.22 = $4,400 | $0 (assuming a qualified distribution) | Gain of $15,600 - $7,800 = $7,800; $7,800 x 0.15 = $1,170 |
| Left after tax | $20,000 - $4,400 = $15,600 | $15,600 | $15,600 - $1,170 = $14,430 |
With equal tax rates at both ends, the pre-tax and Roth results match in this simple case. Real life differs. Your rate may change in retirement. A pre-tax account may also affect other things, such as RMDs. The taxable account trails here only because the gain is taxed. Real results also depend on dividends, holding period and fees. Contribution limits for IRAs and 401(k)s also apply, and this example ignores them.
Where do physical gold and silver fit in this picture?
Gold and silver can be held in several of these ways, and the tax treatment differs.
Held personally in a taxable way. Topic 409 says net capital gains from selling collectibles, "such as coins or art," are taxed at a maximum 28% rate. The page does not define collectibles further. Whether a particular coin or bar counts, and what rate applies in a given year, is a question for a tax professional. Compare that with the 0%, 15% and 20% rates above, which apply to other long-term gains. Our guide to IRA gold vs taxable gold explains the difference in more detail.
Held in an IRA. The IRS says an individually directed account's acquisition of a collectible is treated as an immediate distribution equal to its cost. It excludes bullion "of a certain fineness" if "a bank or approved non-bank trustee keeps physical possession of it," and also lists certain coins (IRS collectibles page). Inside an IRA, the account type's rules above apply to the account, such as pre-tax or Roth. See our gold IRA tax overview and collectibles rule guide.
What mistakes should you watch for?
- Assuming "tax-deferred" means "tax-free." Pre-tax money is taxed when it comes out.
- Missing a Roth timing rule. Qualified Roth treatment generally depends on age and a five-year period, among other conditions.
- Taking early withdrawals without checking exceptions. The 10% additional tax is on top of regular income tax.
- Missing an RMD. The IRS describes a 25% excise tax on the shortfall.
- Using old figures. Capital gains and NIIT thresholds change. The numbers on some IRS pages are for earlier tax years.
Questions to take to a tax professional
- How would my tax rate now compare with my expected rate in retirement?
- Which accounts would my withdrawals come from, and in what order?
- Do any exceptions to the 10% additional tax apply to a withdrawal I am considering?
- How do my state's rules affect each account type?
For more, see our retirement planning hub.
Where gold and silver IRAs fit - and where they do not
Account type decides when tax is due. It does not decide whether metals belong in a plan. Some savers cite diversification away from stocks and bonds and the appeal of a tangible asset. Those are reasons people give, not promises, and this site does not forecast prices.
The costs and rules matter just as much. The IRS collectibles rule limits which metals an IRA may hold and requires a bank or approved non-bank trustee to keep physical possession of bullion. Fees can apply, and prices can fall. Our Gold IRA guide, Gold IRA rules, fee guide and risk guide cover these points. This site does not say whether metals suit any one person.
What we did not check
We did not open IRS Publication 590-B or the Roth withdrawal ordering rules. We did not open the IRS page for the long-term capital gains rate in the current tax year, and the thresholds mentioned are from IRS text labeled for earlier years. We did not verify state tax treatment. Confirm your situation with a qualified tax professional.
Sources
- Topic no. 409, Capital gains and losses, Internal Revenue Service. Accessed Invalid Date.
- Topic no. 557, Additional tax on early distributions from traditional and Roth IRAs, Internal Revenue Service. Accessed Invalid Date.
- Topic no. 559, Net investment income tax, Internal Revenue Service. Accessed Invalid Date.
- Topic no. 451, Individual retirement arrangements (IRAs), Internal Revenue Service. Accessed Invalid Date.
- Topic no. 424, 401(k) plans, Internal Revenue Service. Accessed Invalid Date.
- Roth account in your retirement plan, Internal Revenue Service. Accessed Invalid Date.
- Retirement plans FAQs regarding required minimum distributions, Internal Revenue Service. Accessed Invalid Date.
- Topic no. 404, Dividends and other corporate distributions, Internal Revenue Service. Accessed Invalid Date.
- Investments in collectibles in individually directed qualified plan accounts, Internal Revenue Service. Accessed Invalid Date.
This guide is general education, not personalized financial, tax or legal advice. See our financial disclaimer, editorial policy and advertising disclosure.