Tax-loss harvesting turns a investment loss into a tax benefit — but two specific IRS rules (the $3,000 limit and the wash-sale rule) determine exactly how much benefit you actually get, and getting the wash-sale window wrong can erase the deduction entirely.
Tax-Loss Harvesting Basics: How to Turn Losses Into Tax Savings
Tax-loss harvesting means selling an investment at a loss to offset taxable gains elsewhere. Here is how it works, and the wash-sale rule you must know.
KEY TAKEAWAYS // THE QUICK READ
- Tax-loss harvesting means selling an investment at a loss to offset capital gains taxes elsewhere in your portfolio.
- Realized losses can offset realized gains dollar-for-dollar, and a limited amount of ordinary income in many jurisdictions.
- Unused losses can typically be carried forward to future tax years.
- The wash-sale rule disallows the tax loss if you buy a substantially identical investment within a set window around the sale.
- Harvesting is most useful in taxable brokerage accounts, not tax-advantaged retirement accounts.
- It should support your investment plan, not drive it — never sell a sound long-term holding purely for a tax deduction.
The Rules That Determine Your Actual Benefit
Realized capital losses first offset capital gains, dollar for dollar. Beyond that, you can deduct up to $3,000 per year against ordinary income ($1,500 if married filing separately). Losses beyond that carry forward indefinitely under IRC §1212 — they don't expire, and apply to future gains first, then $3,000/year against ordinary income after that. The wash-sale rule disallows the loss if you buy the same or a "substantially identical" security within a 61-day window — 30 days before and 30 days after the sale.
A wash sale doesn't destroy your loss permanently — it defers it, adding the disallowed amount to the cost basis of the repurchased shares. But if you want to stay invested in a similar asset while harvesting a loss, buying a different (not "substantially identical") fund tracking a similar index avoids the wash sale entirely — check with a tax professional on what counts as "substantially identical" for your specific securities, since this is a gray area the IRS hasn't precisely defined for every case.
Someone With Losses Exceeding $3,000: Don't assume the excess is wasted — it carries forward indefinitely, so track it carefully on your tax return year over year rather than losing record of it.
Someone Wanting to Stay Invested After Harvesting: Wait the full 30 days before repurchasing the identical security, or buy a similar-but-not-identical fund immediately if you don't want to be out of the market during the window.
Harvest Losses Correctly This Year
- Review your portfolio for positions currently at a loss before year-end.
- Calculate whether losses exceed your realized gains plus the $3,000 ordinary-income offset.
- If repurchasing anything similar, wait the full 30 days or choose a different fund to avoid the wash sale.
- Track any carryforward loss carefully for future tax years.
See Roth vs traditional retirement accounts — tax-loss harvesting applies to taxable brokerage accounts, not tax-advantaged retirement accounts.
KEY TERMS DEFINED IN THIS GUIDE
Net Worth
The quantitative measure of total financial health, calculated as all owned assets (cash, property, investments) minus all liabilities (debts, mortgages).
Budget
A comprehensive spending plan based on income and expenses that guides saving, investing, and debt management over specific calendar cycles.
Compound Interest
Interest earned on both principal capital and accrued interest, creating exponential growth over long multi-decade horizons.
Try it yourself
Get weekly Personal Finance tips
No spam — one email a week, unsubscribe anytime.



