One of the most persistent misconceptions in personal finance: investors who think tax-loss harvesting applies to their 401k or IRA. It doesn't — and knowing why changes how you structure your accounts entirely.
Why Tax-Loss Harvesting Requires a Taxable Account
Tax-loss harvesting generates a capital loss. That loss only has value if there's a capital gain to offset — or if it can be deducted against ordinary income (up to $3,000 per year). Both outcomes require a taxable event in a taxable account.
In a 401k or traditional IRA, your contributions are pre-tax. Your investments grow tax-deferred. When you withdraw, every dollar is taxed as ordinary income — not capital gains. There are no capital losses to harvest because there are no capital gains to begin with. The IRS never sees the market losses in your 401k. The tax code treats those movements as internal account adjustments, not taxable events.
A Roth IRA is even more explicit: contributions are post-tax, growth is tax-free, and qualified withdrawals are tax-free. There's no capital gains tax, no capital loss, no harvestable event. You're outside the system entirely.
The rule: Tax-loss harvesting requires a taxable brokerage account where gains and losses are reportable to the IRS. 401(k), 403(b), traditional IRA, SEP-IRA, and Roth IRA do not qualify.
The Account Comparison
Here is the direct comparison of how each account type interacts with tax-loss harvesting:
| Account Type | TLH Possible? | Why or Why Not | Best Use for Tax Strategy |
|---|---|---|---|
| 401(k) / 403(b) | No | Tax-deferred. Losses are invisible to the IRS — no reportable events. | Hold bonds, REITs, high-dividend funds. Shield ordinary income from annual tax. |
| Traditional IRA | No | Same as 401k: all distributions taxed as ordinary income. No capital gains. | Same as 401k. Asset location wins here, not harvesting. |
| Roth IRA | No | Post-tax contributions, tax-free growth. Losses have no deduction value. | Highest-growth assets: small-cap, emerging markets, speculative positions. |
| Taxable Brokerage | Yes — fully | Capital gains and losses are reportable. Losses offset gains or generate deductions. | Broad index funds, individual stocks, anything with volatility. Harvest losses. |
| HSA (Health Savings Account) | No | Triple tax advantage: contributions, growth, and distributions for medical expenses are all tax-free. | Hold long-term, stable investments. Use as a second retirement account after medical expenses are covered. |
What This Means for Your Account Strategy
Once you accept that TLH only lives in taxable accounts, asset location becomes obvious. The goal: put your tax-efficient, harvestable assets in your taxable brokerage, and your tax-inefficient assets in tax-advantaged accounts.
What to hold in your taxable account
Your taxable account is your tax-loss harvesting engine. Fill it with:
- Broad market index funds — total market (VTI), S&P 500 (VOO), international (VXUS). Individual holdings inside the fund create regular loss opportunities without forcing you to sell the whole position.
- Individual stocks — when a position drops, you have a clean harvest event. Rebalance immediately into a similar ETF to stay invested.
- Tax-managed funds — some index funds have embedded capital gains distributions. Check the tax报告显示 before buying.
Avoid: bonds, REITs, high-dividend funds in your taxable account. These generate taxable income every year that you can't harvest away — and they rarely have capital losses to exploit anyway.
What to hold in your retirement accounts
Tax-advantaged accounts are about tax shelter, not harvesting. Use them for:
- Bonds and fixed income — interest income is taxed annually in taxable accounts. In a 401k it's tax-deferred. Moving bonds here saves 22–37% per year in federal tax alone.
- REITs — these distribute most of their returns as ordinary income. Shielding them in a 401k or IRA eliminates that annual tax drag.
- High-dividend stocks and funds — same logic as bonds. The dividend income doesn't get taxed until you withdraw.
What About the Wash Sale Rule?
The wash sale rule applies across all accounts — but only to the same account type. You cannot sell a stock at a loss in your taxable brokerage and buy it back within 30 days in the same account. But you can buy the same stock in your 401k the next day, because it's a different account with a different tax treatment.
This creates a legitimate strategy: harvest in taxable, immediately buy the same position in your 401k or IRA. You maintain your target allocation, preserve the tax loss in the taxable account, and avoid the wash sale because the replacement shares are in a different tax entity.
The tradeoff: the 61-day replacement window (and the requirement to buy "substantially identical" securities) still applies within your taxable account. But cross-account replacement is clean. Our wash sale rule guide covers the 30-day window in detail if you want to go deeper on the mechanics.
Backdoor Roth and TLH: A Nuanced Case
High-income investors who use the backdoor Roth (contributing to a traditional IRA, then converting) face a different problem: the pro-rata rule. If you have a traditional IRA with pre-tax dollars, a partial Roth conversion triggers tax on the pre-tax portion proportional to your total IRA balance.
This creates an indirect TLH problem: you can't cleanly harvest losses in a traditional IRA because there's no taxable event. But if your only tax-advantaged account is a Roth IRA (no pre-tax IRA balance), the backdoor process is clean and your Roth grows tax-free — TLH doesn't matter there.
For high earners with both pre-tax IRA balances and a taxable brokerage, the analysis gets more complex. Talk to a tax advisor about your specific situation — the numbers can matter significantly.
The Practical Rule
Keep it simple: taxable accounts harvest, tax-advantaged accounts shelter. If you have one of each, structure them accordingly. If you have only a 401k and no taxable brokerage, you can't harvest — but you can still optimize by putting bonds in the 401k instead of holding them in a taxable account where they generate unnecessary annual tax.
If you do have a taxable brokerage, scan it with WealthPilotOS. We check every position for harvestable losses daily, flag wash sale risks, and show you the exact tax savings opportunity. No minimum account size, no advisory fees.
The TLH conversation isn't about "should I harvest in my IRA?" — it's about "do I have a taxable account structured correctly?" If the answer is no, fixing that structure is the first step. Everything else follows.