Futures
Access hundreds of perpetual contracts
TradFi
Gold
One platform for global traditional assets
Options
Hot
Trade European-style vanilla options
Unified Account
Maximize your capital efficiency
Demo Trading
Introduction to Futures Trading
Learn the basics of futures trading
Futures Events
Join events to earn rewards
Demo Trading
Use virtual funds to practice risk-free trading
Launch
CandyDrop
Collect candies to earn airdrops
Launchpool
Quick staking, earn potential new tokens
HODLer Airdrop
Hold GT and get massive airdrops for free
Pre-IPOs
Unlock full access to global stock IPOs
Alpha Points
Trade on-chain assets and earn airdrops
Futures Points
Earn futures points and claim airdrop rewards
Promotions
AI
Gate AI
Your all-in-one conversational AI partner
Gate AI Bot
Use Gate AI directly in your social App
GateClaw
Gate Blue Lobster, ready to go
Gate for AI Agent
AI infrastructure, Gate MCP, Skills, and CLI
Gate Skills Hub
10K+ Skills
From office tasks to trading, the all-in-one skill hub makes AI even more useful.
GateRouter
Smartly choose from 40+ AI models, with 0% extra fees
So you've got a losing position in your portfolio and you're thinking about selling it to claim that tax deduction. Smart move, right? Well, there's a catch—and it's called the wash sale rule. Let me break down what you actually need to know about this.
The IRS lets you deduct up to $3,000 in investment losses from your ordinary income each year (or $1,500 if you're married filing separately). Anything beyond that carries over to future years. That's genuinely helpful for managing your tax bill. But here's where most people slip up: if you sell an investment at a loss and then turn around and buy back the same thing—or something substantially similar—within a specific timeframe, the IRS won't let you claim that loss. That's the wash sale rule in a nutshell.
The timeframe is where people get confused. The rule covers 30 days before the sale and 30 days after, which sounds like 60 days. But because it includes the actual day you sold, you're really looking at a 61-day window where you can't repurchase the same or substantially identical investment. And this applies across all your accounts—your brokerage, your IRA, even accounts your spouse controls. The IRS sees it all as one portfolio.
Why does this rule even exist? The government doesn't want you gaming the system by claiming a fake loss. You sell something at a dip, grab the tax deduction, then immediately rebuy it at a better cost basis. That's not a real loss—that's just market timing with a tax break attached. So they blocked it.
Now, what counts as "substantially identical"? With stocks, it's pretty straightforward. Sell Company A shares, and you can't buy Company A shares back. But buy Company B in the same sector? That's usually fine. Things get messier with mutual funds and ETFs though. You can't sell one tech index fund and immediately buy another tech index fund tracking the same benchmark. They're too similar in the IRS's eyes.
If you accidentally trigger the wash sale rule, you lose that deduction entirely for that year. But here's a small consolation: you can add the disallowed loss to your new cost basis on the repurchased investment. This raises what you paid for it on paper, which could save you on capital gains taxes down the line.
The simplest way to avoid all this? Wait the full 30 days after selling before buying back in. If you can't stand having cash sitting idle, put it into something genuinely different—a different sector, a different asset class, something that's not going to trigger the wash sale rule. Some people use robo-advisors to handle tax-loss harvesting automatically and keep them compliant.
One thing worth noting: cryptocurrency used to be exempt from the wash sale rule because it's not technically a security. That gave crypto traders a unique advantage—they could sell at a loss, claim the deduction, and immediately rebuy. But there's been ongoing discussion about closing that loophole, so if you're trading crypto, definitely check with a tax professional about current rules before you assume that still applies.
The bottom line? The wash sale rule isn't trying to punish you. It's just making sure that tax deductions actually represent real losses, not just accounting tricks. Understand the 61-day window, know what counts as substantially identical, and you'll stay clean.