Not investment advice. Educational reading. See Disclaimer.
L.11 · BEGINNER · 4 MIN
Tax-Loss Harvesting — The Mechanics
Tax-loss harvesting (TLH) is selling an investment that is down to realize a loss on paper, using that loss to offset capital gains (and up to $3,000 of ordinary income per year), then immediately buying a similar — but not identical — fund so you stay invested. You keep your market exposure while booking a tax deduction. This module is the HOW; bf-13 covers the behavioral why.
Offset gains, then up to $3,000 of income; carry the rest forward
Unused losses carry forward indefinitely
3. Re-buy similar
Buy a not-substantially-identical fund (e.g. VTI then ITOT)
Wash-sale: do not re-buy the SAME fund within 30 days
§ 02The wash-sale rule and how to avoid it
Caution: The wash-sale rule (IRC Section 1091) disallows the loss if you buy the same or a 'substantially identical' security within 30 days before or after the sale. The fix: swap to a DIFFERENT fund tracking a similar index (sell VTI, buy ITOT) so you keep market exposure without triggering the rule. Verify current limits against irs.gov Topic 409.
§ 03Four ways people trip the wash-sale rule
Wash-sale fine print: the four ways people trip it by accident
Trap
What happens
How to stay clear
The window is 61 days, not 30
It counts 30 days BEFORE the sale, the sale day, and 30 days AFTER — buying in advance washes the loss too
No purchase of the same fund anywhere in that full window
Re-buying inside an IRA
The harshest version: replace the sold fund in your IRA (or Roth) within the window and the loss is PERMANENTLY gone — it can't be added to any basis
Pause IRA contributions into that same fund during the window, or buy the sibling fund there too
Dividend reinvestment (DRIP)
An automatic reinvested dividend in the sold fund counts as a purchase and washes that slice of the loss
Turn off auto-reinvest on a position before harvesting it
Spouse and other accounts
Your spouse's accounts and your other accounts all count as 'you' — a re-buy in any of them triggers the rule
Coordinate the household's accounts before selling
One consolation: in a normal TAXABLE wash sale, the loss isn't destroyed — it's added to the cost basis of the replacement shares, so you get it back when you eventually sell them. The IRA trap above is the exception: that loss is gone for good.
§ 04Harvest a loss without breaking the rule
Only relevant in a taxable account: if a holding is underwater near year-end, you can harvest the loss and rotate into a sibling fund — but never re-buy the identical fund within 30 days, or the loss is disallowed.
§ 05A real but modest tax edge
Tax-loss harvesting is a real but modest edge — a few hundred dollars of tax deferral in a normal year, more in a crash. It is NOT a reason to sell good investments; it is a way to make a paper loss slightly useful while staying invested.
§ 06Staying on the right side of the wash-sale rule
§ 07The psychology of realizing a loss
Related reading: the psychology of harvesting losses
This module is the mechanics; the harder part is doing it without flinching. Behavioral Finance module bf-13 (Tax-Loss Harvesting Psychology) covers why realizing a loss feels like admitting defeat — and when the math should override that instinct.
Quiz · 1 question
Check your understanding
After selling a fund at a loss to harvest it, what does the wash-sale rule prevent you from doing?