Wash Sale Rule for Day Traders

What is the wash sale rule?

The wash sale rule is a federal tax rule that disallows a loss on the sale of stock or securities when a substantially identical position is bought within 30 days before or after that sale. It exists to stop a trader from claiming a tax deduction on a loss while staying in essentially the same position. The rule sits in IRS Publication 550 and applies to anyone trading stocks and securities, which makes it part of how day traders pay taxes whether or not they ever stop to think about it.

The timing produces the commonly cited 61-day window: the 30 days before a loss sale, the day of the sale itself, and the 30 days after. A repurchase anywhere inside that span flags the loss as a wash. The size of the loss does not matter, intent does not matter, and the rule reaches losses only. A gain on a fast round trip is taxable as usual and is never deferred by these provisions.

How does the wash sale rule work?

The wash sale rule works by disallowing the loss on the original sale and rolling that disallowed amount into the cost basis of the replacement shares. The loss is not erased. It is deferred and attached to the new position, where it reduces a future gain or enlarges a future loss once those replacement shares are sold in a clean transaction.

A short example shows the mechanics. A trader buys 100 shares at $50, sells them at $40 for a $1,000 loss, then buys 100 shares of the same stock three days later at $42. The $1,000 loss is disallowed for the current year and added to the basis of the new shares, so their cost basis becomes $5,200 rather than $4,200. The holding period of the original shares carries over to the replacement as well, which can affect whether a later sale counts as long term or short term.

That basis adjustment is the part traders most often overlook. The deduction is delayed, not destroyed, provided the replacement position is eventually closed outside any wash window.

How does the wash sale rule affect day traders?

The wash sale rule affects day traders far more than buy-and-hold investors because active traders move in and out of the same tickers many times inside the 30-day window, generating wash sales in bulk. A scalper who trades the same stock every morning will trip the rule on nearly every losing trade, since a fresh purchase almost always lands within 30 days of a prior loss in that name.

Through most of the year this nets out. Disallowed losses keep flowing into the basis of the next position, and by the time the trader fully exits the name the math generally resolves itself. The trouble concentrates at year end. A loss disallowed in December that attaches to shares still held on December 31 cannot be claimed for the current tax year, which can inflate reported gains for a year the trader actually finished near break-even.

Two further effects deserve attention. Wash sales can be triggered across a trader’s own accounts, so a loss in a taxable account paired with a repurchase in an IRA disallows the loss with no basis adjustment available to recover it, which makes that loss permanent. The record-keeping load is also heavy, because every disallowed loss has to be tracked and matched to the correct replacement lot before the year closes.

What counts as a substantially identical security?

A substantially identical security is generally the same stock, or one interchangeable with it, and the term also reaches options and contracts to acquire that stock. Repurchasing the exact same ticker is the clearest case. Call options and other contracts to acquire the same shares count too, so selling a stock at a loss and opening a call on the same name inside the window can still trigger the rule.

Stock in two different companies is normally not substantially identical, even when both operate in the same sector. The determination turns on facts and circumstances rather than a fixed formula, and the IRS has not published a clean test that settles every case, particularly around funds that track the same index. Because the standard is fact specific, the conservative reading is the literal one: the same security, its options, and contracts to acquire it sit squarely inside the rule.

How can day traders manage wash sale problems?

Day traders manage wash sale problems through accurate record-keeping, awareness of the 30-day window around any realized loss, and, for those who qualify, the mark-to-market election. Brokers report wash sales on the 1099-B, but a broker only tracks them for identical securities inside a single account, so the figure on the form can diverge from a trader’s full cross-account picture. Reconciling the two is where most reporting errors surface.

Clean trade records are the foundation, and a trading journal that logs entries, exits, and lot detail makes the year-end reconciliation far less painful than rebuilding it from broker statements in April. Dedicated trader-tax software can flag disallowed losses automatically and map them to replacement lots. For a trader whose volume makes manual tracking impractical, the structural answer is the mark-to-market election, which removes the problem at the source rather than handling it one trade at a time.

Does the mark-to-market election remove the wash sale rule?

A valid Section 475(f) mark-to-market election removes the wash sale rule for a qualifying trader, because open positions are marked to fair market value at year end and gains and losses become ordinary, so the wash sale rules no longer apply. The election is open only to a trader who first qualifies for trader tax status, a standard that depends on the frequency, volume, and continuity of the trading activity rather than a single dollar threshold.

Mark-to-market changes more than wash sale treatment. Gains and losses are reported as ordinary income, so trading losses are not capped by the annual $3,000 limit on capital losses deducted against ordinary income, though long-term capital gains rates come off the table for those positions in exchange. The election is generally made by the unextended due date of the prior year’s return, takes effect going forward, and is difficult to revoke once in place, which makes it a decision with consequences well beyond wash sales.

Futures traders sit outside this problem from the start. Section 1256 contracts, which include regulated futures, are marked to market by default, with gains and losses recognized at year end whether or not the position was closed, and the wash sale rule does not apply to them. A trader working only in Section 1256 contracts never needs the 475(f) election to escape wash sales, because the rule was never in play.

How are wash sales reported on a tax return?

Wash sales are reported on Form 8949, with the disallowed loss entered as a positive number in column (g) under adjustment code W, and the column totals then carrying to Schedule D. Each affected sale is listed individually, the wash sale adjustment reduces the deductible loss on that line, and the broker’s 1099-B figures get reconciled against the trader’s own records along the way. A trader who has made the mark-to-market election reports differently, using Form 4797 for ordinary gains and losses, where wash sale adjustments never appear.

This covers US federal treatment. State tax rules for trading gains and losses vary from state to state and fall outside the scope here.

Wash sales rarely stand alone on an active trader’s return, which is why the rule is best weighed alongside the rest of the picture, including day trading tax deductions and any election decisions. Tax situations are individual and the rules change from year to year, so a trader should consult a qualified CPA or tax professional before acting on any of this.

Last Updated: