Wash-Sale Rule: What it is and How to Avoid | The Motley Fool (2024)

It's not uncommon for investors who own stocks or securities that have lost value to sell them in order to take advantage of the losses for tax reasons. It's not a bad idea, especially if it's a stock you want to sell anyway; you can use the loss to offset capital gains or even, to some extent, offset your taxable income from other sources, such as regular earnings.

Wash-Sale Rule: What it is and How to Avoid | The Motley Fool (1)

Image source: The Motley Fool

But what if it's a stock you still like, and you don't really want to sell? Can't you just sell it, harvest the loss, and then buy it back immediately? In a word, no. This is precisely what the wash-sale rule exists to prevent: harvesting tax-loss benefits on an investment you don't intend to exit.

What is a wash sale?

Under the wash-sale rules, a wash sale happens when you sell a stock or security for a loss and either buy it back within 30 days after the loss-sale date or "pre-rebuy" shares within 30 days beforeselling your longer-held shares.

In either case, the loss is not considered realized for tax purposes, with the sale and subsequent (or prior) purchase "washing" one another out. This rule is designed to prevent people from selling stock to just to claim the tax benefit, without intending to exit the investment.

Again, the rule applies to a 30-day period before and after the sale date to prevent your buying the stock "back" before it's even sold.

Wash-sale rule examples

Let's say you own 100 shares of XYZ Corp with a cost basis (what you paid for them) of $10,000, and you sell them on June 1 for $3,000. That works out to a $7,000 loss, and if you own the shares in a taxable brokerage account, you can claim that loss when you file your taxes.

However, if you were to rebuy shares anytime between June 2 and July 1, then the sale is considered a wash sale, and the loss doesn't qualify as a taxable loss. It works the same way if you buy shares within 30 days before your sale as well; in this case, if you bought shares equal to what you sold on June 1 anytime on or after May 2, then it would "wash out" your taxable loss.

What happens if you buy fewer shares?

A key point about wash sales is that they work out at 1:1 for each share you repurchase. Using the example above, if you repurchased 50 shares in that 30-before-to-30-after period, it would wash out 50 shares of the taxable loss.

Wash-sale rules

Here is how the Internal Revenue Service defines a wash sale, directly from IRS Publication 550:

A wash sale occurs when you sell or trade stock or securities at a loss and within 30 days before or after the sale you:Buy substantially identical stock or securities,Acquire substantially identical stock or securities in a fully taxable trade,Acquire a contract or option to buy substantially identical stock or securities, orAcquire substantially identical stock for your individual retirement arrangement (IRA) or Roth IRA.

Let's summarize: A wash sale isn't solely about purchasing stocks; it can also involve acquiring options to buy stock. Moreover, the rule also counts if you buy identical shares in a different account, including a traditional or Roth IRA. In other words, you can't harvest a tax loss in your taxable account if you purchase shares within the window that creates a wash sale, even in a different account (including retirement accounts).

One final note: Wash-sale provisions work on shares that you sell for a loss, but there are no corresponding wash-sale rules for stock that you sell at a gain. That is, if you sell stock for a gain and buy it right back, you must still report the entire gain.

Related investing topics

What Are the 11 Stock Market Sectors?The larger stock market is made up of multiple sectors you may want to invest in.
Upcoming Earnings ReportsLearn about why earnings reports matter and what upcoming earnings reports investors should watch.
How to Calculate Your Gross Income Per MonthCalculate your monthly inflow before taxes using this metric.
Taxes on Investments: Understanding the BasicsYou may have questions about taxes on different types of portfolio income. We've got answers.

How do you avoid a wash sale?

The first, most obvious thing to do is to avoid buying shares in the same stock within 30 days beforeor 30 daysafterselling. If you do, you lose the ability to harvest a tax loss on the number of shares you purchase.

However, if you inadvertently create a wash sale by rebuying too soon, your potential taxable loss doesn't just go up in smoke: The "lost" tax basis carries over to the replacement purchase. Simply sell again, andfollow the wash-sale rules this time. You'll finally be able to harvest that tax loss.

The Motley Fool has a disclosure policy.

Wash-Sale Rule: What it is and How to Avoid | The Motley Fool (2024)

