Tax-Loss Harvesting Guide: Rules, Examples, and a Year-End Investment Checklist
tax planningcapital gainsportfolio managementwash sale ruleyear-end checklist

Tax-Loss Harvesting Guide: Rules, Examples, and a Year-End Investment Checklist

SSmartInvest Editorial Team
2026-11-14
7 min read

Learn how tax-loss harvesting works, review wash-sale risks, compare tax lots, and follow a practical year-end investment checklist.

Tax-loss harvesting can turn an otherwise disappointing investment into a potential tax-planning opportunity. This guide explains how tax-loss harvesting works, when selling at a loss may help, how the wash-sale rule can affect a replacement purchase, and how to use a repeatable year-end checklist without losing sight of your long-term investment strategy.

Overview

Tax-loss harvesting is the practice of selling an investment in a taxable account for less than its purchase price and using the realized loss to offset eligible capital gains. Depending on your circumstances and the tax rules that apply, a net capital loss may also offset a limited amount of ordinary income, with unused losses potentially carried forward. The exact treatment depends on your tax jurisdiction, filing status, account type, and the tax year, so confirm the rules before acting.

The strategy applies to taxable brokerage accounts, not usually to investments held inside tax-advantaged accounts where gains and losses are not reported in the same way. It is also not a reason to sell an investment solely because its price has fallen. A sale may be worth considering only when it supports both a tax objective and a sound portfolio decision.

How tax-loss harvesting works

  1. You identify a taxable investment whose current value is below its adjusted cost basis.
  2. You sell the position and realize the loss for tax purposes.
  3. You compare the realized loss with realized short-term and long-term gains.
  4. You decide whether and how to reinvest the proceeds while maintaining your desired asset allocation.
  5. You record the transaction, replacement security, dates, quantities, and cost basis for future reporting.

Short-term and long-term gains and losses can receive different tax treatment. In many tax systems, losses are first matched with gains of the same general type before any remaining net loss is applied more broadly. Do not assume that the brokerage account's gain-and-loss summary is the final tax result; review the tax documents and applicable rules for the relevant year.

Item to reviewWhy it mattersAction
Unrealized lossA price decline alone is not generally a tax deduction.Confirm that the position is in a taxable account and that a sale would realize the loss.
Realized gainsLosses may offset eligible capital gains.Separate short-term and long-term transactions and review the year's activity.
Holding periodThe tax treatment of a gain or loss may depend on how long the asset was held.Check the acquisition date for each tax lot.
Replacement purchaseA substantially identical purchase near the sale may defer or disallow the intended loss under wash-sale rules.Review purchases in the applicable window before and after the sale.
Transaction costs and spreadTrading costs and price movement can reduce the benefit.Estimate the total implementation cost before placing orders.

Checklist by scenario

Scenario 1: You have realized capital gains

This is the clearest situation for reviewing potential losses. Start by downloading your brokerage activity for the tax year and listing realized gains by security, date, holding period, and amount. Then review taxable holdings with unrealized losses. A harvested loss may reduce the tax impact of eligible gains, but selling can also change your portfolio's exposure, dividend income, and future gain potential.

  • List every realized gain and classify its holding period.
  • Identify loss lots rather than treating an entire position as one purchase.
  • Compare the estimated tax benefit with commissions, bid-ask spreads, and market risk.
  • Choose a replacement that preserves your intended asset allocation without being substantially identical under applicable rules.
  • Set a calendar reminder to review when the original exposure can be restored, if that remains appropriate.

Scenario 2: You have no realized gains

A loss may still have value if the rules in your jurisdiction permit net capital losses to offset a limited amount of other income or to carry forward. However, the benefit may be delayed. Ask whether the expected tax value justifies selling, replacing the investment, and tracking the resulting basis. If the position is still suitable and the loss is small, doing nothing may be reasonable.

Scenario 3: You want to replace a fund or stock

Before selling, define the exposure you want to keep: broad domestic equities, international equities, bonds, a sector, or another allocation. The replacement should be selected for portfolio fit, cost, diversification, and risk—not merely because it appears similar. Two funds can track different indexes, hold different securities, or carry different concentration and duration risks.

For example, an investor selling one broad-market fund might research another fund with a different benchmark rather than immediately repurchasing the same fund. The replacement decision should be documented, especially if the original position is later restored.

