📅 Originally Published: · Last Reviewed and Updated:
Tax loss harvesting rules let you use realized investment losses to offset capital gains and, after netting, up to $3,000 of other income under current federal rules. The IRS wash-sale rule can delay that loss if you buy substantially identical stock or securities within 30 days before or after the sale. Much of the benefit is tax deferral rather than a permanent tax saving. The strategy works best when the tax benefit is usable, the new holding keeps your portfolio on plan, and the future tax cost stays smaller than the benefit.
A historical study found 0.82% a year of modeled tax alpha after adding a wash-sale constraint. That is evidence that systematic harvesting can matter in some portfolios, not a return premium to add to every household forecast.
The basic trade looks easy: sell below cost, use the loss on the tax return, and buy something similar so the money stays invested. The hard part is deciding whether the loss helps now and whether the swap creates a new problem. A wash sale can delay the deduction, an unused loss may sit for years, and a lower cost basis can mean more taxable gain later.
This guide focuses on United States federal rules for publicly traded stock and securities in taxable brokerage accounts. Options, employee stock, partnerships, digital assets, and trader or dealer rules can require different analysis.
Should You Harvest a Loss? Start With the Account and the Tax Return
The first test starts with the account. A drop inside an IRA, Roth IRA, or 401(k) will not create a deductible capital loss on your individual return. Before choosing a swap, confirm the account type, the tax lot, and what the realized loss would offset.
| Situation | Likely Route | Reason |
|---|---|---|
| Taxable account, realized gains this year | Review now | Capital losses can reduce taxable capital gains after the required netting steps. |
| Taxable account, no gains | Check the annual income limit | After netting, up to $3,000 of net capital loss may reduce other income, or $1,500 if married filing separately. |
| Large loss balance carried from prior years | Model before adding more | A new loss may add little current value if older losses already cover expected gains and the annual income offset. |
| IRA, Roth IRA, or 401(k) | Do not harvest for a deduction | A loss inside the retirement account is not claimed as a capital loss on the individual return. |
| Long-term gains may fall in the 0% federal band | Compare gain harvesting | Realizing some gains at a 0% federal rate can raise basis, although yearly thresholds and state taxes still matter. |
A paper loss has no tax effect until you sell. Even then, a large realized loss is not the same as a large current tax benefit. If the loss only adds to an old balance that will not be used for years, its value today may be modest.
Check the full tax picture first. Review realized short-term and long-term results, prior loss balances, expected gifts of appreciated assets, and any planned asset sales. Short-term losses can be especially useful when they absorb short-term gains, which normally face higher federal rates. Schedule D netting rules decide how the pieces combine.
Gate 1: Is the Loss Usable on This Year’s Return?
Tax loss harvesting rules matter only after the federal netting process shows what the realized loss can actually offset. Short-term gains and losses are netted together, and the same is done for long-term items. The two net results are then combined. If the final amount is a net capital loss, most filers can deduct only part of it against other income in the current year. The unused amount moves forward and keeps its short-term or long-term character.
Two $10,000 losses can have very different current-year value
Suppose an investor realizes a $10,000 long-term loss. The size of the loss is the same in both cases below, but the current federal tax effect is not.
- Case A: $10,000 of long-term gains are already realized. If the loss offsets those gains and the assumed federal rate is 15%, the current federal tax reduction is $1,500 before state tax and the net investment income tax.
- Case B: There are no capital gains and the assumed marginal rate is 24%. A $3,000 deduction reduces current federal tax by $720. The remaining $7,000 stays available for a later year under current federal rules.
These examples are tax illustrations, not return forecasts. The useful number is the tax saved or deferred now, followed by the later tax cost created by the new basis.
IN PLAIN ENGLISH
A $10,000 realized loss is not automatically worth $10,000, or even the same amount of tax savings to every investor. Start with what the loss can actually offset.
Unused losses can still matter because they can offset gains in later years. Their timing is uncertain, so a loss balance that may sit for years should not be valued like cash received today.
Gate 2: Can You Avoid a Wash Sale and Stay Invested?
The federal wash-sale rule applies when stock or securities are sold at a loss and substantially identical stock or securities are acquired within 30 days before or after that sale. Investors often watch a 61-day window that includes the sale date.
For a trade-by-trade check of timing, replacement shares, ETFs, IRA purchases, and broker reporting, see our wash sale rule guide.
The rule can also reach purchases by a spouse or a corporation you control, as well as certain purchases inside an IRA or Roth IRA. Automatic dividend reinvestment is easy to miss because even a small purchase can affect part of the loss.
What happens when a wash sale is triggered?
If the new shares are bought in a taxable account, the disallowed loss is normally added to the basis of the matched shares. The deduction is delayed rather than erased. The holding period of those new shares also includes the period you held the shares that were sold.
The IRA case is harsher. IRS Revenue Ruling 2008-5 says the taxable loss is disallowed when an IRA or Roth IRA buys substantially identical shares in the covered period, but the IRA basis does not receive the wash-sale increase. That can leave the loss unusable.
A wash sale can also be partial. If you sell 100 shares at a loss and buy only 20 substantially identical shares in the covered period, the IRS matching rules apply to the matched shares rather than automatically disallowing the whole 100-share loss.
Do not treat a broker flag as the full tax record. IRS Publication 550 says Form 1099-B wash-sale reporting can be limited to covered securities with the same CUSIP bought in the same account. A wash sale can still exist even when it is not shown on Form 1099-B. Check spouse accounts, other brokers, IRAs, recurring purchases, and dividend reinvestment.
“Substantially identical” has no universal ETF safe list
The IRS uses a facts-and-circumstances test and has published no blanket list of ETF swaps that are safe. A different ticker by itself is not a safe harbor. Funds that follow different indexes or methods may be easier to distinguish, but the facts of the pair still control.
The tax test is only half of the choice. The new fund also has to keep the exposure you intended to own. Compare index design, holdings, fees, spreads, and trading features before making the swap. The ETF versus mutual fund comparison helps separate fund structure from investment exposure.
Gate 3: Is the Tax Benefit Worth the Friction?
Research supports disciplined harvesting, but it also shows why one fixed “tax alpha” number is a poor promise. Results depend on tax rates, portfolio design, market paths, cash flows, and what the investor does with the tax savings.
Chaudhuri, Burnham, and Lo tested a systematic strategy with monthly data for the 500 largest United States stocks from 1926 through 2018. With assumed long-term and short-term tax rates of 15% and 35%, they reported 1.08% a year of tax alpha before transaction costs. Adding the wash-sale constraint reduced the result to 0.82%.
Those figures came from a historical stock model, not a household holding two broad index funds. A smaller or more tax-efficient portfolio can have fewer losses to use, fewer independent tax lots, or less taxable gain to offset.
Vanguard used a different framework in its 2024 research. Figure 2 draws on about 10,000 historical simulations. Reinvesting tax savings accounted for 25% of the modeled driver importance, while the broader market-exposure driver totaled 37%. The paper also shows that tax rates, loss use, market conditions, and portfolio design can change the outcome.
| Driver | Why It Changes the Result |
|---|---|
| Tax rate today | A loss is worth more when it offsets gains or income taxed at a higher rate. |
| Tax rate when you later sell | A lower basis can create a larger taxable gain, so the future rate matters too. |
| Time until sale | A longer delay gives reinvested tax savings more time to stay in the market. |
| Number of tax lots | More lots and holdings can create more chances to harvest a loss. |
| Quality of the swap | Higher fees, wide spreads, or a poor exposure match can eat into the tax benefit. |
| Use of the tax savings | Spending the savings removes the compounding channel used in many models. |
Some estate or charitable-giving plans can change the ending tax bill. Donating appreciated property may avoid a sale by the donor, and inherited property may receive a new basis under the law that applies at death. Those are separate planning cases, not assumptions to build into every harvest.
A Practical Tax-Loss Harvesting Workflow
In practice, tax loss harvesting rules are easier to manage when the tax decision and the portfolio decision are written down before the order is placed. This five-step check is enough for most straightforward taxable-account cases.
- Confirm the account, tax lot, and holding period. Use the broker’s tax-lot view to record purchase date, adjusted basis, unrealized loss, and holding period. Also check the account’s lot-disposal setting before you trade. Brokerage account settings explains why FIFO, specific-share selection, and dividend reinvestment can change the result you report.
- Estimate the loss you can use now. List realized gains, prior loss balances, and the amount of the annual income offset still available. Apply the tax rate to the amount that can actually be used. Do not multiply the full paper loss by your highest tax rate unless the netting rules support that treatment.
- Choose a new holding that still fits the plan. Compare index design, holdings, fees, spreads, and liquidity, then write down why the new security is not substantially identical to the one sold. The tax trade should preserve the exposure you already chose rather than quietly rewrite your asset allocation strategy.
- Check every related account around the sale. Review the 30 days before the sale and planned purchases for the 30 days after it. Include spouse accounts, IRAs, recurring investments, and dividend reinvestment. Workplace-plan purchases can raise harder questions when the same or a very similar security is involved, so specific cases may need tax advice.
- Save the trade record and reassess after the window. Keep the sale confirmation, the tax lots sold, the reason for the new holding, and any basis adjustment shown by the broker. If you later want to switch back, make that choice because the original fund still fits the plan, not because 30 days have passed.
Mutual-fund investors should be careful with basis methods. Fidelity says mutual funds generally use average cost by default, while stocks and most other securities default to FIFO. Specific-share selection can improve control when the broker offers it, but an existing average-basis election can limit when that method may be changed or revoked.
A quarterly review can be a reasonable operating habit, but the IRS does not require that schedule and four reviews will not mean four good trades. Look more often during a sharp decline only when the likely tax value is large enough to justify the extra work.
Tax Loss Harvesting Rules: Frequently Asked Questions
How much capital loss can I deduct against other income?
After capital gains and losses are netted, the federal deduction is generally limited to $3,000 of net capital loss per year, or $1,500 if married filing separately. Losses above that limit can carry to later years under current federal rules.
Does a wash sale permanently eliminate the loss?
Usually not when the matched shares are bought in a taxable account. The disallowed loss is normally added to their basis, which delays the deduction. An IRA or Roth IRA purchase is different because the retirement-account basis does not receive that wash-sale increase.
Can I sell one S&P 500 ETF and buy another S&P 500 ETF?
The IRS has not issued a blanket safe harbor for that swap. Two funds that track the same index may be harder to distinguish than funds using different indexes or methods, but the IRS facts-and-circumstances test controls.
Should I harvest a loss if my long-term gains may be taxed at 0%?
Compare tax-gain harvesting first. If some long-term gains fall inside the 0% federal band, realizing those gains can raise basis with no federal long-term capital-gains tax on that portion. Yearly thresholds, state taxes, and other income can change the result.
Does harvesting work inside a retirement account?
A decline inside a tax-advantaged retirement account will not create a deductible capital loss on your individual return. A purchase in one of those accounts can still matter when it falls inside the wash-sale window for a taxable loss sale.
The Bottom Line: Treat Tax-Loss Harvesting as a Tax Decision, Not a Return Promise
Tax loss harvesting rules are most useful when the loss can offset something valuable, the new holding keeps the portfolio on plan, and the future tax cost is acceptable. If one of those pieces is missing, a large paper loss can turn into a weak trade.
The research shows that systematic harvesting can add value in the right setting, but the benefit varies too much to use one annual percentage in a personal forecast. Work from the tax return outward: identify the loss you can use, protect the portfolio exposure, check every account for wash-sale risk, and keep the basis record for the next sale.
YOUR TURN
Before your next loss sale, write down the gain or income the loss may offset, the new security you plan to buy, and every account that could buy the old one again.
- IRS Publication 550 (2025) and Topic 409: capital-loss netting and carryovers; the $3,000/$1,500 annual limit; wash-sale timing; spouse, IRA, basis, holding-period, share-matching, and Form 1099-B rules. Publication 550 · Topic 409.
- IRS Revenue Ruling 2008-5: an IRA or Roth IRA purchase of substantially identical shares can disallow the taxable-account loss without increasing IRA basis. Read the ruling.
- Chaudhuri, Burnham, and Lo (2020): historical study of the 500 largest United States stocks, 1926–2018; 1.08% before transaction costs and 0.82% after the wash-sale constraint under the study’s tax-rate assumptions. CFA Institute record.
- Vanguard (2024): about 10,000 historical simulations used to study how tax rates, loss use, portfolio design, market conditions, and reinvestment change harvesting results. Research paper.
- Fidelity and IRS basis guidance: current default cost-basis methods plus the federal rules for average-basis elections and changes. Fidelity cost-basis settings · IRS Publication 550.
- IRS Publications 526 and 551: boundaries for charitable gifts of appreciated property and basis of inherited property. Publication 526 · Publication 551.
Method: The two tax examples use stated assumptions only: $10,000 × 15% = $1,500, and $3,000 × 24% = $720. They exclude state tax, the net investment income tax, fees, and other tax interactions. No research alpha is compounded into a personal portfolio forecast.
AI-assisted tools supported source retrieval, consistency checks, and HTML validation. The tax claims, calculations, and research figures in this revision were checked against the sources listed above.
Update history
-
v2.1
2026-08-12
MINOR CORRECTIONAdded holding-period and partial wash-sale mechanics, clarified Form 1099-B limits and mutual-fund basis-method constraints, removed an off-topic internal link, updated canonical internal links and trust-package markup, and refreshed the supporting tax and research sources.
-
v2.0
2026-07-16
MAJOR CORRECTIONRemoved the unsupported $455,716 personal projection, corrected the interpretation of the academic alpha estimate and Vanguard driver figures, clarified wash-sale basis treatment, replaced categorical ETF-pair claims, removed the video and brokerage-interface image, and rebuilt the article around a decision workflow.
-
v1.0
2026-04-04
PUBLISHOriginal publication.
Educational quantitative analysis based on published data. Not investment, tax, or legal advice. Consult a licensed professional before acting on any calculation. About TheFinSense.