FAQs

Wash-Sale Rule: What it is and How to Avoid | The Motley Fool? ›

Designed to prevent abuse, it disallows tax deductions if you repurchase similar securities within 30 days. To maintain tax benefits, refrain from purchasing identical securities 30 days before or after a sale or adjust by selling again later.

How do day traders avoid the wash sale rule? ›

To avoid a wash sale, you could replace it with a different ETF (or several different ETFs) with similar but not identical assets, such as one tracking the Russell 1000 Index® (RUI). That would preserve your tax break and keep you in the market with about the same asset allocation.

How do you avoid the application of the wash sale rule? ›

To avoid triggering the wash sale rule, an investor can employ a strategy such as buying more of the stock that they'd like to sell, holding on to the new stock purchase for 31 days, and then selling it. An investor could also sell a stock at a loss, register the loss, and then buy a similar investment.

Can I buy back into the same stock after 30 days to avoid a wash sale? ›

That is, tax rules allow you to more than offset any gains. Savvy investors strategically use losses to minimize their taxable income through tax-loss harvesting. If you have a wash sale, however, you cannot claim the write-off until you finally sell the asset and avoid repurchasing it for at least 30 days.

What is the wash sale rule for dummies? ›

A wash sale occurs when an investor sells a security at a loss and then purchases the same or a substantially similar security within 30 days, before or after the transaction. This rule is designed to prevent investors from claiming capital losses as tax deductions if they re-enter a similar position too quickly.

How long do you have to hold stock to avoid a wash sale? ›

The wash sale rule states that if you buy or acquire a substantially identical stock within 30 days before or after you sold the declining stock at a loss, you generally cannot deduct the loss.

How does the IRS know about wash sales? ›

Note: Wash sales are in scope only if reported on Form 1099-B or on a brokerage or mutual fund statement. Click here for an explanation. A wash sale is the sale of securities at a loss and the acquisition of same (substantially identical) securities within 30 days of sale date (before or after).

Are wash sale losses gone forever? ›

The loss deduction isn't disallowed forever. It's only deferred. The loss incurred on the sale is added to the tax basis of the investment purchase that violated the rules.

How do I recover a wash sale loss disallowed? ›

You can't sell a stock or mutual fund at a loss and then buy it again it within 30 days just to claim the losses. You'll need to figure the basis for shares sold in a wash sale. When you do, add the amount of disallowed loss to the basis of the shares that caused the wash sale. These are the new shares you received.

What happens if you break the wash sale rule? ›

The IRS determines if your transactions violate the wash-sale rule. If that does happen, you may end up paying more taxes for the year than you anticipated. So when in doubt, consult with a tax professional.

Can you avoid day trading rule? ›

In addition to having an offshore account, day traders can avoid the PDT Rule by trading foreign currency or futures. Neither of these asset classes require a certain level of cash. In fact, you can open an account with many brokers for just a few thousand dollars.

Can you sell a stock for a gain and buy back immediately? ›

It is always possible to sell a stock for profit purposes, as the Income Tax Department has you paying taxes on the profit you make. This is, as mentioned earlier, a capital gains tax. You can buy the same stock back at any time, and this has no bearing on the sale you have made for profit.

Is wash sale rule 30 trading days? ›

While capital gains are considered on a calendar year basis, the wash sale covers a 30-day period, irrespective of the year. So if you sell an asset in mid-December, you still need to wait the requisite period before buying it again in January.

Top Articles
Latest Posts
Article information

Author: Lakeisha Bayer VM

Last Updated:

Views: 6011

Rating: 4.9 / 5 (49 voted)

Reviews: 88% of readers found this page helpful

Author information

Name: Lakeisha Bayer VM

Birthday: 1997-10-17

Address: Suite 835 34136 Adrian Mountains, Floydton, UT 81036

Phone: +3571527672278

Job: Manufacturing Agent

Hobby: Skimboarding, Photography, Roller skating, Knife making, Paintball, Embroidery, Gunsmithing

Introduction: My name is Lakeisha Bayer VM, I am a brainy, kind, enchanting, healthy, lovely, clean, witty person who loves writing and wants to share my knowledge and understanding with you.