Tax Planning | August 25, 2026 | Capstag.com | 11 min read
How to Use Tax-Loss Harvesting to Reduce Your Investment Tax Bill
Most investors focus on finding the best investments. Fewer focus on legally reducing the tax bill those investments generate. Tax-loss harvesting is one of the most consistently valuable tax strategies available to individual investors — and it costs nothing to implement beyond a basic understanding of how it works.
Quick Answer: Tax-loss harvesting is the practice of selling an investment that has declined in value to realise a capital loss, then using that loss to offset capital gains — or up to $3,000 of ordinary income per year if losses exceed gains — thereby reducing your tax bill for the year. After selling, you immediately reinvest the proceeds in a similar but not substantially identical investment to maintain your market exposure while the tax benefit is captured. According to Investopedia's 2026 guide, tax-loss harvesting is a legal strategy that can help manage, defer, and reduce tax bills — it works only in taxable brokerage accounts, not in Roth IRAs or traditional IRAs.
Every dollar of tax saved through a legal strategy is a dollar that stays in your portfolio and compounds going forward. Over a multi-decade investment horizon, the compounding of tax savings from consistent tax-loss harvesting can add meaningfully to total portfolio value — without taking any additional investment risk, changing the portfolio's expected return, or requiring active stock selection. As a finance strategist, tax-loss harvesting is one of the most underutilised strategies in individual investing precisely because its benefit is invisible — it shows up on a tax return rather than in portfolio performance, which makes it easy to overlook.
What Is Tax-Loss Harvesting?
Tax-loss harvesting is the deliberate realisation of a capital loss — by selling an investment that has declined in value below its purchase price — to create a tax deduction that can offset capital gains realised elsewhere in the portfolio, or up to $3,000 of ordinary income if no gains are available to offset. The key to the strategy is that after selling the losing position, the investor immediately reinvests the proceeds in a similar investment that maintains essentially the same market exposure, so the portfolio's long-term position is unchanged while a tax benefit has been captured.
According to Vanguard's tax-loss harvesting education materials, harvesting investment losses to offset gains and reduce taxes is a legal strategy that can help you manage, defer, and reduce your tax bills. The strategy generates a tax benefit now — in the year the loss is realised — while deferring the tax liability (through a lower cost basis on the replacement investment) to a future year when the replacement investment is eventually sold.
How Tax-Loss Harvesting Works: A Step-by-Step Example
|
1
|
Identify a Position with an Unrealised LossReview your taxable brokerage account for positions trading below their cost basis (the price you paid). A stock bought at $50 now trading at $35 has an unrealised loss of $15 per share. This loss exists only on paper until you sell — at which point it becomes a realised loss that can be used to offset gains on your tax return. |
|
2
|
Sell the Losing PositionSell the position at its current market price, realising the capital loss. On 100 shares purchased at $50 (total cost $5,000) now worth $35 per share ($3,500), the realised loss is $1,500. This loss is now a tax deduction available on your tax return for that year. |
|
3
|
Immediately Reinvest in a Similar ReplacementUse the $3,500 proceeds to immediately buy a similar but not substantially identical investment that maintains your market exposure. If you sold a technology sector ETF at a loss, reinvest in a different technology sector ETF from a different fund family. If you sold a broad S&P 500 fund, reinvest in a total market fund or a slightly different index fund. The goal is to remain invested — capturing the tax loss without sacrificing the exposure to the market segment you intended to hold. |
|
4
|
Use the Loss to Offset Gains or IncomeReport the $1,500 realised loss on your tax return (Schedule D). If you have $1,500 of capital gains elsewhere in your portfolio from other sales that year, the loss offsets them entirely — reducing your capital gains tax to zero on those gains. If you have no gains, up to $3,000 of the loss can be deducted against ordinary income. Any remaining unused loss carries forward to future tax years indefinitely. |
The Wash Sale Rule: The Critical Restriction You Must Know
The wash sale rule is the IRS regulation that prevents investors from immediately repurchasing the same investment they just sold at a loss and still claiming the loss as a tax deduction. Specifically, the rule disallows a capital loss if you buy a substantially identical security within 30 days before or after the sale that generated the loss — a 61-day window total centred on the sale date. According to Investopedia's 2026 tax-loss harvesting guide, a wash sale occurs when you sell or trade stock or securities at a loss and within 30 days before or after the sale you buy substantially identical stock or securities — the IRS will disallow the capital loss for tax purposes if the wash sale rule is triggered.
What Counts as "Substantially Identical": Selling IVV (iShares S&P 500 ETF) and immediately buying VOO (Vanguard S&P 500 ETF) is almost certainly a wash sale — both track the same index and the IRS would likely consider them substantially identical. Selling IVV and buying VTI (Vanguard Total Market ETF) is generally considered acceptable — they track different indices covering a different universe of stocks. Selling a specific stock and buying a different company in the same sector is acceptable. Selling and rebuying the exact same security within the 61-day window is a clear wash sale and will have the loss disallowed. When in doubt, consult a tax professional rather than making assumptions about what qualifies.
Capital Loss Rules: Short-Term vs Long-Term
Capital losses are categorised as short-term (from investments held one year or less) or long-term (from investments held more than one year), and the categorisation matters for how they are applied. According to the IRS tax code, short-term losses first offset short-term gains, and long-term losses first offset long-term gains. If losses in one category exceed gains in that same category, the excess can then offset gains in the other category. If total losses exceed total gains, up to $3,000 of the net loss can be deducted against ordinary income per year, with any remaining amount carried forward to future years indefinitely.
| Loss Type | First Offsets | Then Offsets | Remaining Can Offset |
|---|---|---|---|
| Short-term loss | Short-term gains (taxed as income) | Long-term gains (if ST losses exceed ST gains) | Up to $3,000 ordinary income/year |
| Long-term loss | Long-term gains (taxed at 0/15/20%) | Short-term gains (if LT losses exceed LT gains) | Up to $3,000 ordinary income/year |
Short-term capital gains are taxed at ordinary income rates — up to 37% for high earners. Long-term capital gains are taxed at 0%, 15%, or 20% depending on taxable income. This means a short-term loss that offsets a short-term gain saves more tax than the same loss offsetting a long-term gain, since it eliminates a higher-rate tax obligation. Strategic harvesting that prioritises offsetting short-term gains delivers the largest immediate tax benefit.
When Tax-Loss Harvesting Makes the Most Sense
Tax-loss harvesting is most valuable in specific circumstances: when the investor has realised capital gains elsewhere in the portfolio that year (from selling appreciated positions, receiving capital gains distributions from mutual funds, or other taxable events), when the investor is in a high tax bracket where capital gains taxes are meaningful, and when there are genuine unrealised losses available to harvest without distorting the portfolio's strategic allocation.
When It Does Not Make Sense: Tax-loss harvesting offers no benefit inside a Roth IRA or traditional IRA, where transactions are not taxable events — realising a loss inside a retirement account produces no deductible benefit and simply locks in the loss. It also offers no benefit if the investor is in the 0% long-term capital gains bracket (taxable income below approximately $47,025 for single filers in 2026), since the tax being avoided is already zero. And it should never drive the investment decision — harvesting a loss from a fundamentally strong holding simply to generate a deduction, then failing to reinvest in an equivalent position, defeats the strategy's purpose and reduces long-term wealth more than the tax saving is worth.
Tax-Loss Harvesting vs Automated Platforms
Several robo-advisor platforms — including Betterment, Wealthfront, and others — offer automated tax-loss harvesting as a feature, systematically scanning for harvesting opportunities throughout the year rather than only at year-end. According to research cited by Investopedia, automated tax-loss harvesting can add meaningful after-tax value annually for investors with large taxable portfolios, particularly in high-volatility years when individual positions within a diversified portfolio diverge enough to create harvesting opportunities even when the overall portfolio is up.
For individual investors managing their own taxable accounts, the most practical approach is a year-end review of all positions for unrealised losses, particularly in November and December before the tax year closes. Market downturns — even temporary ones during an overall upward trend — create harvesting windows that may not exist a month later if the position recovers. Reviewing the portfolio after any significant market decline is the most reliable trigger for harvesting reviews throughout the year.
From a Risk Management Perspective: The most important discipline in tax-loss harvesting is ensuring the replacement investment genuinely maintains the portfolio's strategic exposure. An investor who harvests a loss from an S&P 500 fund and replaces it with a money market fund to "wait out the wash-sale window" is not tax-loss harvesting — they are market timing with an extra step. The replacement investment should be bought immediately after the sale, tracking the same market segment through a different but non-substantially-identical fund, so the investor captures the tax benefit without the investment risk of being out of the market during the 30-day window.
Conclusion
Tax-loss harvesting is one of the few legal strategies that improves after-tax returns without requiring the investor to take additional risk, change their asset allocation, or select better investments. The benefit is the tax saving compounded over future years — a dollar saved in capital gains tax today is a dollar that remains invested and grows at the portfolio's rate of return going forward. The wash sale rule requires care in selecting the replacement investment, and the strategy only applies in taxable accounts. For most investors in higher tax brackets with taxable brokerage accounts, a systematic year-end review and harvesting process is one of the highest-value, lowest-effort improvements available. For the full picture of tax-efficient investing, see our guide on Roth IRA vs Traditional IRA: Which One Is Better for You?
✅ Key Takeaways
- Tax-loss harvesting sells investments at a loss to create a capital loss deduction that offsets capital gains — or up to $3,000 of ordinary income per year if losses exceed gains
- After selling, immediately reinvest in a similar but not substantially identical investment to maintain market exposure while capturing the tax benefit
- The wash sale rule disallows the loss if you buy a substantially identical security within 30 days before or after the sale — the restriction applies to a 61-day window centred on the sale date
- Short-term losses offset short-term gains first (taxed at ordinary income rates up to 37%), making short-term loss harvesting particularly valuable for high-bracket investors
- Unused capital losses carry forward indefinitely to future tax years — there is no expiration on harvested losses that exceed current-year gains
- Tax-loss harvesting only applies in taxable brokerage accounts — it produces no benefit inside Roth IRAs or traditional IRAs where transactions are not taxable events
- Year-end November/December review and reviews after significant market declines are the two most practical triggers for identifying harvesting opportunities
Frequently Asked Questions
What is tax-loss harvesting in simple terms?
Tax-loss harvesting is selling an investment that has declined in value below what you paid for it, realising the loss as a tax deduction, and immediately reinvesting the proceeds in a similar investment to maintain your market exposure. The realised loss reduces your capital gains tax bill — or up to $3,000 of ordinary income if you have no gains to offset — while keeping your portfolio positioned the same way it was before the harvest.
What is the wash sale rule?
The wash sale rule is an IRS regulation that disallows a capital loss deduction if you buy a substantially identical security within 30 days before or after the sale that generated the loss — a 61-day window total. It prevents investors from selling an investment purely to realise a tax loss and immediately buying the same investment back. To avoid triggering the wash sale rule, replace the sold investment with a similar but different fund or security that tracks a different index or is issued by a different fund company.
How much can I deduct from tax-loss harvesting?
Capital losses first offset capital gains of the same type (short-term losses offset short-term gains, long-term losses offset long-term gains), then can offset gains of the opposite type. If total losses exceed total gains, up to $3,000 of the net loss can be deducted against ordinary income per year for individual filers ($1,500 if married filing separately). Any remaining unused loss carries forward indefinitely to future tax years.
Does tax-loss harvesting work inside a Roth IRA?
No. Tax-loss harvesting only applies in taxable brokerage accounts where investment transactions generate taxable events. Inside a Roth IRA or traditional IRA, transactions are not taxable — selling an investment at a loss inside a retirement account produces no deductible benefit and simply locks in the loss permanently. All tax-loss harvesting activity must occur in a standard taxable brokerage account to generate any benefit.
What should I buy as a replacement after harvesting a loss?
Buy a similar but not substantially identical investment that maintains your exposure to the same market segment. Common replacement pairs include: selling IVV (iShares S&P 500 ETF) and buying VTI (Vanguard Total Market ETF), or selling an S&P 500 fund and buying a total market fund from a different provider. The replacement must be different enough that the IRS would not consider it substantially identical to the sold investment, while being similar enough that your portfolio remains positioned in essentially the same market segment.
When is the best time to do tax-loss harvesting?
The most common timing is November and December, when investors review their taxable accounts before the calendar year closes and realise losses that can be used on that year's tax return. However, harvesting opportunities also arise after any significant market decline during the year — positions that fall 10% or more from their cost basis create harvesting windows that may close if the position recovers. Reviewing the portfolio after any notable market downturn, regardless of the time of year, is the most practical approach to capturing harvesting opportunities as they arise.
This article is for educational purposes only. The information provided reflects general financial principles and does not constitute personalised financial, tax, or legal advice. Always consider your own financial circumstances before making any decisions.
