Tax-Loss Harvesting Guide: Rules, Tradeoffs, and a Year-End Portfolio Workflow
tax-loss harvestingcapital gainsportfolio taxesETFsyear-end investing

Tax-Loss Harvesting Guide: Rules, Tradeoffs, and a Year-End Portfolio Workflow

IInvestments.news Editorial Team
2026-11-13
8 min read

Learn how tax-loss harvesting works, avoid wash-sale problems, and use a repeatable workflow to preserve portfolio exposure.

Tax-loss harvesting can reduce the tax impact of an investment loss without abandoning a long-term portfolio plan. This guide explains how tax-loss harvesting works, how to avoid common wash-sale problems, what to track throughout the year, and how to build a year-end workflow that preserves your intended market exposure. It is general educational information for U.S. taxpayers, not individualized tax advice; confirm current federal and state rules with a qualified tax professional.

Overview

Tax-loss harvesting is the deliberate sale of an investment trading below its tax basis to realize a capital loss. The loss may offset realized capital gains, and any remaining allowable loss may be used against other income subject to current tax rules. Unused losses can generally be carried forward, but the applicable limits and treatment should be verified for the tax year being filed.

The investment decision and the tax decision should remain separate. A loss is not automatically valuable simply because it creates a deduction. Selling may remove a desired exposure, generate transaction costs, create a future tax consequence, or cause the portfolio to drift from its target allocation. The goal is to improve after-tax results while keeping risk, diversification, and investment intent under control.

Tax-loss harvesting is usually most practical in a taxable brokerage account. It does not normally apply to assets held in tax-advantaged accounts in the same way, and transactions involving an individual retirement account or another account can create special wash-sale concerns. Keep taxable and retirement-account activity in the same review process before placing a trade.

For a broader portfolio review, pair this process with an investment policy statement and a quarterly rebalancing checklist. Tax considerations should support the plan rather than replace it.

What to track

1. Tax lots, basis, and holding period

Start with a complete list of taxable holdings. For each position, record the security, account, number of shares, purchase date, adjusted cost basis, current value, unrealized gain or loss, and whether the lot is short-term or long-term. Short-term and long-term gains and losses can receive different tax treatment, so the holding period matters.

Do not rely solely on a headline “total return” figure. A single position may contain many lots with different prices and dates. Specific-lot identification can allow you to sell the lots that best fit the tax objective, but you must follow the brokerage’s trade instructions and retain confirmation of the selected lots. If no specific method is used, the broker may apply its default accounting method.

2. Realized gains and losses

Track realized transactions across all taxable brokerage accounts, not just one platform. Include stock sales, ETF sales, mutual-fund transactions, option activity, and distributions that may create taxable gains. A gain already realized elsewhere in the year can change whether harvesting a loss is useful.

Review the tax documents your broker provides, but do not wait until tax forms arrive to discover a problem. Brokerage reporting may not capture every cross-account transaction or every wash-sale event, particularly when related purchases occur at another institution or in an account owned by a spouse. Your personal transaction log is an important control.

3. Wash-sale exposure

The wash-sale rule generally disallows a loss when you sell a security and buy the same or a substantially identical security within the relevant window—commonly 30 days before or after the sale. The rule can also apply when an automatic dividend reinvestment or recurring investment purchases additional shares. The treatment of a disallowed loss can differ depending on the transaction, so do not assume that a broker’s adjustment is the complete picture.

Before selling, search for recent and scheduled purchases in every account. Check recurring contributions, dividend reinvestment settings, employer plans, spousal accounts where applicable, and retirement accounts. Temporarily turning off automatic purchases may be necessary, but do so only after considering the account’s investment and administrative requirements.

4. Replacement exposure

Prepare a replacement before selling. The replacement should preserve the portfolio’s intended risk exposure without being substantially identical to the security sold. For example, an investor might replace one broad-market fund with another fund tracking a different index or using a meaningfully different construction. Similarity must be assessed carefully; a different ticker does not automatically mean the investments are distinct for tax purposes.

Compare the replacement’s asset exposure, concentration, index methodology, liquidity, tracking difference, and expense ratio. An ETF comparison framework can help, but tax treatment should be confirmed separately.

Tax-loss harvesting checklist

  • List every taxable account and all unrealized loss lots.
  • Record adjusted basis, acquisition date, share count, and estimated loss for each lot.
  • Summarize realized short-term and long-term gains and losses for the year.
  • Check purchases made during the period before the proposed sale.
  • Check scheduled purchases, dividend reinvestment, and transactions in related accounts.
  • Choose a replacement that maintains the desired asset-class exposure without being substantially identical.
  • Estimate commissions, bid-ask spreads, fund expenses, and possible tax effects of the replacement.
  • Save trade confirmations, lot selections, calculations, and the date on which the replacement review ends.

