Tax-Loss Harvesting Explained: A Complete Guide for Investors and Tax Professionals
Meta Title: Tax-Loss Harvesting Explained: How to Reduce Capital Gains Taxes
Meta Description: Learn how tax-loss harvesting works, when to use it, IRS wash sale rules, and strategies investors and tax professionals should know to legally reduce taxes.
Tax-Loss Harvesting Explained
Most investors focus on making money in the stock market.
Smart investors also know how to minimize taxes.
One of the most effective tax strategies available is tax-loss harvesting—a technique that allows investors to use investment losses to reduce taxable gains and, in some cases, even lower ordinary income.
For tax professionals, understanding tax-loss harvesting can provide significant value to clients with brokerage accounts, mutual funds, ETFs, or other taxable investments.
This guide explains how tax-loss harvesting works, who benefits, IRS rules to know, and common mistakes to avoid.
What Is Tax-Loss Harvesting?
Tax-loss harvesting is the practice of selling investments that have declined in value to realize a capital loss.
That loss can then be used to:
- Offset capital gains
- Reduce taxable investment income
- Deduct up to $3,000 of excess capital losses against ordinary income each year ($1,500 if married filing separately)
- Carry unused losses forward indefinitely to future tax years
The goal isn’t simply to sell losing investments.
The goal is to reduce taxes while maintaining an investment strategy.
How Tax-Loss Harvesting Works
Imagine an investor owns two stocks.
Stock A
- Purchased for $20,000
- Sold for $35,000
- Capital gain = $15,000
Stock B
- Purchased for $15,000
- Current value = $8,000
- Capital loss = $7,000
If the investor sells both investments during the same tax year:
Capital gain:
$15,000
Capital loss:
($7,000)
Net taxable gain:
$8,000
Instead of paying taxes on a $15,000 gain, taxes are paid on only $8,000.
Why Investors Use Tax-Loss Harvesting
Tax-loss harvesting can provide several benefits.
Reduce Capital Gains Taxes
The primary benefit is reducing taxes owed on profitable investments.
Improve After-Tax Returns
Lower taxes mean investors keep more of their investment gains over time.
Even small annual savings can compound significantly over decades.
Offset Future Gains
If losses exceed gains this year, unused losses can carry forward to offset gains in future years.
Reduce Ordinary Income
If losses remain after offsetting all capital gains, taxpayers may deduct up to:
- $3,000 annually
- Remaining losses carry forward indefinitely
Short-Term vs. Long-Term Capital Gains
Tax-loss harvesting becomes even more valuable because different gains are taxed differently.
Short-Term Gains
Assets held one year or less
Taxed at ordinary income tax rates.
These are often taxed much higher than long-term gains.
Long-Term Gains
Assets held more than one year
Typically taxed at:
- 0%
- 15%
- 20%
depending on taxable income.
Many investors strategically harvest losses to offset higher-taxed short-term gains first.
Understanding the IRS Wash Sale Rule
One of the most important rules in tax-loss harvesting is the wash sale rule.
A taxpayer cannot claim a deductible loss if they:
- Sell a security at a loss
- Purchase the same or a substantially identical security
- Within 30 days before or after the sale
This creates a 61-day window:
- 30 days before
- Sale date
- 30 days after
If the rule applies:
- The tax loss is disallowed for the current sale.
- Instead, the disallowed loss is added to the basis of the replacement shares.
Example
An investor sells:
100 shares of XYZ ETF
Loss:
$5,000
Ten days later, they repurchase the same ETF.
Result:
The $5,000 loss cannot be deducted because the transaction is considered a wash sale.
What Counts as “Substantially Identical”?
The IRS has not provided an exhaustive definition.
Generally:
Likely considered substantially identical:
- The exact same stock
- The same ETF
- The same mutual fund
Usually not substantially identical:
- Similar ETFs tracking different indexes
- Different companies within the same industry
- Different mutual funds with different investment objectives
Because the rules can be nuanced, investors should seek professional guidance before replacing investments.
Tax-Loss Harvesting Example
Suppose a taxpayer has:
| Investment | Gain/Loss |
|---|---|
| Apple Stock | +$18,000 |
| Tesla Stock | -$10,000 |
| ETF | -$4,000 |
Net result:
$18,000
Minus
$14,000 losses
Equals
$4,000 taxable capital gain
Without harvesting losses, taxes would have been owed on the entire $18,000 gain.
Carrying Losses Forward
Suppose an investor has:
Capital gains:
$5,000
Capital losses:
$25,000
Net capital loss:
$20,000
The taxpayer may:
- Offset all $5,000 of gains
- Deduct $3,000 against ordinary income
- Carry forward the remaining $12,000 into future years
Those future losses can continue reducing taxable gains until fully used.
When Tax-Loss Harvesting Makes Sense
Tax-loss harvesting may benefit investors who:
- Own taxable brokerage accounts
- Have appreciated investments
- Expect future capital gains
- Are in higher tax brackets
- Have concentrated stock positions
- Regularly rebalance investment portfolios
It is generally less beneficial in tax-advantaged retirement accounts such as traditional IRAs or Roth IRAs because gains and losses inside those accounts are not currently taxable.
Common Tax-Loss Harvesting Mistakes
Ignoring the Wash Sale Rule
Repurchasing the same investment too soon eliminates the immediate tax benefit.
Letting Taxes Drive Investment Decisions
Taxes should be one consideration—not the only one. Selling quality investments solely for tax reasons may not align with a sound long-term strategy.
Forgetting State Taxes
Many states follow federal capital gain rules, but state tax treatment can differ.
Overlooking Mutual Fund Distributions
Mutual funds may distribute taxable capital gains even if the investment declined during the year.
Poor Recordkeeping
Investors should maintain accurate records of:
- Purchase dates
- Cost basis
- Sale dates
- Carryforward losses
- Replacement investments
Good documentation simplifies tax preparation and helps avoid reporting errors.
How Tax Professionals Can Help
Tax-loss harvesting often involves coordination between investment management and tax planning.
Tax professionals can help clients:
- Estimate year-end capital gains
- Identify opportunities to harvest losses
- Avoid wash sale violations
- Track capital loss carryforwards
- Coordinate with financial advisors before year-end
- Evaluate the tax impact of portfolio rebalancing
For clients with substantial investment portfolios, proactive tax planning can produce meaningful long-term tax savings.
Frequently Asked Questions
Can tax-loss harvesting eliminate all capital gains taxes?
It can offset some or all capital gains, depending on the amount of realized losses available. If losses exceed gains, up to $3,000 of the remaining loss can generally offset ordinary income each year, with additional losses carried forward.
Does tax-loss harvesting apply to retirement accounts?
No. Traditional IRAs, Roth IRAs, and most employer-sponsored retirement plans do not recognize capital gains or losses for current tax purposes.
Can unused losses expire?
Generally, no. Unused capital losses can typically be carried forward indefinitely until they are fully used, subject to applicable tax rules.
Is tax-loss harvesting legal?
Yes. Tax-loss harvesting is a long-established tax planning strategy recognized under U.S. tax law, provided taxpayers comply with IRS requirements, including the wash sale rule.
Final Thoughts
Tax-loss harvesting is one of the most valuable tax planning strategies available to investors with taxable brokerage accounts. By realizing investment losses strategically, taxpayers can offset capital gains, reduce current tax liability, and carry unused losses into future years.
For tax professionals, understanding the mechanics of tax-loss harvesting—including capital gain netting, carryforward rules, and the wash sale rule—can help clients preserve more of their investment returns and avoid costly mistakes. When combined with thoughtful portfolio management and year-end tax planning, tax-loss harvesting can improve after-tax wealth without changing an investor’s long-term financial goals.
Disclaimer: This article is for educational purposes only and should not be considered legal, tax, or investment advice. Tax-loss harvesting strategies should be evaluated based on each taxpayer’s individual circumstances, and investors should consult a qualified tax professional or financial advisor before implementing them.
Responses