Tax location means choosing which investments sit in a taxable account and which sit in a tax-deferred one, such as a traditional IRA. Because the account decides when and at what rate each kind of return is taxed, the same overall mix can leave different amounts after tax. In the US example below, putting bonds in the IRA and stocks in the taxable account finished $15,641 ahead of the reverse over 20 years.
Key takeaways
- Taxable bond interest is taxed at ordinary rates every year, while qualified dividends and long-term gains get lower rates and gains wait for a sale, so bonds are the usual first candidate for the tax-deferred account.
- In the illustrated case, bonds in a traditional IRA and stocks in a taxable account ended at about $260,652 after tax, against $245,011 for the reverse.
- The ranking is not universal: with a Roth IRA, a high expected stock return, or tax-exempt bonds, the better location can change.
- A taxable-account loss sale can be disallowed if a substantially identical security is bought in any of the 30 days before or after, including a purchase made inside an IRA or by a spouse.
How account type changes tax
In a taxable account, interest and most dividends are taxed in the year they are paid, so each year's tax reduces the money that stays invested. Gains on shares you keep are not taxed until you sell. In a traditional IRA, nothing is taxed while the money stays inside, and withdrawals are generally taxed as ordinary income, as IRS Publication 590-B describes. Tax location therefore changes the timing of tax, and with it how much compounds, not only the final bill.
That timing difference is the core of the academic case for the approach. A 2004 Journal of Finance paper by Dammon, Spatt and Zhang reports a strong preference for holding taxable bonds in the tax-deferred account and equity in the taxable account, because taxable bonds carry a heavier tax burden than equity. The authors also report that this policy holds up for most investors when tax-exempt bonds and liquidity shocks are added to their model.
Tax character of each return source
Each type of return is taxed differently in a taxable account. The table summarizes the federal treatment described in IRS sources; state rules differ.
| Return source | Federal treatment in a taxable account | Tends to suit |
|---|---|---|
| Taxable bond interest | Ordinary income each year | Tax-deferred account |
| Qualified dividends | Reduced long-term capital gains rates (0%, 15% or 20%), if the holding-period test is met | Taxable account is often acceptable |
| Long-term price growth | Taxed only on sale, at long-term rates if held more than one year | Taxable account is often acceptable |
| Fund capital gain distributions | Reported as long-term gains regardless of how long you held the fund shares | Depends on the fund's turnover |
| REIT dividends | The part that is neither a capital gain dividend nor a qualified dividend is taxed at ordinary rates, less any section 199A deduction | Often tax-deferred account |
| Municipal bond interest | Generally not federally taxable; private activity bond exceptions apply | Taxable account, if held at all |
| Treasury interest | Federally taxable, exempt from state and local income tax | Depends on the investor's state tax rate |
Sources: IRS Topic 409 for the one-year holding rule; IRS Publication 550 for capital gain distributions, municipal interest (interest on private activity bonds that are not qualified bonds is taxable) and the state exemption for Treasury interest; the Form 1099-DIV instructions for the qualified REIT dividend, generally a REIT dividend that is neither a capital gain dividend nor a qualified dividend.
Rate thresholds for 2026
For tax year 2026, Rev. Proc. 2025-32 sets the top of the 0% long-term rate at $49,450 of taxable income for single filers and $98,900 for married couples filing jointly. The 15% rate runs up to $545,500 for single filers and $613,700 for joint filers, with 20% above that. The same revenue procedure starts the 24% ordinary bracket above $105,700 (single) and $211,400 (joint). A taxpayer in the 24% bracket therefore sits in the 15% long-term band, which is the pairing used in the example below.
Higher earners may also owe the 3.8% net investment income tax on interest, dividends and gains in a taxable account. IRS Topic 559 applies it to the lesser of net investment income or the amount by which modified adjusted gross income exceeds $200,000 (single), $250,000 (joint) or $125,000 (married filing separately).
Worked example over 20 years
Illustrative example. An investor has $100,000: $50,000 in a taxable account and $50,000 in a traditional IRA. The two funds are a bond fund and a stock index fund. These are hypothetical round numbers, not forecasts.
- Bond fund: 4.5% yearly, all taxed as ordinary income.
- Stock fund: 1.5% dividend, all of it qualified, plus 5.5% price growth, a 7% total return.
- Tax rates: 24% ordinary, 15% long-term capital gains and qualified dividends, constant for 20 years. State tax and the net investment income tax are ignored.
- Taxable account: dividends and interest are taxed each year, and the after-tax amount is reinvested. The stock fund is sold at the end, and the gain over the reinvested basis is taxed at 15%. The fund makes no capital gain distributions.
- Traditional IRA: funded only with pre-tax money (no nondeductible contributions), no tax inside, and the entire balance is withdrawn at the end and taxed at 24%.
Bond in taxable: 50,000 x (1 + 0.045 x (1 - 0.24))^20
Bond in IRA: 50,000 x 1.045^20 x (1 - 0.24)
Stock in IRA: 50,000 x 1.07^20 x (1 - 0.24)
Stock in taxable: value grown with the 15% tax on each year's dividend,
then final value - 0.15 x (final value - reinvested basis)
The taxable stock value is computed year by year, because each reinvested after-tax dividend also raises the basis.
| Holding | Value after tax at year 20 |
|---|---|
| Bonds in IRA | $91,645 |
| Stocks in taxable (value $185,508 before the 15% sale tax) | $169,007 |
| Layout A total: bonds in IRA, stocks in taxable | $260,652 |
| Stocks in IRA | $147,048 |
| Bonds in taxable | $97,963 |
| Layout B total: stocks in IRA, bonds in taxable | $245,011 |
Layout A finishes $15,641 higher, about 6.4% more than layout B. The gap comes from two effects. Interest in the taxable account is cut by 24% every year, which drags the bond growth rate from 4.5% to 3.42%. Meanwhile the stock fund's 5.5% price growth is taxed once, at 15%, instead of at the 24% withdrawal rate it would face inside the IRA. To test other yields and periods, the investment growth calculator can project the pre-tax paths.
When the answer can flip
Several realistic changes weaken or reverse the example's result.
A Roth IRA instead of a traditional IRA
Qualified Roth IRA distributions are tax-free when the account meets the five-year period and a condition such as age 59½, according to Publication 590-B. Rerunning the same inputs with no tax at withdrawal gives about $289,592 for layout A and about $291,447 for layout B, so stocks in the Roth come out $1,855 ahead. The break-even is about 5.2% price growth a year, close to the 5.5% assumed. At 7.5% price growth the Roth layout B lead widens to about $16,783. One caution applies: $50,000 in a Roth is worth more after tax than $50,000 in a traditional IRA, so this comparison shows how location behaves within the Roth, not which account type is better.
Stronger or weaker stock returns in a traditional IRA
With a traditional IRA, raising stock price growth to 9.5% a year keeps layout A ahead, by about $29,819 rather than $15,641. Cutting price growth to zero still leaves layout A about $6,921 ahead. The lead grows with stock returns because a deferred gain taxed at 15% at the end beats the same gain taxed at 24% in the IRA. A lower ordinary rate at withdrawal narrows the lead: at 12% on withdrawals (with 24% still applied to bond interest along the way), it falls to about $6,893, and the model reverses only below a withdrawal rate of about 2.5%. A stock fund that pays large capital gain distributions also gives up part of this advantage, because those are taxed before any sale.
Tax-exempt bonds
If a municipal bond fund is held in the taxable account, its federally tax-free interest is compared with taxable yield after tax. At the 24% ordinary rate, a 4.5% taxable yield is worth 3.42% after federal tax, so a tax-exempt fund yielding more than about 3.42% would beat the taxable bond in the taxable account in this model. A lower bracket raises that bar (about 3.96% at 12%), and a higher one lowers it (about 3.06% at 32%). Publication 550 notes that some exempt-interest dividends from private activity bonds can be subject to the alternative minimum tax; Form 1099-DIV box 13 shows them.
Wash sales and rebalancing
Rebalancing in a taxable account can realize gains, while tax on a traditional IRA falls at withdrawal rather than at each trade. That is a reason to rebalance with new contributions or inside the IRA where possible.
Selling at a loss in a taxable account to harvest the loss runs into the wash-sale rule. Per Publication 550, a loss is disallowed if, within 30 days before or after the sale, you buy substantially identical stock or securities, acquire them in a fully taxable trade, acquire an option to buy them, or acquire them for your IRA or Roth IRA. A purchase by your spouse or a corporation you control also counts. The 30 days before and after plus the sale day form a 61-day span. In Revenue Ruling 2008-5, an individual sold stock at a loss and had an IRA buy the same stock the next day; the loss was disallowed and the IRA basis was not increased. For other wash sales, Publication 550 instead adds the disallowed loss to the cost of the new shares, so the loss is deferred; the IRA case is the stated exception.
Publication 550 says stocks of different corporations are ordinarily not substantially identical, but the test depends on facts and circumstances. Whether two funds tracking similar indexes are substantially identical is a question for a tax professional.
Frequently asked questions
Do REIT funds belong in the tax-deferred account?
Often, because the part of a REIT payout that is neither a capital gain dividend nor a qualified dividend is taxed at ordinary rates in a taxable account. That part, reported in Form 1099-DIV box 5, can qualify for the section 199A deduction, but the 1099-DIV instructions exclude dividends on shares held 45 days or less during the 91-day period that starts 45 days before the ex-dividend date. The IRS describes the deduction as made permanent by the 2025 law.
Does the location choice change for municipal or Treasury bonds?
Yes. Municipal interest's federal exemption is wasted inside a traditional IRA, because withdrawals are taxed as ordinary income (Publication 590-B). Treasury interest's state and local exemption (Publication 550) only helps in a taxable account, and helps more in a state with a higher income tax.
How long must I hold a dividend ETF for its dividends to be qualified?
More than 60 days during the 121-day period that starts 60 days before the ex-dividend date, per Publication 550. Form 1099-DIV box 1b, not the fund name, shows how much of the payout was actually qualified.
Does the net investment income tax change the picture?
For investors above the thresholds, yes. The 3.8% tax in Topic 559 applies to taxable-account interest, dividends and gains, which adds to the cost of holding income-heavy funds there. Tax-exempt municipal interest is excluded. The IRS questions and answers on the tax also list distributions from IRAs and Roth IRAs (sections 408 and 408A) as not net investment income. Taxable traditional IRA withdrawals still count in adjusted gross income, which is the starting point for the income test.
What if I might need the money before age 59½?
Taxable-account money has no age-based penalty, while Publication 590-B says a 10% additional tax generally applies to traditional IRA withdrawals before age 59½, subject to exceptions. Investors who expect to need cash soon often keep more in the taxable account than the pure tax ranking suggests.
A checklist before moving anything
- Pull last year's Form 1099-DIV for each fund and read box 1a (ordinary dividends), 1b (qualified dividends), 2a (capital gain distributions), 5 (section 199A dividends) and 12 (exempt-interest dividends); on Form 1099-INT, box 3 shows Treasury interest.
- List each holding's expected mix of interest, ordinary dividends, qualified dividends and price growth.
- Check your 2026 bracket against the thresholds above and run the comparison at two ordinary rates, such as today's rate and a plausible retirement rate.
- Check the embedded gains in taxable holdings before selling anything to move it, because the sale itself can cost more than the location gain.
- Check for any substantially identical purchase, including in an IRA or by a spouse, within 30 days before or after a loss sale.
- Record your assumptions, and rerun when your income, bracket or the tax law changes.
Sources
- IRS Publication 550, Investment Income and Expenses (2025)
- IRS Topic 409, Capital gains and losses
- IRS, Rev. Proc. 2025-32 (Internal Revenue Bulletin 2025-45)
- IRS Topic 559, Net investment income tax
- IRS, Questions and Answers on the Net Investment Income Tax
- IRS Publication 590-B, Distributions from IRAs (2025)
- IRS, Revenue Ruling 2008-5 (Internal Revenue Bulletin 2008-3)
- IRS, Instructions for Form 1099-DIV
- IRS, Understanding the Working Families Tax Cuts: Business Tax Provisions
- Dammon, Spatt and Zhang, Optimal Asset Location and Allocation with Taxable and Tax-Deferred Investing, Journal of Finance 59(3), June 2004, pp. 999–1037