Tax-loss harvesting means selling losing stocks or funds in a taxable brokerage account to realize a capital loss that offsets gains from other sales. Investors do this work in December to place the loss in the current tax year. It fits investors who already sold winners and face capital gains. The harvested loss first offsets those gains, then can help in other ways.
Table of Contents
- How do losses offset gains?
- What happens when losses exceed gains?
- What triggers a wash sale?
- How do you finish before the deadline?
How do losses offset gains?
The IRS requires netting by character, as explained in IRS Publication 550 guidance. Short-term losses offset short-term gains first. Long-term losses offset long-term gains first. Any remainder then combines into one net gain or loss.
A short-term remainder can offset a long-term remainder. The result sets whether you owe tax on a gain or hold a usable loss. For example, a $4,000 short-term loss offsets a $5,000 short-term gain first. You face only $1,000 of short-term gain before other items combine. Character matters because it controls this order.
What happens when losses exceed gains?
The IRS allows a limited deduction against ordinary income, described in the IRS Topic 409 overview. You may deduct up to $3,000 of excess net loss per year. Married filing separately lowers the limit to $1,500.
You can carry any unused balance forward indefinitely. That carryforward can offset future gains or income. A large December loss can therefore help for several years.
What triggers a wash sale?
The wash-sale rule disallows the current-year loss if you buy the same or a substantially identical stock, contract, or option within 30 days before or after the sale. The window covers 61 days including the sale date. The test reaches across all of your accounts plus a spouse's accounts and IRAs, according to Fidelity's tax guide.
A December loss sale followed by an early-January repurchase still triggers disallowance. Automatic dividend reinvestment can also cause a violation. A disallowed loss in a taxable account is generally deferred through a higher basis in the replacement shares. Replacement shares in a traditional or Roth IRA get no basis increase, so the deduction is permanently lost.
How do you finish before the deadline?
The sale must occur by trade date on Dec. 31, not settlement date, as noted in Schwab's year-end tax tips. A trade placed on the last trading day counts.
A late order slips into next year. Check your confirmation for trade date, security name, and quantity. Save the record for tax filing and for tracking any carryforward.
- Confirm the position sits in a taxable brokerage account.
- Sell the losing stock or fund by its Dec. 31 trade date.
- Avoid the same or substantially identical security across every account for 61 days.
- Buy a similar-but-not-identical security if you want market exposure.