How to Harvest Tax Losses in Your Stock Portfolio Before December 31

Cut your 2025 tax bill by selling losing stocks by Dec. 31, avoiding wash sales, and carrying leftover losses forward.

To harvest tax losses before December 31, sell losing stocks or funds in a taxable brokerage account on or before December 31. Use the realized loss to offset realized capital gains and replace the holding with one that is not substantially identical. Tax-loss harvesting means selling a loser to realize a capital loss that offsets gains dollar-for-dollar, according to Fidelity's guide to capital-gains taxes. The sale creates a tax benefit even when you keep money invested.

Table of Contents

Which accounts and losses qualify

Only sales in a taxable brokerage account can produce a deductible loss. Schwab notes that losses inside a 401(k), Traditional IRA, Roth IRA, or other tax-deferred account cannot be deducted.

Focus on positions with a clear loss after a weak quarter or year. You must actually sell to realize the loss, since falling prices alone create no tax benefit.

How losses offset gains and income

The IRS requires you to net short-term losses against short-term gains and long-term losses against long-term gains, then combine the results. You report each sale on Form 8949 and summarize on Schedule D. If losses exceed gains, you may deduct up to $3,000 of the excess against ordinary income each year, or $1,500 if married filing separately.

Leftover losses carry forward indefinitely and offset gains first in later years, according to the IRS in Topic No. 409 on capital gains and losses. For example, $10,000 in realized gains and $13,000 in realized losses leaves a $3,000 net loss. That full $3,000 can offset ordinary income this year, while any larger remainder moves forward.

How do you avoid a wash sale?

The wash-sale rule disallows the loss if you buy substantially identical stock or securities from 30 days before to 30 days after the sale. The IRS describes this 61-day window in Publication 550. A disallowed loss is added to the basis of the replacement shares rather than disappearing.

A purchase inside an IRA is harsher, because that loss becomes permanently disallowed. To stay clear, wait more than 30 days before repurchasing the same security. Many investors instead buy a peer stock or a broader fund that keeps market exposure without being substantially identical.

What should you finish before December 31?

Review realized gains, review unrealized losses, and pick sales that match those gains. Leave room for settlement delays, holiday closures, and mutual-fund cutoff times. The trade date controls the tax year, so a stock sale executed December 31 counts for that year even though cash settles in January.

  • List realized stock and fund gains for the year.
  • Identify taxable-account losers worth exiting.
  • Choose replacements that are similar but not substantially identical.
  • Turn off automatic dividend reinvestment in the sold security.
  • Execute the loss sale on or before December 31.

You Might Also Like