Cadence and checkpoints

A year-end review is useful, but waiting until the final trading days can create avoidable errors. Use a recurring process instead.

Monthly or quarterly monitoring

Scan taxable holdings for losses that are large enough to matter after trading costs and that do not undermine the allocation plan. Update realized gains, confirm tax-lot data, and look for automated purchases. This light review is especially useful after a broad market decline, a sector selloff, or a concentrated holding’s sharp move.

Before a proposed sale

Write down the reason for the trade, the exposure being sold, the proposed replacement, the exact lots, and the wash-sale review period. Confirm the order type and liquidity conditions. Tax-loss harvesting is not a reason to use an unnecessarily complex or poorly timed trade.

Year-end workflow

  1. Inventory: Export current holdings, tax lots, realized transactions, and pending orders from each taxable account.
  2. Prioritize: Rank losses by potential tax usefulness, portfolio importance, holding period, and trading cost.
  3. Match: Compare losses with realized gains and your broader tax situation. Verify current federal and state rules rather than relying on an old checklist.
  4. Replace: Select a temporary or long-term alternative that keeps the portfolio near its target allocation.
  5. Execute: Sell the selected lots and buy the replacement only after reviewing the wash-sale window and account-wide activity.
  6. Document: Save confirmations and update the portfolio ledger, including the replacement’s basis and acquisition date.
  7. Reassess: After the relevant period, decide whether to retain the replacement, restore the original exposure, or rebalance for a separate investment reason.

Do not assume a trade completed on December 31 will automatically be reported in the tax year you expect. Settlement, order execution, fund processing, and brokerage reporting practices can matter. Confirm the firm’s year-end deadlines well in advance.

How to interpret changes

ApproachPotential benefitMain tradeoff or riskWhen it may fit
Tax-loss harvestingMay offset gains and improve after-tax flexibilityWash-sale risk, trading costs, tracking error, and possible future gainsWhen a taxable loss is meaningful and a suitable replacement exists
Hold the investmentMaintains exposure and avoids unnecessary tradingNo current loss is realized; concentration or risk may persistWhen the investment remains appropriate and tax savings are modest
Sell for ordinary portfolio reasonsCan reduce concentration or correct an allocation problemMay create a taxable gain or loss unrelated to harvestingWhen the investment no longer fits the plan regardless of taxes
Donate appreciated assetsMay support charitable goals while avoiding a direct sale in some circumstancesRequires an eligible recipient, documentation, and attention to valuation and holding rulesWhen charitable giving is already part of the financial plan

A falling price alone is not a signal to harvest. Ask four questions: Is the loss large enough to justify action? Is the original investment thesis still valid? Can the portfolio retain comparable exposure? And does the transaction improve the expected after-tax outcome after costs and risks?

Also distinguish a tax benefit from a permanent economic benefit. Selling at a loss and buying a replacement may defer taxation rather than eliminate it, particularly if the replacement later appreciates. That deferral can still be useful, but it should be evaluated alongside future basis, expected holding period, and rebalancing needs.

Replacement-investment template

Use this record for each proposed trade:

  • Security sold: ticker, fund or company name, asset class, and tax lots.
  • Reason for sale: tax-loss action, allocation change, or both.
  • Replacement: ticker, asset class, index or strategy, and expected holding period.
  • Exposure check: equity or bond category, geography, sector, duration, credit quality, and concentration.
  • Distinctness check: why the replacement is not substantially identical to the security sold.
  • Cost check: spread, commission, expense ratio, liquidity, and any fund-specific charges.
  • Wash-sale controls: prior purchases, pending orders, automatic investments, and review-end date.
  • Follow-up: date to reassess the replacement and updated basis.

When to revisit

Revisit this guide monthly or quarterly during normal portfolio maintenance, and immediately after a large market decline or a major change in your holdings. Perform a deeper review before year-end, before making a large taxable sale, and before filing taxes. Recheck federal thresholds, wash-sale guidance, state-tax treatment, brokerage deadlines, and representative ETF expense ratios for the relevant tax year; these details can change.

Return to the process after changing brokers, opening a retirement account, starting dividend reinvestment, marrying or separating finances, receiving an inheritance, or adding a concentrated employer-stock position. These events can expand the number of accounts and transactions that need to be checked.

Your next action is simple: export current taxable-account holdings, create a tax-lot ledger, list realized gains and losses, and mark every automatic purchase. Then review candidate losses against your target allocation and record a replacement plan before trading. If the rules, account structure, or tax consequences are unclear, pause and obtain professional tax advice. For related risk controls, review the portfolio review checklist and the guide to measuring portfolio performance.

Related Topics

#tax-loss harvesting#capital gains#portfolio taxes#ETFs#year-end investing
I

Investments.news Editorial Team

Senior SEO Editor

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.