Coverledger

Tax-Loss Harvesting Explained: Losses, Wash Sales, and Tradeoffs

Learn how tax-loss harvesting works, what the wash-sale rule can undo, and when transaction costs or portfolio changes make a sale unattractive.

Taxes & Everyday MoneyBy The Coverledger Editorial TeamPublished October 22, 20265 min read
Advertisement

Tax-loss harvesting means selling an investment at a loss in a taxable account to offset capital gains and, within limits, ordinary income. It can reduce current taxes, but wash-sale rules, trading costs, and changes to your portfolio can erase the benefit. Evaluate the tax result and the replacement investment before placing the trade.

A red number on a brokerage screen is only a starting point. You need the tax basis of the shares being sold, the gains and losses elsewhere on your return, and a plan for what the account will hold afterward. The best tax result is not always the best financial decision.

Start with realized gains and the shares you would sell

Taxable accounts track what you paid for an investment, adjusted where required, as its tax basis. Selling below that basis can create a capital loss. A price decline by itself generally remains unrealized until you dispose of the investment.

Review gains and losses already realized during the year, including activity at other brokers. Separate short-term and long-term items because the netting rules consider those categories. A tax professional can help when the account includes unusual securities, inherited holdings, or incomplete records.

If you own shares bought at different times, the chosen tax lots can change the result. Check the broker's lot-selection method and confirmation process before selling. Do not assume the shares with the largest displayed loss are the shares your order will dispose of.

Advertisement

Follow the loss through the tax calculation

Capital losses first enter the capital gain and loss netting process. If the result is a net capital loss, you may use up to $3,000 against ordinary income for the year, or $1,500 if married filing separately. The remaining loss carries forward under the applicable rules.

That limit is not a refund amount. A deduction reduces income subject to tax, and its value depends on your tax circumstances. Losses used to offset gains also have a value that depends on the gains being offset.

StageWhat to determineWhy it matters
Before sellingBasis and holding period of the selected sharesEstablishes the potential loss and its category
Across accountsRealized gains, losses, and prior carryforwardsDetermines the broader netting result
After nettingWhether a net capital loss remainsDetermines possible ordinary-income use
Annual returnApplicable deduction and carryforwardPrevents treating the entire loss as a current deduction
Future yearsCarryforward and replacement basis recordsPreserves the history needed for later reporting

Read the official treatment in IRS Publication 550, especially when carryforwards or adjusted basis are involved. The account's year-end summary helps, but it does not replace a return-wide review.

Scan both sides of the wash-sale window

A loss is disallowed under the wash-sale rule if you buy a substantially identical security within 30 days before or after the loss sale. Looking only at purchases after the sale misses part of the window.

Review automatic investments and dividend reinvestments before trading. A small reinvestment can affect the treatment of part of the loss. Check other accounts and coordinate with a spouse where relevant; the broker may not see every transaction that matters to your return.

Retirement-account purchases also deserve attention. Buying the replacement in an IRA does not provide a simple workaround and can produce unfavorable tax treatment. Ask a tax professional to review cross-account activity before assuming the loss will remain deductible.

The wash-sale rule concerns substantially identical securities, not merely repurchasing the exact ticker. Whether a proposed replacement qualifies can require judgment. Different names do not automatically establish that investments are sufficiently different.

Advertisement

Choose the replacement before committing to a sale

Decide how much exposure to the investment you want to keep and why. A replacement may help maintain a desired allocation, but it can behave differently. Compare holdings, strategy, fees, risk, and concentration rather than choosing only by label.

Alternatively, you might hold cash temporarily. That creates a different risk: the market can rise while you are out of the position. Avoid presenting a tax trade as costless when it changes what the portfolio owns.

Write the intended purchase and any reinvestment changes into your plan before selling. After the trade, check that automated contributions will not undo the intended tax result. If you cannot identify a suitable replacement or tolerate the time out of the investment, skipping the harvest may be sensible.

Recognize situations where harvesting adds little value

The benefit may be limited when you have few gains to offset, an existing loss carryforward, or little current tax liability. A new carryforward may still have future value, but that is different from an immediate cash saving.

Compare the likely benefit with bid-ask spreads, transaction charges, advisory costs, and the work of tracking the sale. A small loss may not justify a portfolio change you would otherwise reject. Some transactions are better deferred until you have a clear investment reason.

Harvesting can also defer taxes rather than remove them. Selling and buying a replacement at a lower cost can leave a lower basis and a larger potential gain later. Consider your future plans and possible tax treatment without assuming future tax rates are known.

Advertisement

Coordinate the trade with the rest of year-end planning

Use the year-end tax moves checklist to place a possible harvest alongside withholding, contributions, and charitable giving. Do not sell an appreciated holding for a donation strategy and harvest losses elsewhere without considering how the decisions interact.

The loss calculation is separate from choosing the standard deduction or itemizing. Capital loss treatment is not simply another itemized deduction. Keep those decisions distinct when estimating your return.

If new savings are available, review which retirement accounts to fund before assuming a taxable-account trade is the most useful tax action. Changing payroll or account funding may address a different planning need with less portfolio disruption.

Keep enough records to explain the result later

Retain the original purchase records, sale confirmation, selected lots, replacement purchases, and any wash-sale adjustments. Check the broker's tax forms against your cross-account records. A form without a wash-sale flag does not prove the rule cannot apply.

Tax-loss harvesting decisions require individual review; this article provides general information, not tax or legal advice. Before a complex or material sale, ask a qualified tax professional to review basis, the wash-sale window, and the expected return-wide benefit; use a licensed investment professional for portfolio advice when needed.

Advertisement

Frequently asked

Can an investment be down on my screen without producing a tax loss?

Yes. An unrealized decline generally does not become a deductible capital loss merely because it appears on an account statement. The tax result depends on the position, basis, and disposition.

Does tax-loss harvesting work the same inside a retirement account?

No. Trades inside tax-advantaged retirement accounts generally do not generate currently deductible capital losses in the way taxable-account sales can.

Should I sell my best investment just because another holding has a loss?

Not solely for that reason. Realizing a gain is a separate portfolio and tax decision, and a loss does not make every gain-producing sale desirable.

What if I discover a wash sale after filing?

Collect the purchase and sale records and consult a tax professional about corrected reporting or an amended return. Do not simply delete the replacement purchase from your records.

Sources

  1. IRS Publication 550: Investment income and expenses
  2. Investor.gov: Investor education
Advertisement
Advertisement