Skip to content
TaxCalcs

Tax Loss Harvesting: A Guide to Reducing Your Tax Bill

Tax loss harvesting means selling losing investments to offset capital gains dollar-for-dollar. Excess losses offset up to $3,000 of ordinary income yearly and carry forward indefinitely. The wash sale rule blocks the deduction if you rebuy a substantially identical security within 30 days.

What Is Tax Loss Harvesting?

Tax loss harvesting is the strategy of selling investments at a loss to offset capital gains from other investments, reducing your overall tax liability. The IRS allows you to use capital losses to offset capital gains dollar-for-dollar. If your losses exceed your gains, you can use up to $3,000 of remaining losses to offset ordinary income each year, with any excess carried forward to future years indefinitely.

How Tax Loss Harvesting Works

Here's a simplified example: You have a $10,000 gain from selling Stock A and a $7,000 unrealized loss on Stock B. By selling Stock B before year-end, you realize a $7,000 loss that offsets your $10,000 gain, reducing your net taxable gain to $3,000. If you're in the 24% bracket and Stock A was held short-term, this saves $1,680 in federal tax. The strategy is most valuable for short-term gains, which are taxed at higher ordinary income rates.

The Wash Sale Rule

The wash sale rule is the most important limitation on tax loss harvesting. It disallows a loss deduction if you purchase a 'substantially identical' security within 30 days before or after the sale. The 61-day window (30 days before + sale day + 30 days after) means you cannot simply sell a stock and buy it right back. The disallowed loss is added to the basis of the replacement shares. To avoid wash sales while maintaining market exposure, consider buying an ETF or mutual fund tracking a different but correlated index.

Advanced Tax Loss Harvesting Strategies

For maximum benefit: 1) Prioritize harvesting short-term losses to offset short-term gains (taxed at higher rates). 2) Use tax lot identification instead of FIFO to selectively sell the highest-cost shares. 3) Harvest across multiple asset classes — losses can offset gains from any type of capital asset. 4) Consider year-end harvesting in November and December, when most investors review portfolios. 5) Coordinate with your overall financial plan — don't let tax considerations alone distort your asset allocation.

Common Pitfalls to Avoid

Watch out for: accidentally triggering the wash sale rule by purchasing the same security in a retirement account (IRA wash sales are disallowed but harder to fix); harvesting losses that move you into a higher tax bracket by reducing your basis for future sales; quarterly estimated tax underpayment penalties if you rely on loss harvesting to reduce year-end tax; and state tax treatment differences — some states don't allow capital loss carryforwards or have different rules for the $3,000 ordinary income offset.

Frequently Asked Questions

What is the wash sale rule?

The wash sale rule disallows a loss deduction if you buy a 'substantially identical' security within 30 days before or after the sale — a 61-day window total. The disallowed loss is added to the basis of the replacement shares. To harvest while keeping market exposure, buy a different but correlated ETF or fund instead.

How much capital loss can I deduct each year?

Capital losses offset capital gains dollar-for-dollar. If losses exceed gains, you can deduct up to $3,000 against ordinary income each year ($1,500 if married filing separately). Any excess carries forward to future years indefinitely.

Can I tax-loss harvest inside my IRA or 401(k)?

Sales inside retirement accounts do not generate deductible losses. Worse, buying a substantially identical security in an IRA within the wash sale window can disallow a loss harvested in your taxable account. Track purchases across all accounts to avoid accidentally triggering a wash sale.

Do capital losses carry forward if I can't use them?

Yes. Unused capital losses carry forward indefinitely, offsetting future gains and up to $3,000 of ordinary income per year until fully used. State tax treatment varies — some states do not allow loss carryforwards, so check your state's rules.