Tax loss harvesting is a strategy where investors sell investments that have lost value to offset gains from other investments or income. When you sell an investment at a loss, you can use that loss to reduce your taxable income, potentially lowering the taxes you owe. This practice has been used by individual investors and large financial institutions for decades as part of overall portfolio management.
Free Guide to Opening a Bank Account →
The core concept works like this: if you bought 100 shares of a stock for $50 per share ($5,000 total) and it's now worth $30 per share ($3,000 total), you have a $2,000 loss. If you sell those shares, you can use that $2,000 loss to offset $2,000 in investment gains you made elsewhere. If your gains exceed your losses, you can use up to $3,000 of losses to reduce your regular income in a single year, with any remaining losses carried forward to future years.
The strategy became more widespread after the 2008 financial crisis when many investors experienced significant portfolio declines and looked for ways to manage the tax consequences. Tax loss harvesting remains relevant today because investment markets continue to experience volatility, creating both gains and losses throughout the year.
Understanding the mechanics matters because tax loss harvesting requires intentional action—it doesn't happen automatically. You must actively monitor your portfolio, identify positions with losses, and execute sales strategically. Different types of investments create different tax situations, and the timing of these sales can significantly impact your annual tax bill.
Practical Takeaway: Before exploring tax loss harvesting, track the value of your current investments. Note which positions have increased in value (gains) and which have decreased (losses). This baseline understanding helps you see where the strategy might apply to your situation.
When you sell an investment for more than you paid for it, you realize a capital gain. When you sell for less than you paid, you realize a capital loss. The U.S. tax system treats these gains and losses differently depending on how long you held the investment. Understanding these categories is essential for using tax loss harvesting effectively.
Get Your Free Guide to Lowe's Credit Card Options →
Long-term capital gains occur when you hold an investment for more than one year before selling. These gains receive preferential tax treatment. For 2024, long-term capital gains tax rates for most taxpayers are 0%, 15%, or 20%, depending on your income level. These rates are typically lower than ordinary income tax rates, which can range from 10% to 37%. Short-term capital gains, from investments held one year or less, are taxed at your ordinary income tax rate, which is usually higher.
Capital losses are equally important. Long-term capital losses can offset long-term capital gains dollar-for-dollar. Short-term capital losses can offset short-term capital gains dollar-for-dollar. When one type of loss is larger than the corresponding type of gain, losses can cross over to offset the other type of gain. For example, a $5,000 long-term loss can reduce $5,000 in short-term gains.
If your total capital losses exceed your total capital gains in a year, you can deduct up to $3,000 of the excess loss against your ordinary income (like wages or salary). Any losses beyond that $3,000 limit carry forward to future tax years indefinitely, so they're not wasted—they just apply to future years' taxes. This carryforward feature is particularly valuable because it allows investors to eventually use all their losses, even if they occur in years with high gains.
Tax brackets also matter significantly. Someone in the 37% ordinary income tax bracket saves $0.37 for every $1 of loss they use to offset ordinary income. Someone in the 22% bracket saves $0.22. This difference explains why tax loss harvesting can be particularly valuable for higher-income investors, though investors at all income levels may benefit.
Practical Takeaway: Categorize your investment holdings by how long you've owned them. This helps you understand whether gains and losses are short-term or long-term, which determines how they'll interact when you use tax loss harvesting.
The wash sale rule is perhaps the most important regulation to understand when implementing tax loss harvesting. The Internal Revenue Service created this rule to prevent investors from selling securities at a loss, claiming the tax deduction, and immediately repurchasing the same or substantially identical security. Without this rule, investors could repeatedly harvest losses without genuinely changing their investment positions.
Learn About Understanding Your Property Tax Bill →
Under the wash sale rule, if you sell a security at a loss and buy the same or a substantially identical security within 30 days before or after the sale, you cannot claim the loss deduction. The 30-day window is specific: it includes 30 days before the sale, the day of the sale, and 30 days after the sale. This means if you sell on June 15th, the window extends from May 16th through July 15th—61 calendar days total. Any purchase within this window triggers the wash sale rule.
The consequences are significant. The disallowed loss doesn't disappear; instead, the IRS adds it to the cost basis of the replacement security. This defers the tax benefit rather than eliminating it, but it also delays when you can recognize the loss benefit. If you continue repurchasing the same security repeatedly, you keep pushing the loss forward, potentially for years.
Determining what constitutes "substantially identical" securities is crucial. Obviously, buying the same stock after selling it triggers the rule. But what about similar investments? Buying a different stock in the same company doesn't avoid the wash sale rule—it still applies. Buying a mutual fund that tracks the same index might be considered substantially identical, depending on the specific fund. Buying a different company's stock in the same sector, however, generally wouldn't trigger the rule. For example, if you sell Apple stock at a loss, buying Microsoft stock would likely avoid the wash sale rule, though both are large technology companies.
Professional tax software and brokerage platforms increasingly provide wash sale tracking tools. These systems flag potential wash sales and help investors understand which investments would and wouldn't trigger the rule. However, investors remain responsible for understanding and following the rule themselves. Brokers typically report wash sales to the IRS on Form 8949, which helps ensure compliance.
Practical Takeaway: Create a calendar noting any securities you sell at a loss. Mark the 30-day window before and after each sale. During this period, avoid repurchasing the same or substantially identical security if you want to claim the tax loss. Consider alternative investments in different companies or sectors to maintain your desired portfolio exposure.
Finding tax loss harvesting opportunities requires regular portfolio review, but the process becomes manageable with a system. The most straightforward approach involves comparing each investment's current market value to its cost basis—what you originally paid for it. Any position trading below its cost basis represents a potential opportunity.
Learn About How Long To Keep Tax Documents →
Many investors benefit from conducting a quarterly or annual portfolio review specifically for this purpose. During these reviews, generate a list of all holdings showing purchase price, current price, and unrealized gain or loss. This creates a snapshot of opportunities. Some investors prioritize harvesting losses in December, understanding they'll use the losses against that year's income, though opportunities arise throughout the year whenever markets create losses.
Consider this practical example: Sarah's portfolio includes several positions. She owns 50 shares of Company A purchased at $40 per share ($2,000 total cost) now worth $50 per share ($2,500 total value)—a $500 unrealized gain. She owns 100 shares of Company B purchased at $25 per share ($2,500 total cost) now worth $20 per share ($2,000 total value)—a $500 unrealized loss. She owns a mutual fund purchased for $10,000 that's now worth $12,000—a $2,000 unrealized gain. By selling the Company B position for a $500 loss, she can offset the $500 gain from Company A, eliminating taxes on that portion of her returns. If she wants to keep similar market exposure, she could purchase Company C's stock instead.
Market downturns create particularly abundant harvesting opportunities. During significant market corrections, many positions across a portfolio may show losses. Investors who develop a systematic approach during down markets can significantly offset gains realized during recovery periods. For instance, after
This guide is for general information only and is not medical, financial, legal, or other professional advice. For decisions specific to your situation, consult a qualified professional. See our Editorial Policy.