Tax-Loss Harvesting for Traders Guide
Tax-loss harvesting rules for traders: $3,000 deduction limit, wash sale 61-day window, Section 475(f) alternative, and a worked example.
Buy Now - ₹6,599 for Lifetime Buy Now - $159 for Lifetime7-day money-back guarantee
Tax-loss harvesting lets traders offset capital gains with realized losses, with up to $3,000 deductible against ordinary income annually.
Key Rules
$3,000 Annual Deduction Against Ordinary Income
After offsetting all capital gains, any remaining net capital loss can be deducted against ordinary income up to $3,000 per year, or $1,500 if married filing separately. Per IRS Publication 550, this cap has not been indexed to inflation since 1978.
Indefinite Loss Carryforward
Net capital losses above the $3,000 cap carry forward indefinitely for individuals until fully used. Corporations face a 5-year carryforward limit, but retail traders do not.
Loss-Ordering Waterfall
Short-term losses first offset short-term gains, long-term losses first offset long-term gains, then any excess crosses over. Remaining net loss then hits the $3,000 ordinary-income cap before carrying forward.
Wash Sale 61-Day Window
Per IRS Publication 550, a loss is disallowed if you buy a substantially identical security within 30 days before or 30 days after the sale, a 61-day window in total. The disallowed loss is added to the basis of the replacement shares.
Spouse and IRA Wash Sale Trap
The wash sale rule extends to purchases made by your spouse or in any IRA you control. Buying the same ticker in your Roth IRA while harvesting in your taxable brokerage permanently disallows the loss, since IRA basis adjustments produce no tax benefit.
Practical Examples
A trader has $18,000 in realized short-term gains from AAPL and TSLA swing trades, plus unrealized losses of $12,000 in META (cost $520, now $400) and $4,000 in NVDA (cost $140, now $120). On December 20, they sell both losers and realize $16,000 in losses, cutting taxable short-term gains from $18,000 to $2,000. At a 37% marginal rate, that saves $5,920. They buy QQQ as a tech-exposure substitute and wait until January 21 to rebuy META or NVDA.
A trader with no capital gains but $15,000 in realized losses deducts $3,000 against ordinary income this year and carries $12,000 forward. At a 32% federal bracket plus 3.8% Net Investment Income Tax, the $3,000 deduction saves $1,074 in taxes.
A trader sells SPY at a loss on December 15 and buys IVV the same day. Because SPY and IVV both track the S&P 500, the IRS has not formally deemed them substantially identical, but Revenue Ruling 2008-5 shows the agency will scrutinize this. Swapping to QQQ, IWM, or an equal-weight ETF like RSP sits on safer ground.
Who This Applies To
All US taxpayers with capital gains from trading stocks, options, ETFs, futures, or other securities. Both short-term and long-term losses can be harvested, though they must first offset gains of the same type.
How JournalPlus Helps
JournalPlus tracks realized and unrealized P&L by tax lot, flags positions with harvestable losses before the December 30 trade-date cutoff, and warns when a replacement purchase falls inside the 61-day wash sale window. Short-term and long-term buckets stay separated so the loss-ordering waterfall is visible at a glance.
What is tax-loss harvesting?
Tax-loss harvesting is the practice of intentionally selling securities at a realized loss to offset capital gains and reduce ordinary income, up to $3,000 per year for US individuals under IRC Section 1211(b). For active traders, this is one of the few legal ways to convert a losing position into measurable after-tax alpha. According to Vanguard research on direct indexing, systematic harvesting generates 0.4% to 1.3% in annual tax alpha for taxable accounts, depending on market volatility and tax bracket.
The strategy is underused by retail traders. A trader in the top federal bracket of 37% plus the 3.8% Net Investment Income Tax pays 40.8% on short-term gains. A single $10,000 harvested short-term loss, when used to offset short-term gains, saves $4,080 in federal tax alone. The same loss, if only deductible against ordinary income and capped at $3,000, saves $1,110 that year and carries the remaining $7,000 forward.
The Loss-Ordering Waterfall
The IRS requires losses to be netted in a specific order on Schedule D:
- Short-term losses offset short-term gains first.
- Long-term losses offset long-term gains first.
- If one bucket has net loss and the other has net gain, the excess loss crosses over.
- Up to $3,000 of remaining net loss is deducted against ordinary income, or $1,500 for married-filing-separately.
- Any amount above $3,000 carries forward indefinitely, retaining its original short-term or long-term character.
Worked Example: December Harvesting
A swing trader has a $100,000 account. Through December 19, they have realized $18,000 in short-term gains from AAPL and TSLA round-trips. They are holding two losers:
- META bought at $520, now trading at $400, unrealized loss of $12,000
- NVDA bought at $140, now trading at $120, unrealized loss of $4,000
On December 20, they sell both and realize a $16,000 short-term loss. Their net short-term gain for the year drops from $18,000 to $2,000. At a 37% marginal rate, the tax bill falls by $5,920. To maintain tech exposure during the 61-day wash sale window, they buy QQQ the same day. The earliest date they can rebuy META or NVDA without triggering a wash sale is January 21.
Net result: $5,920 in tax savings for roughly 31 days of swapping individual-stock exposure for sector-ETF exposure.
The Wash Sale Rule in Detail
The wash sale rule, codified in IRC Section 1091, is where most retail harvesting plans break down. The 61-day window runs 30 days before the sale, the day of the sale, and 30 days after. Per IRS Publication 550, any purchase of substantially identical securities in that window disallows the loss for that tax year. The disallowed amount is added to the basis of the replacement shares and the holding period tacks on, so the benefit is deferred, not eliminated, for taxable accounts.
The Spouse and IRA Trap
This is the most expensive error traders make. Revenue Ruling 2008-5 confirms that a purchase of substantially identical shares by your spouse or in any IRA you control triggers the wash sale rule. Unlike a taxable wash sale, where the disallowed loss flows into the replacement shares’ basis, an IRA basis adjustment produces no future tax deduction. The loss is gone permanently. Traders who harvest in their brokerage while their Roth IRA auto-invests in the same ticker lose the entire tax benefit.
Substantially Identical: The Gray Zone
The IRS has never formally ruled on ETFs that track the same benchmark from different providers. Swapping SPY for VOO is risky because both mirror the S&P 500 with near-identical methodology. Safer swaps include:
- SPY to RSP (equal-weight S&P 500, different methodology)
- QQQ to XLK (Nasdaq-100 to technology sector)
- A single mega-cap stock to a sector ETF with concentrated exposure
- Individual stock to another name in the same industry that you already believe in fundamentally
When confidence is low, wait the full 31 days in cash or Treasury-bill ETFs.
Section 475(f): The Professional Alternative
Traders who qualify for IRS Trader Tax Status can file a Section 475(f) mark-to-market election and bypass the $3,000 cap entirely. Under 475(f), trading gains and losses become ordinary income, the wash sale rule no longer applies to trading activity, and all positions are marked to market on December 31. The election must be filed by April 15 of the year it takes effect, using IRS Form 3115 to request the accounting-method change.
The trade-off is real. Any gains that would have qualified for long-term capital gains rates (up to 20%) instead get taxed as ordinary income (up to 37%). The election is a one-way door without IRS approval to revoke. It generally makes sense for full-time short-term traders whose annual loss potential exceeds $3,000 by a wide margin, and rarely for part-time swing traders who hold positions longer than a quarter.
Tax-Lot Selection
Specific-lot identification (SpecID) versus FIFO is the quietest lever in harvesting. Most brokers default to FIFO, which sells the oldest lots first. For harvesting, SpecID lets you cherry-pick the highest-cost lots and maximize the realized loss on each sale. Before December, set the default cost-basis method to SpecID in your broker account and verify that the 1099-B reconciles to your own records, because broker wash sale reporting often misses cross-account violations.
Options and Section 1256 Contracts
Equity options follow the same short-term and long-term rules as stocks, with wash sales applying across the option chain in subtle ways. Selling an AAPL call at a loss and buying an AAPL put inside 30 days can trigger the rule because the put is part of the same economic position.
Section 1256 contracts, which include broad-based index options (SPX, NDX, RUT), futures, and futures options, receive 60/40 treatment: 60% of gains and losses are taxed at long-term rates, 40% at short-term, regardless of holding period. Section 1256 positions are automatically marked to market on December 31, so losses auto-realize without a trade. Wash sale rules do not apply to 1256 contracts at all.
December Checklist
By December 15, run through the following:
- Pull YTD realized P&L, split by short-term and long-term buckets.
- Scan all unrealized positions for losses of $500 or more.
- Cross-check every harvestable lot against purchases in the past 30 days across your taxable account, your spouse’s accounts, and every IRA you control.
- Pick replacement securities that are correlated but not substantially identical.
- Execute by December 30 for equities to leave a settlement buffer, and by December 31 for Section 1256 contracts.
- Document every decision, including the replacement logic, for the CPA or your own records.
Without systematic tracking, traders routinely trigger wash sales through forgotten IRA auto-contributions or leave $2,000 to $5,000 in harvestable losses unrealized because they could not surface them in time.
This content is for educational purposes only and does not constitute legal or tax advice. Consult a qualified tax professional for advice specific to your situation.
Frequently Asked Questions
What is tax-loss harvesting?
Tax-loss harvesting is the practice of selling securities at a realized loss to offset capital gains and reduce taxable income. US traders can deduct net losses against gains without limit, plus up to $3,000 per year against ordinary income, with any remaining loss carrying forward indefinitely under IRC Section 1211.
How long do I have to wait to rebuy a stock after harvesting a loss?
At least 31 days. The wash sale rule covers 30 days before the sale, the day of the sale, and 30 days after, totaling 61 days per IRS Publication 550. If you rebuy inside that window, the loss is disallowed and added to the new purchase's cost basis. Most traders bridge the window with a correlated but not substantially identical ETF, like using QQQ to keep tech exposure after harvesting a loss in a single mega-cap tech stock.
Are SPY and VOO considered substantially identical for wash sale purposes?
The IRS has never formally ruled on ETFs that track the same index from different providers, so this is a gray zone. Most tax attorneys treat SPY and VOO as risky to swap because both track the S&P 500 with near-identical methodology. A safer swap uses an ETF on a different index, such as IVV to RSP (equal-weight) or SPY to QQQ (Nasdaq-100), or a total-market fund like VTI. When in doubt, wait the 31 days.
Does the wash sale rule apply to my spouse's account or my IRA?
Yes. Per Revenue Ruling 2008-5, a purchase of substantially identical shares in your IRA, your spouse's taxable account, or any IRA you control triggers the wash sale rule and permanently disallows the loss. Unlike a taxable wash sale, where the disallowed basis flows into the replacement shares, an IRA basis adjustment produces no future tax deduction. The loss is gone permanently. This is the most expensive mistake retail traders make when harvesting across household accounts.
Can I skip the $3,000 cap with a Section 475(f) election?
Yes, if you qualify as a trader in securities under the IRS Trader Tax Status rules. Section 475(f) mark-to-market election treats all trading gains and losses as ordinary income, removes the $3,000 limit, and exempts you from wash sale rules entirely. The trade-off is that gains also become ordinary income, losing long-term capital gains rates. The election must be filed by April 15 of the year it takes effect, using IRS Form 3115 for the accounting-method change.
When is the last day to harvest losses for the tax year?
For regular stocks and ETFs, December 31 is the final trade date because the IRS uses trade date, not settlement date, to determine the tax year. Most traders execute by December 30 to leave a settlement buffer. For options and Section 1256 contracts, the same trade-date rule applies. Year-round harvesting is generally superior to a December rush because market volatility creates windows throughout the year and you avoid end-of-year selling pressure in crowded names.
Do options and futures losses harvest the same way as stock losses?
Partially. Equity options follow the same short-term and long-term capital gains rules as stocks. Section 1256 contracts, which include broad-based index options, futures, and futures options, get 60/40 treatment: 60% of gains and losses are taxed at long-term rates and 40% at short-term rates regardless of holding period. Section 1256 contracts are also marked to market on December 31, so losses auto-realize without a sale. Wash sale rules do not apply to Section 1256 contracts.
Stay Compliant With Your Journal
JournalPlus helps you maintain the records you need for tax reporting and regulatory compliance.
Buy Now - ₹6,599 for Lifetime Buy Now - $159 for Lifetime7-day money-back guarantee