How to Use Tax-Loss Harvesting Without Triggering a Wash Sale

How to Use Tax-Loss Harvesting Without Triggering a Wash Sale

How to Use Tax-Loss Harvesting Without Triggering a Wash Sale

Everyone hates a losing position. Tax-loss harvesting turns that annoyance into something useful: sell an investment that dropped, lock in the loss on paper, and use it to offset capital gains. In simple terms, the government shares a little of the pain.

Investors with taxable accounts can use these losses against capital gains to lower their tax bill. That’s where the wash-sale rule comes in. It applies when someone sells at a loss and tries to buy back the same asset shortly after, as tax regulations restrict that strategy.

What Is Tax-Loss Harvesting?

Tax-loss harvesting means selling an investment for less than its purchase price to claim a tax-deductible loss. An unsold asset that has declined in value has an unrealized loss. That loss can’t be used on a tax return until the position is sold, converting it into a realized capital loss.

Realized losses first offset capital gains. If total losses exceed total gains, individual filers can use up to $3,000 per year to offset ordinary income, carrying forward any remaining balance to future tax years.

How the Wash-Sale Rule Works

The wash-sale rule prevents investors from claiming a tax deduction while maintaining the same portfolio position—for example, selling a security at a loss on Monday and buying it back on Tuesday. The IRS monitors a 61-day window: 30 days before the sale, the day of the sale, and 30 days after. Buying the same or a substantially identical security within this timeframe disallows the tax loss.

Read: Financial Planning for Moving Abroad: Banking and Taxes 

A Simple Example of Tax-Loss Harvesting

Suppose an investor purchases 100 shares of stock at $50 per share ($5,000 total). The price drops to $38, and the shares are sold for $3,800, generating a $1,200 realized loss. If the investor also realized a $2,000 gain elsewhere, applying the $1,200 loss reduces the taxable gain to $800.

However, if the investor repurchases the 100 shares 10 days later at $39 per share, the transaction will trigger a wash sale. The IRS disallows the $1,200 loss for the current tax year and adds it to the cost basis of the new shares, raising it from $3,900 to $5,100. The tax benefit isn’t lost forever; it’s deferred until those new shares are sold.

If the investor waits 31 days or purchases a different investment with similar market exposure, the wash sale is avoided. The loss counts immediately, while portfolio exposure remains largely intact.

How to Avoid Triggering a Wash Sale

Sell the Investment and Wait Before Buying It Back

The 30-day rule applies both before and after a sale. Waiting 30 days after selling is straightforward, but buying shares within the 30 days before a sale also triggers the rule. 

For example, buying additional shares last month and then selling an older lot at a loss creates a wash sale. Always check the 30-day window on both sides of the transaction date.

Consider a Different Investment

Instead of holding cash for a month, reallocate funds into an asset that behaves similarly but isn’t identical, such as a broad-market fund from a different issuer or one tracking a separate index. This maintains market exposure while securing the tax loss. Note that a different ticker symbol alone does not guarantee tax compliance if the underlying holdings are virtually identical.

Review Automatic Investment Activity

Recurring purchases, automatic dividend reinvestments, and paycheck contributions regularly buy shares in the background. If any of these automated transactions occur within the 61-day window, they can trigger a wash sale. Review and temporarily pause automated account settings before tax-loss harvesting.

Check Multiple Investment Accounts

The wash-sale rule applies across all accounts under your control. Selling at a loss in a taxable brokerage account while purchasing the same asset in an IRA triggers a wash sale. In this scenario, the loss is permanently lost because IRA cost bases cannot be adjusted. The rule also applies to transactions made in a spouse’s account.

What Counts as a “Substantially Identical” Investment?

The IRS has not established a rigid definition for “substantially identical,” making compliance somewhat subjective. Selling a company’s shares and buying back the same stock clearly triggers the rule. Conversely, selling one company’s stock and buying a competitor’s is acceptable. Mutual funds and ETFs require closer evaluation.

Read: Tax Implications of Receiving Job Loss Insurance Benefits  

Tax-Loss Harvesting With ETFs and Mutual Funds

Funds offer flexibility in harvesting because investors can swap one fund for another with similar, though not identical, exposure. For example, an investor selling an S&P 500 index fund at a loss can purchase a total stock market fund to maintain market presence while claiming the loss.

Watch Out for Dividend Reinvestment and Recurring Purchases

Even a small $25 dividend reinvestment 11 days after a sale counts as a repurchase of the same security. This can disallow a proportional amount of the tax loss and complicate tax reporting.

Before harvesting losses, review dividend reinvestments, recurring deposits, spousal accounts, robo-advisor settings, and automated rebalancing schedules. Pausing automated activity during the 61-day window helps avoid accidental violations.

How to Build a Tax-Loss Harvesting Calendar

While December is the most popular time for tax planning, harvesting can occur year-round. Market downturns frequently happen in spring or autumn, presenting tax-loss opportunities well before year-end. Reviewing portfolio allocations quarterly keeps strategy on track.

Maintain a log tracking sale dates, the 30-day windows before and after sales, dividend distribution dates, and scheduled automated buys. Note that trades must settle before the last business day of December to count for the current tax year. Plan to avoid rushed decisions during the final week of the year.

