Taxes ·
Wash Sales Explained for Beginners: What They Are and Why They Matter
Understanding the IRS wash sale rule can save you from unexpected tax surprises — especially if you trade often
Free: the Financial Independence Starter Kit, a net worth tracker and FIRE calculator that show where you stand and when work could become optional.

When I first started investing, the term wash sale confused and honestly scared me. I’d see it mentioned in tax forms and articles, and my reaction was always the same: “What is this, and how can I avoid it?”
Like many beginners, I thought it was something terrible — a mistake that could ruin my tax return. The truth is, it’s not as scary as it sounds once you understand why it exists and how it works.
What Is a Wash Sale (and Why It Exists)
A wash sale happens when you sell a stock or security at a loss and then buy the same (or a “substantially identical”) security within 30 days before or after the sale.
The IRS created this rule to prevent investors from taking artificial tax losses — that is, selling a stock just to claim a deduction and then immediately buying it back to keep the same position.
But here’s an important point many people miss: wash sales are not illegal. They’re perfectly allowed. What matters is that you understand the impact they have on your taxes and recordkeeping.
When a wash sale occurs, the IRS simply disallows the loss for that tax year. Instead, the disallowed loss is added to the cost basis of the repurchased shares. That means the loss isn’t gone forever — it’s deferred until you sell those new shares.
So it’s not a penalty, it’s a timing adjustment — but one you need to track carefully.
Why It Matters
Wash sales mainly affect active traders, swing traders, and investors with automatic recurring buys — like those practicing dollar-cost averaging.
The impact isn’t about fines or legal trouble. It’s about timing and clarity. Your short-term tax picture might look worse because you can’t use the loss this year, and it makes recordkeeping a bit trickier.
Understanding this early saves you confusion — and potentially, a headache at tax time.
A Simple Example
Let’s say you bought 100 shares of Company X at $50 each, then sold them at $40 — a $1,000 loss.
Two weeks later, you buy the same stock again at $40.
That $1,000 loss isn’t lost. It’s simply added to your new cost basis. So instead of owning your new shares at $40, your adjusted cost basis becomes $50.
When you eventually sell those shares, that deferred loss will finally count.
How to Avoid Wash Sales (or Handle Them Like a Pro)

Most investors tend to do tax-loss harvesting near the end of the year — usually in December — to offset capital gains. That can be a smart move, but it’s also when many accidentally trigger wash sales.
If you still believe in the company or ETF you just sold, it’s tempting to buy it back too soon, especially if the price dips right after you sell. But doing that within the 30-day window triggers a wash sale, which delays your ability to claim the loss.
To manage this properly:
-
Wait at least 31 days before buying back the same stock or fund.
-
If you want to stay invested, buy a similar but not identical ETF (for example, selling VOO and buying SCHX).
-
Check dividend reinvestment plans (DRIPs) and automatic buys, which can trigger wash sales unintentionally.
-
Use your brokerage’s tax reports — most platforms like IBKR, Fidelity, or Schwab automatically flag wash sales for you.
Remember: wash sales are not something to fear — but something to understand and manage.
My Personal Take
When I started investing, I unknowingly triggered a few wash sales. Seeing them listed in my brokerage statement was intimidating — I thought I had made a serious mistake.
At first, I was anxious because I didn’t understand what it meant or how it would affect my taxes. But after taking the time to read more about it and learn the mechanics behind the rule, I realized it wasn’t something to fear — just something to understand.
Now, if I ever find myself in a situation where a wash sale might occur, I can make an informed decision. Sometimes it’s worth accepting a wash sale if I believe strongly in the company or ETF and want to hold my position long-term. The key is awareness — knowing what you’re doing and why.
Final Thoughts
Wash sales are not illegal, but they can be confusing if you don’t know how they affect your taxes. Understanding them helps you make smarter decisions, stay compliant, and focus on what really matters — building long-term wealth.
Being patient with your trades not only helps you avoid wash sales but also strengthens your long-term investing discipline.
So next time you sell at a loss, take a breath — and give it 31 days. Patience, in investing and in life, often pays the best dividends.