top of page
Search

The Wash-Sale Trap: Why Your 1099-B is "Lying" to You (and the IRS)

  • Writer: Yanay Lehavi
    Yanay Lehavi
  • Jan 10
  • 5 min read

Updated: Jan 11

If you trade across multiple accounts—say, Account A for quick plays and Account B for long-term holds—you are likely sitting on a ticking tax time bomb.



Most traders know the "Golden Rule" of tax-loss harvesting: if you sell at a loss, you can’t buy the same stock back immediately. But there is a "dirty little secret" in the brokerage industry. Account A doesn't talk to Account B. And if you aren't careful, that silence could cost you thousands in overpaid taxes or a painful IRS audit.

Here is how the "Wash-Sale Trap" works, and why ignoring it could cost you thousands in overpaid taxes or a painful IRS audit.

The 61-Day Invisible Fence

The IRS doesn't just look at the day you sold a stock for a loss. They look at a 61-day window surrounding that sale.

Under Internal Revenue Code (IRC) §1091, a wash sale occurs if you sell a security at a loss and, within 30 days before or 30 days after that sale, you buy "substantially identical" stock or securities.

  • 30 Days Before: The "Pre-Wash." You can't buy 100 shares today and sell your old 100 shares for a loss tomorrow.

  • Day 0: The day of the sale.

  • 30 Days After: The "Post-Wash." You can't sell for a loss and "jump back in" next week.

If you cross this fence, your loss is disallowed. You can't use it to offset your gains this year.

The Deferral: It’s Not Gone, Just "Parked"

A wash sale isn't a "fine" where your money disappears. It is a deferral. The IRS essentially says: "Fine, you want to keep owning NVDA? You can't claim the loss now. Instead, we’re going to 'attach' that loss to your new shares."

This happens via a Basis Adjustment.

Example:

  1. You buy NVDA at $500.

  2. The market dips. You sell at $300. (You have a $200 loss).

  3. Two days later, you buy it back at $400.

  4. The Math: Your $200 loss is disallowed. Your new cost basis isn't $400; it's $600 ($400 purchase + $200 deferred loss).

When you finally sell those new shares for good, that $600 basis ensures you finally get the benefit of that $200 loss.

The "Internal Silo" (The Real Danger)

The system works perfectly if you stay in one account. But almost no active trader does.

Brokers are only required to report wash sales within the same account. If you sell NVDA at a loss in Account A and buy it back in Account B, the broker(s) will issue you 1099-B forms showing a "valid" deductible loss for Account A and a "clean" basis for Account B.

Neither account knows a wash sale occurred. This is where the nightmare begins.

Scenario A: The Overpayment Trap

Believe it or not, the most common victim of a wash sale across accounts is the person who overpays the government.

Let’s say you sell NVDA at a $5,000 loss in Account A and buy it back in Account B within the window.

  • Six months later, you sell the shares in Account B for $12,000 (having bought them for $10,000).

  • The 1099-B reports a $2,000 gain.

  • The Reality: Because of the wash sale, your true basis was $15,000 ($10k + $5k deferred loss). You actually had a $3,000 loss.

If you don't have a system like CapitalGain.AI to track that basis moving from Account A to Account B, you will pay taxes on a $2,000 profit that never actually existed.

You’ve effectively "donated" the tax on $5,000 to the IRS. Congrats!



Scenario B: The Audit and the Fine

On the flip side, some traders use multiple accounts to try and trick the system. They take the $5,000 loss from Account A to offset other gains, hoping the IRS won't notice the buy at Account B.

The IRS Audit Risk: The IRS uses a system called the Automated Under-reporter (AUR). In 2026, the IRS is increasingly using AI to flag traders who show massive losses in one account and high-volume buying in another.

If you are audited:

  1. Disallowance: They will strike the $5,000 loss from your return.

  2. Back Taxes: You’ll owe the tax on that $5,000 immediately.

  3. The Penalty: You can be hit with an Accuracy-Related Penalty (20% of the underpayment) plus interest compounding from the day you filed.

  4. The "Double Tax": Since the audit usually happens years later, you might have already sold the replacement shares. If you didn't adjust the basis then, you’ve already paid too much tax on the sale, and getting that money back from a closed tax year is a bureaucratic nightmare.

How to Stay Safe: Form 8949

The only way to handle this correctly is through IRS Form 8949. This is where you tell the IRS: "My broker said I had a $5,000 loss, but I am manually adjusting it because I know it was a wash sale." You use Adjustment Code "W" to disallow the loss on the Account A side and manually increase your basis on the Account B side.

The "Same Broker" Myth

Don’t assume that staying loyal to one firm protects you. Even if you have two accounts at the same brokerage—perhaps a "Long Term" account and a "Day Trading" account—the broker is only legally required to report wash sales occurring within the same account. Under Treasury Regulation §1.6045-1, a broker can issue you two separate 1099-Bs that are each "clean" on their own, but when combined, contain a massive, hidden wash-sale error. The IRS doesn't care that your broker didn't flag it; the burden is on you to look across all your accounts and reconcile the data on Form 8949.

The "Invisible" Internal Silos

This reporting gap exists because brokers treat different account numbers as separate legal silos. If you sell NVDA at a loss in your individual account and buy it back an hour later in your joint account at the same broker, that loss will likely show as "deductible" on your 1099-B. This creates a false sense of security that often leads to a "matching notice" from the IRS. By the time the IRS computers flag the discrepancy between your various 1099-Bs, you could be facing years of accumulated interest and penalties on a loss that was never actually allowed.

The Ultimate Penalty: The IRA "Vaporization"

The most dangerous wash sale doesn't happen between two taxable accounts—it happens when you buy the replacement shares in an IRA or Roth IRA. If you sell a stock at a loss in Account A and buy it back in your IRA (even at the same firm) within 30 days, the loss is not just deferred; it is permanently disallowed. Per IRS Revenue Ruling 2008-5, you cannot add the disallowed loss to the basis of the shares in your IRA. Because an IRA is a tax-advantaged "black box," that loss effectively vanishes into thin air, providing you zero tax benefit now or in the future. This is the ultimate "unforced error" of tax-loss harvesting.



The Bottom Line

Your investment accounts are silos. They provide "good enough" data for the average person with one account, but if you have more than one account, those 1099-Bs are incomplete.

To avoid overpaying or ending up in an IRS interrogation room, you need a "Source of Truth" that sees the big picture—tracking every tax lot as it moves across the "bridge" from one account to the next.

Does the CapitalGain.AI app do all this for you? You bet.

More importantly, with CGai you don't have to wait until the 1099-Bs arrive (and it's too late to do anything). CGai shows you where you stand in real time, every day, so you trade the right things in the right accounts and don't lose the money that the IRS owes you.




 
 
 

Comments


bottom of page