Review taxable, traditional, Roth, workplace, and spousal accounts before harvesting a loss. Purchases in another account can affect wash-sale analysis, and automated dividend reinvestment or recurring contributions can create an unintended purchase. Retirement-account transactions deserve particular care because the consequences may differ from those in a taxable account. Consider asking a tax professional to review cross-account transactions before proceeding.

Transaction worksheet

Use one line for each tax lot under review:

  • Security and ticker: ____________________
  • Account type: ____________________
  • Number of shares or units: ____________________
  • Purchase date and cost basis: ____________________
  • Current value and estimated unrealized loss: ____________________
  • Short-term or long-term classification: ____________________
  • Realized gains available to offset: ____________________
  • Potential replacement investment: ____________________
  • Purchases of the same or substantially identical investment in the review window: ____________________
  • Estimated trading costs and tax impact: ____________________
  • Order date, settlement details, and confirmation saved: ____________________

What to double-check

Wash-sale timing: In the United States, the commonly used wash-sale framework focuses on purchases of the same or substantially identical security during a period beginning 30 days before and ending 30 days after the sale. Rules can be complex, and the result may involve an adjustment to the replacement lot's basis rather than a permanent disappearance of the loss. Confirm the current official guidance for the relevant tax year.

Automatic purchases: Dividend reinvestment, recurring investment plans, employee programs, and transfers between accounts can create a purchase that is easy to overlook. Temporarily review or adjust these instructions only after considering the effect on your broader plan.

Tax lots: A broker may use a default lot-selection method unless you specify otherwise. Choosing particular lots can change the size and holding period of the realized loss. Save trade confirmations and verify that the selected lots match your instructions.

Reporting: Compare your own transaction log with year-end brokerage tax forms. Corporate actions, mergers, fund distributions, transfers, and corrected forms can change the reported basis. Keep records long enough to support the required tax reporting and future basis calculations.

Portfolio risk: A tax benefit should not lead you to abandon diversification, hold excessive cash, or replace a diversified investment with a concentrated one. Review the decision alongside your investment portfolio review checklist and, when appropriate, your asset location plan.

Common mistakes

  • Harvesting losses without a plan: Selling first and deciding what to buy later can leave the portfolio underinvested or misaligned.
  • Buying back too soon: A desire to restore the original position can conflict with wash-sale rules.
  • Ignoring other accounts: A purchase outside the account where the sale occurred may still matter.
  • Confusing an unrealized loss with a deduction: The loss generally must be realized through a sale, subject to applicable rules.
  • Overlooking tax lots: Selling the wrong lots can produce a smaller loss, an unexpected gain, or a different holding period.
  • Letting taxes drive the entire strategy: A tax saving is only one part of the result. Fees, spreads, future returns, risk, and administrative effort also matter.
  • Waiting until the final trading day: Last-minute execution leaves less time to resolve missing records, market movement, settlement questions, or corrected transactions.

When to revisit

Review tax-loss harvesting at least once during the year and again before the applicable year-end transaction deadline. A large market decline, a change in employment or income, a major portfolio rebalance, or a decision to realize gains can justify an additional review. Revisit the process after moving jurisdictions, opening a new account, changing automated contributions, or receiving a corrected brokerage statement.

Before each review, update the tax-year thresholds, reporting instructions, wash-sale guidance, account records, and brokerage forms that apply to you. Tax rules can change, and an example that was correct for one year may not apply to another.

For a practical final pass, complete this sequence:

  1. Download current holdings, cost basis, and realized transaction reports from every relevant account.
  2. Mark gains and losses by tax lot and holding period.
  3. Identify automatic purchases and related holdings across accounts.
  4. Estimate the tax effect and all trading costs.
  5. Choose a replacement only after checking portfolio allocation and wash-sale considerations.
  6. Place trades with explicit lot instructions, then save confirmations.
  7. Reconcile the transactions with year-end tax forms and consult a qualified tax professional if the situation involves substantial gains, complex securities, business income, or multiple jurisdictions.

Tax-loss harvesting is best treated as an occasional portfolio-management tool, not a prediction about where markets will go next. Pair the review with a broader allocation process, such as an ETF portfolio allocation review, and keep the primary objective clear: maintain a suitable investment plan while handling taxes deliberately.

Related Topics

#tax planning#capital gains#portfolio management#wash sale rule#year-end checklist
S

SmartInvest Editorial Team

Personal Finance Editors

Senior editor and content strategist. Writing about technology, design, and the future of digital media. Follow along for deep dives into the industry's moving parts.