Tax-loss harvesting can help investors use portfolio losses more deliberately, but it is not an automatic tax win. This guide explains when selling a losing investment may make sense, how to estimate the potential benefit after costs, which wash-sale and account rules to check, and how to complete a practical year-end investment tax review.
Overview
Tax-loss harvesting is the process of selling an investment that is worth less than its tax basis and using the realized loss to offset eligible investment gains. The investor may then reinvest the proceeds in a replacement holding that maintains a similar portfolio allocation without being considered substantially identical under applicable rules.
The strategy is most relevant in a taxable brokerage account. Selling at a loss inside a tax-advantaged retirement account generally does not create the same reportable capital loss because those accounts follow different tax treatment. Investors should also distinguish between an investment loss shown on a statement and a loss that has actually been realized through a completed sale.
A useful decision is not simply, “Do I have a losing position?” Instead ask:
- Do I have realized or expected capital gains that the loss could offset?
- Could the loss provide an allowable offset against other income under the rules that apply to me?
- Will selling disrupt my asset allocation or investment plan?
- Can I choose a suitable replacement without creating a wash-sale problem?
- Are commissions, bid-ask spreads, fund expenses, taxes, and market-movement risks small relative to the expected benefit?
Tax-loss harvesting changes the timing and character of taxable income; it does not make an investment loss disappear. A replacement investment may also have a different cost basis, tracking error, risk profile, or future tax outcome. For that reason, the tax benefit should be considered alongside portfolio strategy rather than treated as the primary reason to trade.
How to estimate
Begin with the position’s adjusted tax basis, current sale value, and all transaction costs. A simplified estimate is:
Realized loss = adjusted tax basis − net sale proceeds
For a gain, reverse the order: the sale proceeds minus adjusted basis equals the realized gain. The adjusted basis may differ from the amount originally invested because of reinvested distributions, corporate actions, prior sales, return of capital, or other adjustments.
Next, estimate how the loss could be used. The broad sequence is generally:
- Match eligible losses against eligible realized gains, subject to the rules for the applicable jurisdiction and tax year.
- Consider whether any remaining loss can offset other types of income under the rules that apply to the taxpayer.
- Track any unused amount that may be carried forward, if permitted.
- Subtract trading costs and account for the possibility that a replacement security could move unfavorably while the trade is being completed.
A basic planning estimate can be expressed as:
Estimated tax value = usable loss × applicable marginal tax rate − transaction and implementation costs
This is only an approximation. The applicable rate can depend on the type of gain, holding period, income level, filing status, state or local rules, and other taxable income. A tax professional can help determine whether a loss is currently usable or likely to be carried forward.
| Item to compare | What to check | Why it matters |
|---|---|---|
| Realized gains | Gains already reported or expected from sales during the tax year | A loss may offset eligible gains, but classification and jurisdiction rules matter |
| Ordinary-income offsets | Whether an unused loss can reduce other income under the applicable rules | The allowance may be limited, delayed, or unavailable in some circumstances |
| Carryforwards | Prior-year losses and any new amount that cannot be used this year | A current sale may have value over multiple tax years rather than immediately |
| Replacement investment | Allocation, correlation, fees, liquidity, tracking difference, and wash-sale risk | A tax benefit is less useful if the replacement changes the portfolio’s intended exposure |
| Transaction costs | Commissions, spreads, fund charges, taxes, and possible price movement | Costs reduce or can outweigh the estimated tax value |
Inputs and assumptions
Before placing an order, gather a complete position-level record. Useful inputs include the security name and identifier, purchase date, tax lots, adjusted basis, current market value, planned sale proceeds, holding period, and any expected distributions. If a position was bought in multiple lots, consider whether the broker permits specific-lot identification and whether the selected lots match the intended tax result.
Review the wash-sale rule carefully. In the United States, a loss can be disallowed or deferred when the taxpayer acquires substantially identical securities within the relevant period around the sale. The review should include purchases in other taxable accounts, automatic dividend reinvestment, recurring investment plans, and transactions by a spouse where applicable. Rules may also differ for retirement accounts and for assets such as options or other derivatives. Do not assume that buying a different fund with a similar objective is automatically safe, or that a different ticker means the investments are not substantially identical.
For a replacement, focus first on the portfolio exposure you need: broad-market equities, a particular region, bonds of a certain duration, or another defined allocation. A temporary substitute may reduce time out of the market, but it should be assessed for liquidity, volatility, expenses, credit risk, and tracking behavior. Tax planning should not turn a diversified portfolio into a concentrated one.
This article uses a general U.S.-oriented framework for illustration, not personalized tax advice. Tax thresholds, filing deadlines, reporting forms, wash-sale guidance, state rules, and treatment of specific assets can change. Investors outside the United States should use local rules, and all investors should verify the current guidance for the relevant tax year.
Worked examples
Example 1: Loss offsetting a gain. Suppose an investor has an adjusted basis of $12,000 in one holding and sells it for $9,000 after costs. The estimated realized loss is $3,000. If the investor also has $3,000 of eligible realized gains, the loss may reduce the net taxable gain, subject to the applicable rules. The tax value is not automatically $3,000; it is the usable loss multiplied by the relevant tax rate, less trading costs and any other consequences.
Example 2: Loss with no current gains. An investor sells a position with a $2,000 loss but has no eligible gains for the year. The loss may still have value if the applicable rules permit an offset against other income or a carryforward. The investor should record the amount, confirm how it appears on tax documents, and avoid assuming that the full loss will reduce current-year tax.
Example 3: Similar exposure without an identical replacement. An investor wants to reduce a concentrated position in one fund after a decline but retain exposure to the same broad asset class. The investor could compare a replacement fund with a different mandate, index, issuer, or portfolio construction. The comparison should include the potential for a wash sale, differences in exposure, fees, bid-ask spread, and the risk that the replacement moves differently before the original position can be reconsidered.
In each example, the tax estimate is only one input. An investor who expects to hold the original position for many years may decide that avoiding a taxable sale is more important than harvesting a modest loss. Another investor may value rebalancing, reducing concentration, or using gains elsewhere in the portfolio. The better decision depends on the investment plan and the complete tax picture.
When to recalculate
Revisit the analysis after a major market decline, before planned year-end sales, when a large gain is realized, after receiving updated brokerage tax-lot data, and when tax rules or account circumstances change. A loss that appears useful in one month may become less attractive after the position recovers, the portfolio allocation changes, or transaction costs rise.
Use this year-end review checklist:
- Download current tax-lot and realized-gain reports from every taxable account.
- List unrealized losses and gains, including the holding period for each lot.
- Identify planned sales, distributions, rebalancing trades, and charitable transfers.
- Estimate the usable loss after checking gains, income-offset limits, and carryforwards.
- Screen all accounts for purchases that could create a wash-sale issue, including automatic reinvestment.
- Compare replacement investments for exposure, diversification, cost, liquidity, and risk.
- Confirm the trading deadline with the broker and allow time for records to update; do not rely on an assumed deadline.
- Save trade confirmations, basis records, and the reasoning behind the decision for tax preparation.
- Ask a qualified tax professional about complex lots, derivatives, partnership interests, digital assets, foreign holdings, or significant carryforwards.
Tax-loss harvesting works best as part of a repeatable portfolio review, not as a last-minute reaction to headlines. Pair the checklist with a broader portfolio review, and reassess the replacement holding when the next tax year begins. The goal is to improve after-tax outcomes while preserving a disciplined asset-allocation plan.