Try it now!
Managing your investments has never been easier!

Tax-loss harvesting is a strategic investment technique where you sell underperforming securities at a loss to offset realized capital gains and a portion of your ordinary income each year. By understanding IRS rules—such as the 30-day wash-sale window and specific netting processes—you can minimize your tax burden and keep more of your money working in the market.
When navigating volatile markets, seasoned investors look for ways to optimize their portfolios beyond simple asset selection. One of the most powerful tools available to individual investors is tax-loss harvesting. By intentionally selling underperforming assets at a loss, you can directly reduce your tax liability, offset realized capital gains, and even lower your taxable ordinary income.
According to Vanguard educational resources, tax-loss harvesting involves selling securities at a loss to offset capital gains in other investments or income. While it cannot turn a bad investment into a good one, it can significantly soften the blow of market downturns by generating valuable tax deductions. However, executing this strategy successfully requires strict adherence to Internal Revenue Service (IRS) regulations, including the complex wash-sale rule and specific netting procedures.
When you sell an investment in a taxable brokerage account, the tax consequences depend entirely on whether you made a profit or took a loss relative to your adjusted cost basis. If you sell for more than you paid, you realize a capital gain. If you sell for less, you realize a capital loss.
Tax-loss harvesting allows you to use these realized losses to lower your tax bill in two distinct ways:
For married couples filing separate tax returns, the rules are slightly adjusted. According to Becker Professional Education, the annual capital loss deduction against ordinary income is limited to $1,500 for married individuals filing separately. It is also important to note that these rules differ by entity type; Becker tax analysis notes that corporations are not allowed to offset ordinary income with capital losses. Instead, Becker's corporate tax guide states that corporations can carry capital losses back to each of the three preceding tax years and forward for up to five years.
The IRS does not allow you to arbitrarily apply any loss to any gain. Instead, you must follow a strict, multi-step netting process when filing Schedule D of Form 1040. Capital gains and losses are categorized by how long you held the asset before selling:
When netting your transactions, you must follow these specific steps:
First, you must perform same-category netting. As explained by Becker, short-term losses offset short-term gains, and long-term losses offset long-term gains. This is a critical first step to prevent mixing preferential tax rates prematurely.
Second, you perform cross-category netting if there are remaining balances. According to Instead tax planning strategies, short-term capital losses offset short-term capital gains first, and then any remaining short-term losses offset long-term gains. Conversely, there are limits on the other side of the ledger: Greenbush Financial notes that realized long-term losses can only be used to offset realized long-term capital gains, and cannot offset short-term capital gains.
Third, if you still have a net capital loss after completing all netting steps, you can apply up to $3,000 of that loss to reduce your ordinary income. Best of all, Greenbush Financial points out that investors do not need to itemize deductions to take advantage of the $3,000 capital loss tax deduction, meaning you can claim the standard deduction and still benefit.
| Transaction Type | Tax Treatment / Rate | Primary Netting Companion | Secondary Netting Companion |
|---|---|---|---|
| Short-Term Capital Gain | Ordinary Income Rates (10% to 37%) | Short-Term Capital Losses | Excess Long-Term Capital Losses |
| Long-Term Capital Gain | Preferential Rates (0%, 15%, or 20%) | Long-Term Capital Losses | Excess Short-Term Capital Losses |
| Collectibles Gain | 28% maximum rate | Collectibles Losses | Other Capital Losses |
To prevent investors from selling an asset solely to claim a tax write-off and immediately buying it back, the IRS enforces the strict wash-sale rule. According to Vanguard, the IRS wash-sale rule disallows claiming a loss if you buy the same or a substantially identical investment within 30 days before or after the sale.
This creates a total 61-day window where you must exercise extreme caution. As detailed by Firstcard, the wash sale rule danger zone spans a total of 61 days, including 30 days before the sale, the day of the sale, and 30 days after. If you purchase the same or a "substantially identical" security during this period, the tax loss is disallowed for the current tax year.
What happens to your disallowed loss? It is not permanently lost. Instead, Becker explains that disallowed wash sale losses are added to the cost basis of the repurchased security. This effectively defers your tax benefit until you eventually sell the replacement security. Additionally, J.P. Morgan Private Bank notes that when a wash sale occurs, the taxpayer's holding period on the original shares is added to the holding period of the newly acquired shares.
The IRS does not provide a rigid, exhaustive list of what constitutes a "substantially identical" security, which can make compliance tricky. However, some guidelines have emerged from industry practices:
The wash-sale rule is incredibly broad and applies across your entire financial footprint. As explained by Plancorp, the wash sale rule applies across your entire portfolio, meaning a sale in one account and a repurchase in another account can trigger it. This includes accounts held at different brokerages, your spouse's accounts, and even tax-advantaged retirement accounts.
Furthermore, J.P. Morgan Private Bank points out that the wash sale rule applies to short sales and transactions in stock or securities, including warrants, convertible preferred stock, and options contracts.
Two common automated traps can easily trigger an accidental wash sale:
What happens if you have a highly volatile year in the market and realize a massive amount of capital losses, but have no capital gains to offset? The IRS does not require you to forfeit those excess losses.
According to Vanguard, excess capital losses can be carried forward to offset capital gains and income tax in future years. There is no expiration date or lifetime limit on these carryover losses. They will roll over year after year, allowing you to offset future capital gains and deduct up to $3,000 against ordinary income annually until the entire "loss bank" is completely exhausted.
These carried-forward losses retain their original tax character. A short-term capital loss carries forward as a short-term loss, and a long-term capital loss carries forward as a long-term loss, ensuring that the netting rules are applied correctly in future tax years.
While tax-loss harvesting is a highly effective tool, it is not a "free lunch." It is primarily a tax-deferral strategy rather than a permanent tax-elimination strategy. When you sell an asset at a loss and buy a replacement asset, you lower your portfolio's overall cost basis. When you eventually sell those replacement assets years down the road, your taxable capital gains will be larger.
To determine if tax-loss harvesting is worth the administrative effort, consider the following decision criteria:
| Scenario | Tax-Loss Harvesting Recommendation | Primary Reason |
|---|---|---|
| Taxable Account, High Income Bracket | Highly Recommended | Maximizes value of $3,000 ordinary income offset and short-term gain reduction. |
| Taxable Account, 0% Capital Gains Bracket | Not Recommended | No immediate tax savings; resets cost basis lower for future sales. |
| Traditional or Roth IRA / 401(k) | Not Applicable | Tax-advantaged accounts do not incur capital gains taxes on individual trades. |
| Cryptocurrency Portfolio | Historically Exempt | According to Becker, cryptocurrencies have historically been classified as property rather than securities for tax purposes, meaning the wash sale rule has not applied to them. |
For investors who decide that tax-loss harvesting is a fit for their portfolio, the frequency of monitoring can play a major role in the strategy's overall effectiveness. Many traditional advisors only review portfolios for harvesting opportunities at the end of the year. However, market volatility occurs year-round, and waiting until December can mean missing out on significant downturns that occur in the spring or summer.
According to research published by J.P. Morgan Asset Management, reviewing a portfolio daily for tax-loss harvesting opportunities can yield, on average, about 30 basis points of additional annualized tax savings compared to a monthly approach. This extra "tax alpha" is generated by capturing short-lived market dips that recover before a monthly or annual review takes place.
While daily manual monitoring is incredibly tedious and impractical for individual investors, automated portfolio management tools can handle this tracking seamlessly, ensuring you never miss an opportunity to optimize your tax liability.
Tax-loss harvesting is a highly effective but complex strategy. One wrong move—like an accidental dividend reinvestment or buying a substantially identical stock in your spouse's IRA—can trigger the wash-sale rule, disallowing your tax deduction and complicating your tax filing.
At 8FIGURES, we help you inspect your portfolio to identify tax-loss harvesting opportunities while avoiding common pitfalls. Our platform analyzes your taxable brokerage accounts, tracks your cost basis, and helps you identify suitable proxy assets to maintain your market exposure safely. Whether you want to execute the strategy manually or explore automated options, we provide the clarity and data you need to maximize your after-tax returns.
Disclaimer: This article is for educational purposes only and does not constitute formal tax, legal, or investment advice. Tax laws are complex and subject to change. Always consult with a qualified Certified Public Accountant (CPA) or tax professional before executing tax-loss harvesting strategies. 8FIGURES does not guarantee any specific financial or tax outcome.
Managing your investments has never been easier!