When Tax-Loss Harvesting May Make Sense

Tax-loss harvesting is most effective when an investor has already realized capital gains during the year or expects significant taxable gains from selling assets like real estate, a business, or appreciated stocks.

Harvesting losses also aligns well with portfolio rebalancing. Selling an underperforming asset helps restore target asset allocations while generating a tax deduction. However, tax savings should complement a broader strategy, not serve as the sole reason for an investment decision.

When Tax-Loss Harvesting May Not Be Worth It

Tax-loss harvesting isn’t always beneficial. High transaction fees or trading costs can outweigh tax savings. Selling an asset might unexpectedly shift portfolio risk or diversification. Additionally, if an investor needs cash soon, harvesting losses without a clear plan can backfire. 

For complex situations involving multi-state taxes, business income, or numerous accounts, consult a tax professional before selling assets.

Read: Tax Season 2026 for Parents of College Students: Tuition, Aid, and Credit Planning 

Common Tax-Loss Harvesting Mistakes

Common pitfalls include selling an asset prematurely, overlooking automated dividend reinvestments, and ignoring transactions in secondary or spousal accounts. Investors also mistakenly assume that two funds are either identical or distinct, when IRS interpretation falls in between. 

Finally, selling strictly to chase tax deductions or waiting until the last minute to assess gains and losses reduces the strategy’s overall effectiveness.

How Tax-Loss Harvesting Fits Into a Broader Financial Plan

Tax-loss harvesting should work alongside general financial goals like emergency savings, retirement planning, and debt management. Maintaining an adequate cash reserve prevents having to liquidate investments during market dips to cover unexpected expenses.

For eligible individuals, short-term liquidity options like Beem’s Everdraft™ can bridge temporary cash-flow gaps, helping to avoid forced asset sales at inopportune times. However, credit tools should support, rather than replace, long-term financial planning. Download the app now.

Tax-Loss Harvesting Checklist

Start by identifying unrealized gains and losses and estimating their tax impact. Check recent transaction histories for automated contributions or dividend reinvestments across all accounts. Keep detailed records of purchase and sale dates, as well as potential replacement assets. If the rules feel complex, review your plan with a tax advisor.

FAQs

Can I buy the same stock after tax-loss harvesting?

Yes, but timing is critical. Purchasing the same or a “substantially identical” security within 30 days before or after the sale disallows the tax loss for the current year. Waiting past the 30-day window avoids wash-sale penalties.

How long should I wait before buying back a stock after selling it for a loss?

Wait at least 31 days after selling a security at a loss before repurchasing it. Additionally, ensure you didn’t buy shares of the same security during the 30 days before the sale.

Does the wash-sale rule apply to ETFs?

Yes. The wash-sale rule applies to stocks, mutual funds, and ETFs. Swapping between two ETFs that track the same index may be considered “substantially identical” by the IRS.

Can dividend reinvestment trigger a wash sale?

Yes. Automatic dividend reinvestment counts as a share purchase. If it occurs within the 61-day window, it can trigger a wash sale on a portion of the sold position.

Does the wash-sale rule apply across different brokerage accounts?

Yes. The rule applies across taxable accounts, IRAs, 401(k)s, and accounts held by a spouse. The IRS considers all accounts under your control.

Is tax-loss harvesting worth it for every investor?

No. Its value depends on your overall tax bracket, capital gains, portfolio strategy, and account types. For some investors, tax savings are significant; for others, the impact is minimal.

Conclusion

When executed properly, tax-loss harvesting reduces tax liabilities without disrupting long-term strategy. Understanding the wash-sale rule, tracking automated transactions, and selecting suitable replacement assets help streamline the process. For complex portfolios or large transactions, work with a qualified tax professional.

This page is purely informational. Beem does not provide financial, legal or accounting advice. This article has been prepared for informational purposes only. It is not intended to provide financial, legal or accounting advice and should not be relied on for the same. Please consult your own financial, legal and accounting advisors before engaging in any transactions.

Related Posts

How to Plan for an Inherited IRA Without Triggering a Tax Bomb

How to Plan for an Inherited IRA Without Triggering a Tax Bomb

Tax Planning Year-Round Instead of Just in April

Tax Planning Year-Round Instead of Just in April

What happens if you file your taxes twice

What Happens If You File Your Taxes Twice? Latest Guide

Picture of Prem Kishan

Prem Kishan

A seasoned Product Manager who thrives on making a meaningful impact within the organization, Prem is deeply passionate about tackling intricate problems using cutting-edge technology and is a specialist in tax content.
Features
Essentials

Get up to $1,000 for emergencies

Send money to anyone in the US

Ger personalized financial insights

Monitor and grow credit score

Save up to 40% on car insurance

Get up to $1,000 for loss of income

Insure up to $1 Million

Plans starting at $2.80/month

Compare and get best personal loan

Get up to 5% APY today

Learn more about Federal & State taxes

Quick estimate of your tax returns

1 month free trial on medical services

Get paid to play your favourite games

Start saving now from top brands!

Save big on auto insurance - compare quotes now!

Zip Code:
Zip Code: