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.

What is the wash sale rule for dummies? ›

Q: How does the wash sale rule work? If you sell a security at a loss and buy the same or a substantially identical security within 30 calendar days before or after the sale, you won't be able to take a loss for that security on your current-year tax return.

Can I sell a stock and buy it back within 30 days? ›

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.

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

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. After that period, you can re-buy the asset without triggering the wash-sale rules.

Is wash sale 30 days or 61 days? ›

Keep in mind that the wash sale rule goes into effect 30 days before and after the sale, so you have a 61-day window to avoid buying the same stock.

How do you count days for the wash sale rule? ›

The Wash-Sale period is defined as 30 days before and 30 days after the sale date, totaling 61 days (including the sale date).

What is an example of a wash rule? ›

An additional 100 XYZ Company shares for $39 per share at 11:30 a.m. On September 6, you sell 100 XYZ Company shares at $35 per share. This would result in a wash sale because you purchased the identical security in two separate transactions on August 15th and sold some of those shares at a loss within 30 days.

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).

How do day traders avoid wash sales? ›

To avoid a wash sale, the investor can wait more than 30 days from the sale to purchase an identical or substantially identical investment or invest in exchange-traded or mutual funds with similar investments to the one sold.

Can a wash sale be reversed? ›

You can either buy something else that is not substantially identical or wait beyond the 30-day window to repurchase the shares. (You still have a wash-sale on the original sale and repurchase. You realize the loss on the subsequent sale.)

Why are capital losses limited to $3,000? ›

The $3,000 loss limit is the amount that can be offset against ordinary income. Above $3,000 is where things can get complicated.

Are wash sale losses gone forever? ›

The tax benefit of your capital loss isn't gone forever, but it's deferred. The loss on the original investment will be taken into account when you sell your replacement shares by applying the losses to your adjusted cost basis.

How to recover 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 is the penalty for a wash sale? ›

If you trigger a wash sale, the amount of loss that is not deductible will be added to the cost of the newly purchased, substantially identical stock. This means that if you later sell the newly purchased stock at a gain, you will pay less in taxes.

Can I sell stock and reinvest without paying capital gains? ›

With some investments, you can reinvest proceeds to avoid capital gains, but for stock owned in regular taxable accounts, no such provision applies, and you'll pay capital gains taxes according to how long you held your investment.

Can I sell a stock and buy another immediately? ›

Absolutely, you can buy and sell stocks within the same trading day. This dynamic strategy, known as day trading, is an integral part of the financial landscape and serves as the lifeblood for many traders.

How do you avoid the wash sale rule? ›

The Bottom Line

This method is employed as a means of lowering the investor's taxable income. 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.

What is the basis of the wash sale rule? ›

The wash-sale rule keeps investors from selling at a loss, buying the same (or "substantially identical") investment back within a 61-day window, and claiming the tax benefit.

Top Articles
Latest Posts
Article information

Author: Arline Emard IV

Last Updated:

Views: 5960

Rating: 4.1 / 5 (52 voted)

Reviews: 83% of readers found this page helpful

Author information

Name: Arline Emard IV

Birthday: 1996-07-10

Address: 8912 Hintz Shore, West Louie, AZ 69363-0747

Phone: +13454700762376

Job: Administration Technician

Hobby: Paintball, Horseback riding, Cycling, Running, Macrame, Playing musical instruments, Soapmaking

Introduction: My name is Arline Emard IV, I am a cheerful, gorgeous, colorful, joyous, excited, super, inquisitive person who loves writing and wants to share my knowledge and understanding with you.