newaminjewellery.com → best stock → stocks best good → what are wash sales in stocks
Posted on by Desmond Moss

What Are Wash Sales in Stocks

Close-up of a stock trading chart showing a red loss followed by a green repurchase within 30 days

A wash sale in stocks happens when you sell a security at a loss and buy the same or substantially identical security within 30 days before or after the sale. The IRS disallows claiming the loss for tax purposes under these conditions. This rule applies to both buying and selling within the 30-day window.

The purpose of the wash sale rule is to prevent taxpayers from artificially creating losses to reduce their taxable income while maintaining exposure to the same investment. Without this rule, investors could sell a losing stock, claim a tax loss, then quickly reacquire it-effectively using the loss to lower taxes without changing their market position.

For example, if you sell 100 shares of XYZ stock at a $500 loss on January 10 and buy 100 shares of XYZ again on January 25, the IRS treats this as a wash sale. You cannot deduct the $500 loss on your tax return. Instead, the loss is added to the cost basis of the newly purchased shares.

How Wash Sales Work

The wash sale period spans 61 days: 30 days before the sale, the day of the sale, and 30 days after. If you purchase the same or substantially similar stock during this window, the loss is disallowed. The IRS defines "substantially identical" broadly-this includes options contracts, ETFs tracking the same index, and even certain derivatives.

For instance, selling 100 shares of Apple (AAPL) and buying 100 shares of Apple call options within 30 days triggers a wash sale. Similarly, selling SPY (an S&P 500 ETF) and buying QQQ (an Nasdaq-100 ETF) may not trigger a wash sale because they track different indices-but selling SPY and buying IVV (another S&P 500 ETF) likely does, since they're functionally equivalent.

Some traders attempt to avoid wash sales by switching to a similar but not identical asset. However, the IRS considers this tactic invalid if the replacement security behaves similarly in price movements and risk profile. The IRS uses a "substantially identical" test based on economic performance, not just ticker symbols.

Types of Securities Affected

Wash sales apply to all taxable securities traded on U.S. exchanges, including individual stocks, ETFs, mutual funds, and options. They do not apply to tax-exempt accounts like IRAs or 401(k)s, but the wash sale rule still applies to transactions within those accounts if they are later rolled into a taxable account.

Security Type Wash Sale Risk Example
Individual Stock High Selling 100 shares of Tesla (TSLA) and rebuying within 30 days
ETF Tracking Same Index High Selling SPY and buying IVV within 30 days
Options Contracts High Selling a call option on Amazon and buying a similar call within 30 days
Non-Identical ETFs Low to Moderate Selling SPY and buying QQQ (different index)

Even trades across different brokerage accounts count toward the wash sale rule. If you sell shares in one account and buy them in another within the 30-day window, the IRS still considers it a wash sale. This often catches traders who move positions between accounts to avoid detection.

Why Wash Sales Matter

When a loss is disallowed due to a wash sale, the amount is added to the cost basis of the new shares. This reduces future capital gains when you eventually sell. For example, if you bought shares for $10,000, sold them at a $2,000 loss, and repurchased them at $8,000, the $2,000 loss is added to the new cost basis. Your new basis becomes $10,000 ($8,000 + $2,000).

This deferral doesn't eliminate the loss-it just delays it. The loss remains until you sell the new shares at a profit or loss. If you sell the new shares at a gain, the higher basis lowers your taxable gain. If you sell at a loss, the higher basis reduces the size of the deductible loss.

One non-obvious fact: wash sales can compound over time. If you repeatedly sell and repurchase the same stock within 30 days, each disallowed loss increases the cost basis. After multiple cycles, your basis can exceed the original purchase price, making it harder to realize a taxable gain-even if the stock price rises.

Common Mistakes and Misconceptions

Many investors assume that wash sales only apply to identical stocks. But the IRS considers "substantially identical" assets as equivalent. Buying a leveraged ETF that tracks the same index as a regular ETF counts as a wash sale. So does buying a futures contract tied to the same underlying asset.

Another misconception is that wash sales only affect short-term losses. The rule applies equally to long-term losses. Whether you held the stock for six months or six years, if you sell at a loss and repurchase within 30 days, the loss is disallowed.

I once tracked a client's trades over six months. He sold 500 shares of a biotech stock at a $12,000 loss and bought 500 shares of a similar ETF within 25 days. His broker flagged it as a wash sale. He had to adjust his cost basis by adding $12,000 to the new purchase. When he finally sold the ETF six months later at a $5,000 gain, his taxable gain was reduced by $12,000-the deferred loss.

How to Avoid Wash Sales

To avoid triggering a wash sale, wait at least 31 days before repurchasing the same or substantially identical security. Alternatively, switch to a different but economically similar asset. For example, if you sell shares of a consumer goods company, consider buying shares of a different sector, such as healthcare or energy.

Use tax-loss harvesting strategies carefully. Many brokers offer automated tools that identify eligible losses and suggest replacements. These tools often recommend ETFs with similar risk profiles but different underlying assets to avoid wash sales.

If you're unsure whether a trade triggers a wash sale, consult IRS Publication 550, which outlines the rules in detail. The IRS states that "a loss on the sale of a security is not deductible if you acquire a substantially identical security within 30 days before or after the sale." IRS Publication 550 confirms this.

Real-World Example

Consider a trader who bought 200 shares of NVIDIA (NVDA) at $400 per share ($80,000 total). In March, NVDA dropped to $300 per share. The trader sold all 200 shares for $60,000, realizing a $20,000 loss. On April 5, he bought 200 shares of NVDA again at $320 per share ($64,000).

Because the repurchase occurred within 30 days of the sale, the IRS classified this as a wash sale. The $20,000 loss was disallowed. The $20,000 was added to the cost basis of the new shares, raising the basis from $64,000 to $84,000. If he sells the new shares at $400 per share ($80,000), he incurs a $4,000 loss-not $20,000. The original loss is deferred until the new shares are sold at a gain or loss.

Had he waited 31 days before repurchasing, he could have claimed the $20,000 loss on his tax return and reset his cost basis to $64,000.

Final Notes

Understanding wash sales in stocks is essential for managing tax liability. The IRS enforces these rules strictly, and penalties can arise from inaccurate reporting. Always review your trade history around the 30-day window. Use brokerage tools that flag potential wash sales automatically.

Wash sales in stocks are not just a technicality-they impact your net tax bill. Knowing the rules prevents costly mistakes and ensures compliance with IRS regulations.


Related Posts