Time: 60-90 minutes to learn + 30 min per harvesting session Cost: $0 (can save thousands in taxes) Platform: Ape AI (askape.com) + Your brokerage + Tax software Best for: Investors with taxable brokerage accounts seeking to minimize tax burden Companion: Money (for identifying loss opportunities) + Sage (for tax strategy)
What You’ll Learn
By the end of this workflow, you’ll be able to:- ✅ Understand what tax-loss harvesting is and how it saves money
- ✅ Identify opportunities to harvest losses in your portfolio
- ✅ Execute tax-loss harvesting trades correctly
- ✅ Avoid wash sale violations (critical IRS rule)
- ✅ Carry forward losses to future tax years
- ✅ Combine tax-loss harvesting with portfolio rebalancing
- ✅ Calculate the real dollar value of tax savings
What is Tax-Loss Harvesting?
The Basics
Tax-loss harvesting is selling investments at a loss to offset capital gains (and potentially ordinary income) for tax purposes. Simple Example: Without Tax-Loss Harvesting:- You sell Stock A for $10,000 profit (capital gain)
- You owe taxes: 2,000 tax bill
- Net profit: 2,000 = $8,000
- You sell Stock A for $10,000 profit (capital gain)
- You also sell Stock B for $10,000 loss (capital loss)
- Net capital gain: 10,000 = $0
- You owe taxes: $0
- Tax savings: $2,000!
- You immediately buy a similar (but not identical) stock to replace Stock B
- You stay invested while harvesting the tax benefit
How It Works
Step 1: Identify positions with losses- Stock bought at 70 = $30 loss per share
- Sell to realize the loss for tax purposes
- Buy a different but similar stock/ETF
- Maintain market exposure (stay invested)
- Report loss on tax return
- Offsets capital gains dollar-for-dollar
- Can also offset $3,000 of ordinary income per year
- Excess losses carry forward to future years
Tax Rules You Must Know
Rule #1: Capital Gains Offset
Capital losses offset capital gains in this order: 1. Short-term losses offset short-term gains first- Short-term = held <1 year
- Taxed as ordinary income (22-37% tax brackets)
- Long-term = held >1 year
- Taxed at preferential rates (0%, 15%, or 20%)
- Remaining short-term losses offset long-term gains
- Remaining long-term losses offset short-term gains
- Maximum $3,000 per year
- Reduces W-2 wages, interest income, etc.
- No expiration!
- Use in future years following same rules
- Short-term capital gains: $15,000 (from day trading)
- Long-term capital gains: $10,000 (from selling stock held 2 years)
- Harvested losses: $20,000 long-term
- 10,000 long-term gain → $0 long-term gain
- Remaining 10,000 short-term gain → $0 short-term gain
- Remaining $0, no ordinary income offset
- Total capital gains: 25,000 without harvesting)
- Short-term gains tax saved: 2,400
- Long-term gains tax saved: 1,500
- Total tax savings: $3,900!
Rule #2: The Wash Sale Rule (CRITICAL!)
IRS Wash Sale Rule:You cannot claim a tax loss if you buy a “substantially identical” security within 30 days before or after the sale.The 30-Day Rule:
- 30 days BEFORE the sale
- 30 days AFTER the sale
- Total: 61-day window
- Dec 1: Sell 100 shares VTI at a loss
- Dec 10: Buy 100 shares VTI (9 days later)
- Result: WASH SALE! Loss disallowed, no tax benefit
- Dec 1: Sell 100 shares VTI at a loss
- Dec 1: Buy 100 shares SCHB or ITOT (similar but not identical)
- Result: Loss allowed, stay invested, no wash sale
- Can’t sell VTI and buy VTI (obviously)
- Can’t sell Apple (AAPL) and buy Apple (same stock)
- VTI (Vanguard Total Market) and VT (Vanguard Total World) = Different (VT includes international)
- VTI and VXUS = Different (one is U.S., one is international)
- VTI (Total Market) → SCHB (Schwab Total Market) = Different providers, OK!
- VTI (Total Market) → VOO (S&P 500) = Different index, OK!
- SPY (S&P 500 ETF) → IVV (S&P 500 ETF) = Different providers but SAME index, risky
- Apple → Microsoft = Different companies, OK
- Coca-Cola → PepsiCo = Different companies, OK
- ExxonMobil → Chevron = Different companies, OK
- BND (Total Bond) → AGG (Aggregate Bond) = Similar but different, usually OK
Rule #3: Loss Limitation ($3,000 per year)
You can only deduct $3,000 of net capital losses against ordinary income per year. Example: Scenario:- Capital gains: $5,000
- Capital losses: $25,000
- Net capital loss: $20,000
- 5,000 gains → $0 capital gains
- $3,000 loss offsets ordinary income (W-2 wages)
- Remaining $12,000 loss → Carries forward to next year
- You have $12,000 loss carryforward
- New capital gains in 2025: $8,000
- 8,000 gains → $0 gains
- Remaining $4,000 carryforward available
- Can use $3,000 against ordinary income
- $1,000 carries to 2026
When to Harvest Losses
Scenario #1: Market Crash / Correction
Best time for tax-loss harvesting = Market crashes Example (December 2022):- Market down 20-30% for the year
- Many positions showing significant losses
- Perfect time to harvest
- Identify ALL positions with losses
- Harvest as many as possible (up to your needs)
- Immediately replace with similar ETFs
- Use harvested losses against 2022 gains (or carry forward)
- 50,000 in losses (can offset gains for years!)
Scenario #2: Rebalancing
Combine rebalancing with tax-loss harvesting Example: Target allocation: 60% stocks, 40% bonds Current allocation: 55% stocks, 45% bonds (stocks underperformed) Traditional rebalancing:- Sell bonds, buy stocks (could trigger gains on bonds)
- Sell losing stock positions (harvest losses)
- Immediately buy different stock ETFs
- Use harvested losses to offset bond gains
- Result: Rebalanced AND reduced taxes!
Scenario #3: End-of-Year Planning
December = Tax-loss harvesting season Why December?- Know your gains for the year
- Can calculate how much loss to harvest
- Offsets gains realized earlier in the year
- November: Review year-to-date capital gains
- November: Identify positions with losses
- December 1-15: Execute tax-loss harvesting trades
- December 31: Ensure 30-day wash sale window doesn’t cross into new year (if buying back original)
Scenario #4: Taking Profits
Whenever you sell winners, harvest losses to offset Example: Plan: Sell Apple stock (bought at 200 = $15,000 gain) Without harvesting:- 3,000 tax
- Identify stocks with $15,000 in losses
- Sell those too (harvest losses)
- Replace with similar stocks
- Net capital gain: 15,000 = $0
- Tax savings: $3,000!
How to Execute Tax-Loss Harvesting
Step 1: Identify Loss Opportunities
Use your brokerage: Fidelity:- Go to Accounts → Positions
- Look for “Unrealized Gain/Loss” column
- Sort by “Unrealized Loss” (most negative first)
- Identify positions down 10%+
- Portfolio → Holdings
- View “Gain/Loss” column
- Filter for losses
- Check individual lots if needed (for specific lot harvesting)
- View Holdings
- Look for red numbers (losses)
- Calculate loss amount
- Portfolio → Positions
- “Gain/Loss” column
- Use “Tax Loss Harvesting Tool” (if available)
Step 2: Calculate How Much Loss You Need
Ask yourself:- How much capital gains did I realize this year? (Check 1099-B from last year or YTD trades)
- Do I have gains I plan to realize soon? (selling appreciated stock)
- Do I want to offset ordinary income? (up to $3,000)
- Realized gains so far: $10,000
- Planning to sell Apple (will realize $8,000 gain)
- Total gains: $18,000
- Identify positions with $21,000 in total losses
- Harvest those
Step 3: Choose Replacement Securities
Goal: Replace sold position with similar (but not identical) investment Common ETF Swaps:| Sell (Harvest Loss) | Buy (Replacement) | Strategy |
|---|---|---|
| VTI (Vanguard Total Market) | SCHB (Schwab Total Market) OR ITOT (iShares Total Market) | U.S. total market exposure |
| VOO (Vanguard S&P 500) | SPY (SPDR S&P 500) OR IVV (iShares S&P 500) | S&P 500 exposure |
| VEA (Vanguard Developed Markets) | SCHF (Schwab International) OR IEFA (iShares Developed Markets) | International developed |
| VWO (Vanguard Emerging Markets) | IEMG (iShares Emerging Markets) OR SCHE (Schwab Emerging Markets) | Emerging markets |
| BND (Vanguard Total Bond) | AGG (iShares Aggregate Bond) OR SCHZ (Schwab Aggregate Bond) | U.S. bonds |
| QQQ (Nasdaq-100) | ONEQ (Nasdaq Composite) OR QQQM (Nasdaq-100 mini) | Tech-heavy growth |
| Sell (Harvest Loss) | Buy (Replacement) | Sector |
|---|---|---|
| Apple (AAPL) | Microsoft (MSFT) | Tech - large cap |
| Amazon (AMZN) | Shopify (SHOP) OR Alibaba (BABA) | E-commerce |
| Tesla (TSLA) | Rivian (RIVN) OR Lucid (LCID) | EVs |
| JPMorgan (JPM) | Bank of America (BAC) OR Wells Fargo (WFC) | Banks |
| ExxonMobil (XOM) | Chevron (CVX) OR ConocoPhillips (COP) | Energy |
Step 4: Execute the Trades (Same Day!)
CRITICAL: Execute BOTH trades on the same day Why? Stay invested to avoid missing market movements Process: Trade 1 - SELL (Harvest Loss):- Go to position in brokerage
- Click “Sell”
- Enter full position (or amount you want to harvest)
- Order type: Market order (immediate execution)
- Submit order
- Document: Date, ticker, shares, loss amount
- Immediately (within minutes) search for replacement ticker
- Click “Buy”
- Enter dollar amount (same as sale proceeds) OR calculated shares
- Order type: Market order
- Submit order
- Document: Date, ticker, shares, cost
- Sell 100 shares VTI at 22,000 proceeds
- Cost basis was 25,000
- Loss harvested: $3,000
- Buy $22,000 of SCHB (Schwab Total Market)
- At $50/share = 440 shares
- Now have SCHB instead of VTI (same exposure, no wash sale)
- Stay invested in total market (just different ETF)
- Harvested $3,000 loss for taxes
- Can offset $3,000 in gains or ordinary income
Step 5: Track for Wash Sale Period
For the next 30 days after sale: DO NOT:- ❌ Buy back the original security (VTI in example above)
- ❌ Have dividend reinvestment buy it (turn off DRIP if applicable)
- ❌ Buy it in another account (IRA, 401k, spouse’s account)
- ✅ Hold the replacement security (SCHB)
- ✅ Buy other different securities
- ✅ Sell the replacement if needed (independent transaction)
- You CAN buy back the original if you prefer
- Wash sale window has closed
- Tax loss is safe
- Set reminder for 31 days after sale
- Note: “Wash sale period ends, can buy [original ticker] if desired”
Step 6: Document for Tax Return
Keep records:- Date of sale (losing position)
- Shares sold
- Sale price
- Cost basis
- Loss amount
- Date of purchase (replacement)
- Replacement ticker
- Form 1099-B (capital gains/losses) in January
- Shows all sales for the year
- Includes whether gain/loss is short-term or long-term
- Report all capital gains and losses
- Losses will offset gains automatically
- Up to $3,000 excess loss offsets ordinary income
- Remaining losses carry forward to next year (tracked on Schedule D)
- TurboTax, H&R Block, etc. guide you through
- Or hire CPA for complex situations
Advanced Tax-Loss Harvesting Strategies
Strategy #1: Specific Lot Identification
What is it? Selling specific shares you purchased (not FIFO or LIFO) Why? Maximize loss harvesting while keeping winning lots Example: You own 300 shares of Apple bought at different times:- Lot 1: 100 shares at 200) = $10,000 gain
- Lot 2: 100 shares at 200) = $2,000 gain
- Lot 3: 100 shares at 200) = $2,000 LOSS
- Specify “Sell Lot 3 only” (100 shares at $220 cost basis)
- Harvest $2,000 loss
- Keep Lots 1 and 2 (let winners run)
- When selling, choose “Specific Shares” instead of “First In, First Out”
- Select which lots to sell (Lot 3)
- Select “Specific Lot” when placing trade
- Choose lots with losses
- Not available (uses FIFO automatically) - limitation!
Strategy #2: Layering Losses Over Time
Don’t harvest all losses at once unless you need them Why?- You can only use $3,000/year against ordinary income
- Harvesting $50,000 loss might take 10+ years to fully utilize
- Better to harvest $10-15k/year as needed
- Harvest $10,000 loss
- Offset 3,000 ordinary income
- Fully utilized
- Harvest another $12,000 loss
- Offset 3,000 ordinary income
- Fully utilized
- Harvest $15,000 loss
- And so on…
Strategy #3: Pair Selling
Sell both winners and losers in same year to net out Example: Goal: Take profits on Apple (up $20,000) but minimize taxes Strategy:- Sell Apple: +$20,000 gain
- Harvest losses on Tesla, Amazon, etc.: -$20,000 loss
- Net capital gain: $0
- Tax owed: $0
- Took profits on Apple (de-risked)
- Stayed invested (bought replacements for harvested positions)
- Paid ZERO capital gains tax
Strategy #4: Direct Indexing (Advanced/High Net Worth)
What is it? Owning individual stocks that replicate an index (instead of ETF) Why? Allows harvesting losses on individual stocks throughout year Example: Traditional: Own 100 shares of SPY (S&P 500 ETF)- Can only harvest loss if entire SPY is down
- If Apple is down but Microsoft is up, harvest Apple loss
- Still maintain S&P 500 exposure overall
- Many micro-harvesting opportunities
- Can harvest 30k annually even in UP markets
- More tax alpha (extra return from tax savings)
- Requires 500k+ portfolio
- Complex to manage (usually use service like Wealthfront, Betterment, Parametric)
- Higher trading costs
Common Tax-Loss Harvesting Mistakes
Mistake #1: Wash Sale Violation
The Trap: Buy back too soon (within 30 days) Example:- Dec 5: Sell VTI at loss
- Dec 20: “Market is recovering, I want VTI back!”
- Buy VTI (only 15 days later)
- WASH SALE! Loss disallowed
- Wait 31 days
- OR buy different fund permanently
- OR accept replacement is good enough
Mistake #2: Forgetting About Other Accounts
The Trap: Wash sale rule applies across ALL your accounts Example:- Dec 5: Sell VTI in taxable brokerage (harvest loss)
- Dec 10: Your 401k auto-buys VTI (employer match + contributions)
- WASH SALE! Loss disallowed
- Your IRAs (Traditional, Roth)
- Your 401(k)
- Spouse’s accounts
- Joint accounts
- Check all accounts before harvesting
- Pause 401k contributions temporarily if necessary
- Use different funds in retirement accounts
Mistake #3: Harvesting Losses You Don’t Need
The Trap: Harvest 5,000 in gains Result:- Can only use 3,000 = $8,000 this year
- Remaining $42,000 carries forward
- Might take 10+ years to use (opportunity cost of trading fees, time)
- Only harvest what you can use (this year + $3,000)
- Save other loss opportunities for future years
Mistake #4: Not Replacing Immediately
The Trap: Sell losing position but wait to buy replacement Risk:- Market rallies during your “out of market” time
- Miss 5-10% gain in days
- March 20: Sell stocks at bottom (harvest losses)
- “I’ll wait for better entry point”
- March 23-April: Market rallies 30%+
- You missed entire recovery
- SAME DAY replacement purchase
- Within minutes or hours, not days/weeks
Mistake #5: Selling Long-Term for Short-Term Replacement
The Trap: What you sell:- Stock held 2 years (long-term holding)
- Generates long-term loss (offsets long-term gains at 15-20% tax)
- Replacement stock
- Sell it 6 months later (short-term gain)
- Taxed at ordinary income (22-37%)
- You created a short-term gain (higher tax) by selling long-term asset
- Tax inefficient!
- Plan to hold replacements long-term too (1+ year)
- Match holding periods when possible
Tax-Loss Harvesting Calculator
Formula to calculate tax savings:- Harvested loss: $15,000
- Offset capital gains: $15,000
- Your capital gains tax rate: 15% (long-term)
- 2,250 saved
- Harvested loss: $10,000
- Offset capital gains: $0
- Offset ordinary income: $3,000 (max allowed)
- Carryforward: $7,000 (for future years)
- Your ordinary income tax rate: 24%
- 720 saved
- 1,050
Using Sage for Tax Planning
Annual Tax-Loss Harvesting Review:Success Checklist
By the end of this workflow, you should have:- Understood how tax-loss harvesting saves money (offset gains + $3,000 income)
- Learned the wash sale rule (30 days before and after = 61-day window)
- Identified positions in your portfolio with unrealized losses
- Calculated how much loss you need to harvest this year
- Found appropriate replacement securities (avoid wash sale)
- Executed (or planned) your first tax-loss harvest trade
- Set up tracking for 30-day wash sale period
- Documented trades for tax return preparation
- Calculated estimated tax savings from harvesting
- Scheduled annual tax-loss harvesting review (November-December)
What’s Next?
Now that you’ve mastered tax-loss harvesting:Related Workflows:
- Asset Location Optimization - Which accounts for which assets
- Portfolio Rebalancing - Combine with harvesting
- Monthly Portfolio Review - Track loss opportunities
- Multi-Account Portfolio Management - Coordinate across accounts
Continue Learning:
- Read IRS Pub 550 (Investment Income and Expenses)
- Use tax software with capital gains tracking (TurboTax Premier, H&R Block Premium)
- Consider hiring CPA if portfolio >$500k or complex situation
- Join r/tax or r/personalfinance for tax strategy discussions
Take Action:
- November: Review year-to-date gains
- December 1-15: Execute tax-loss harvesting trades
- January: Receive 1099-B from broker
- Tax season: Report on Schedule D and Form 8949