Quick Facts
- Strategy: Tax-loss harvesting is the practice of selling investments that have decreased in value to offset capital gains from other successful investments.
- Annual Limit: The IRS allows you to use your net capital losses to offset up to $3,000 of ordinary income each year, which can directly lower your adjusted gross income.
- Carry Forward: Any losses that exceed the annual $3,000 limit can be rolled over as a capital loss carry forward into future tax years indefinitely.
- The 5% Rule: For efficient portfolio optimization, many experts suggest executing a harvest only when the loss is at least 5% relative to the original cost basis.
- Wash Sale Window: To remain compliant with the IRS wash sale rule, you must avoid purchasing a substantially identical security within 30 days before or after the sale.
- Wealth Accumulation: Historical research shows a disciplined approach can generate an average annual tax alpha of roughly 1.08% in additional after-tax returns.
Tax-loss harvesting is a strategy where you sell underperforming investments at a loss to offset capital gains realized from other assets. If your total losses exceed your gains for the year, the IRS allows you to use up to $3,000 of the excess to offset ordinary income, while any remaining losses can be carried forward indefinitely to reduce future tax liabilities.

Step 1: Portfolio Scanning and the 5% Threshold
Traditional investing often focuses on the "buy and hold" mantra, but tax efficient investing requires a more active gaze at your losses. Most investors wait until December to look at their brokerage statements, often missing the intra-year troughs that provide the best chances for tax-loss harvesting. Moving beyond year-end panic is the first step toward professional-grade tax planning.
A post-April 15th review is often more effective than a year-end scramble because it captures the market volatility that frequently occurs in the spring and summer months. By scanning your portfolio early, you can identify harvest candidates before they potentially recover in price. A common mistake is waiting for a stock to "break even" before selling. In reality, realizing a loss to create a capital gains tax offset can be more beneficial for your long-term wealth accumulation than holding a stagnant asset.
The 5% rule serves as a trigger for action. While any loss can technically be harvested, the costs of trading and the effort involved usually make it most efficient to focus on drawdowns of 5% or more from the original cost basis. This threshold ensures the tax benefit is significant enough to justify the transaction.
Market data underscores the importance of this proactive scanning. Even in years where the broad market indexes perform well, individual stocks often show significant weakness. For instance, while only 27% of S&P 500 stocks ended 2024 with a year-end drawdown of 5% or more, intra-year market volatility provided harvesting opportunities in approximately 71% of the index's stocks that experienced a 5% drop at some point during the year. By monitoring your holdings throughout the year rather than just in December, you triple your chances of finding a tax-saving opportunity.
Step 2: Executing the Offset Waterfall
Once you have identified your realized losses, you must understand the hierarchy of how those losses are applied against your gains. This process is often called the offset waterfall. The IRS requires you to follow a specific order to ensure that different types of income are handled correctly.
The Waterfall Flow:
- Short-Term Harmony: Short-term losses (assets held for one year or less) must first offset short-term gains. This is the most valuable part of the strategy because short-term gains are taxed at ordinary income rates, which can reach as high as 37%.
- Long-Term Balance: Long-term losses (assets held for more than a year) must first offset long-term gains. These are usually taxed at 0%, 15%, or 20%.
- The Crossing: If you have remaining short-term losses, they can then offset long-term gains, and vice versa.
- The $3,000 Bridge: If your total net capital losses still exceed your total gains, you can apply them toward offsetting $3000 of yearly ordinary income with capital losses.
Advanced tax planning also looks beyond just stocks and bonds. For those planning a move, tax-loss harvesting can be a powerful tool for offsetting capital gains from home sales. While the IRS provides a significant exclusion for primary residences ($250,000 for singles and $500,000 for married couples), high-value homes in appreciating markets often exceed these limits. Realized losses from your investment portfolio can effectively zero out the tax bill on that excess home equity gain.
Furthermore, high-net-worth individuals can use this strategy for reducing net investment income tax through loss harvesting. The 3.8% Net Investment Income Tax (NIIT) applies to individuals with investment income above certain thresholds. By lowering your net investment income through timely harvests, you essentially give yourself an immediate 3.8% boost on your after-tax returns.
Step 3: Mastering Substitution and the Wash Sale Rule
The biggest hurdle for most investors is the fear of "missing out" on a market recovery after they sell a declining asset. To solve this, savvy planners use substitution securities. This allows you to keep your market exposure while technically exiting your original position to book the loss.
However, you must be extremely careful to avoid the IRS wash sale rule. This rule dictates that if you sell a security for a loss and purchase a "substantially identical" security within 30 days before or after the sale, the loss is disallowed for tax purposes. Navigating irs wash sale rule for investment losses requires a clear understanding of what the IRS defines as "substantially identical" under Section 1091.
Generally, selling one company's stock and buying another company in the same industry is not a wash sale. For example, selling Ford at a loss and immediately buying General Motors is perfectly legal. The challenge is more complex with ETFs and Mutual Funds. If you sell an S&P 500 index fund from one provider and immediately buy an S&P 500 index fund from another provider, the IRS may consider them substantially identical because they track the exact same index.
To stay safe, many investors switch from a specific index fund to a fund that tracks a similar but different index, or they move from a single stock to a broad sector ETF.
Safe vs. Unsafe Substitution Table
| Original Asset | Replacement (Likely Safe) | Replacement (Unsafe/Wash Sale) |
|---|---|---|
| Apple (AAPL) | Technology Select Sector SPDR (XLK) | Apple (AAPL) in a different account |
| Vanguard S&P 500 ETF (VOO) | iShares Core S&P 500 ETF (IVV) | Vanguard S&P 500 ETF (VOO) |
| Fidelity Total Market Fund | Vanguard Total Stock Market ETF | Fidelity Total Market Fund |
| Bitcoin (BTC) | Ethereum (ETH) | Bitcoin (BTC) within 30 days |
Note: While VOO and IVV track the same index, current industry standard often views switching between different issuers as acceptable, though some conservative advisors suggest switching indices entirely (e.g., from S&P 500 to Russell 1000).
Step 4: Window Management and the IRA Trap
Effective tax-loss harvesting is not a one-day event; it is a 61-day process. This window includes the day of the sale, the 30 days preceding it, and the 30 days following it. Managing this window is critical for portfolio rebalancing strategies using tax-loss harvesting. If you have automatic dividend reinvestment turned on in your brokerage account, a single dividend payout that buys a fractional share of the stock you just sold can trigger a wash sale and ruin your deduction.
The IRA Trap Warning: One of the most common pitfalls involves "cross-account" wash sales. If you sell a stock for a loss in your personal brokerage account but you (or your spouse) purchase that same stock in an IRA or 401(k) within the 61-day window, the loss is permanently disallowed. Unlike a normal brokerage account where a wash sale simply adjusts your cost basis for the future, a wash sale in a retirement account results in the total loss of the tax benefit, as there is no cost basis to adjust in a tax-deferred account.
This highlights the importance of managing your accounts as a single ecosystem. Long-term tax planning involves looking at the capital loss carry forward rules for long term tax planning. If you harvest a large loss in 2026, you may not use it all immediately. Knowing that you can carry that loss forward for 10 or 20 years allows you to take more aggressive gains in the future without fear of a massive tax bill.
A disciplined approach pays off. Historical data from 1926 to 2018 indicates that a disciplined tax-loss harvesting strategy can provide an average annual "tax alpha" of approximately 1.08% in additional after-tax returns. Furthermore, analysis of portfolio simulations shows that approximately 80% of the cumulative tax savings from tax-loss harvesting are typically realized within the first five years of an account's life. This makes the strategy especially valuable for new investors or those who have recently received a large windfall.
FAQ
What is tax-loss harvesting and how does it work?
Tax-loss harvesting is a method used to reduce the amount of capital gains tax you owe by selling investments at a lower price than what you originally paid for them. By "realizing" these losses, you can subtract them from your capital gains. If your losses are greater than your gains, you can even use a portion to reduce your taxable ordinary income.
What are the rules for the 30-day wash sale?
The wash sale rule prevents you from claiming a tax deduction for a security sold at a loss if you buy the same or a substantially identical security within 30 days before or after the sale. This creates a 61-day window where you must stay out of that specific investment to ensure the tax loss is recognized by the IRS.
Can capital losses be carried forward to future years?
Yes, the IRS allows for an indefinite capital loss carry forward. If your total losses are more than your gains plus the $3,000 ordinary income limit, the remainder can be used in any future year until the loss is completely exhausted. This makes large losses valuable assets for future tax planning.
How much capital loss can I deduct against my income?
You can use capital losses to offset any amount of capital gains. If you still have losses left over after offsetting your gains, you can deduct up to $3,000 against your ordinary income ($1,500 if you are married and filing separately). Anything beyond that amount must be carried forward to the next year.
Does tax-loss harvesting apply to cryptocurrency?
As of current regulations, the IRS treats cryptocurrency as property, and capital gains rules generally apply. However, for many years, the wash sale rule technically only applied to "stocks and securities." While the laws are evolving quickly, investors should consult a specialist as 2026 may see stricter enforcement or new legislation closing the crypto wash sale loophole.
Can you do tax-loss harvesting in an IRA or 401(k)?
No, tax-loss harvesting cannot be done within tax-advantaged accounts like an IRA or 401(k). Because these accounts are either tax-deferred or tax-free (like a Roth), you do not report individual capital gains or losses on your tax return. However, you must be careful not to trigger a wash sale in your brokerage account by buying the same security in your IRA.





