Money Facts To Know
← All posts

Rebuy within 30 days and your loss can't be deducted

· View on Instagram · View on Facebook

Rebuy within 30 days and your loss can't be deducted
What most people assume. Selling a loser in December to book the loss, then buying the same stock right back, is a common year-end move. The assumption is that the loss still counts this year.

What most people assume

Selling a loser in December to book the loss, then buying the same stock right back, is a common year-end move. The assumption is that the loss still counts this year.

The rule: a 61-day window. A loss on stock or securities can't be deducted if you buy substantially identical ones within 30 days before or after the sale. A contract or option to buy them counts too.

The rule: a 61-day window

A loss on stock or securities can't be deducted if you buy substantially identical ones within 30 days before or after the sale. A contract or option to buy them counts too.

Source: 26 U.S.C. §1091(a)

Count 30 days each way. In a fictional example, a sale on Dec 10, 2026 makes the window Nov 10, 2026 to Jan 9, 2027. Shares bought up to 30 days before the sale count too.

Count 30 days each way

In a fictional example, a sale on Dec 10, 2026 makes the window Nov 10, 2026 to Jan 9, 2027. Shares bought up to 30 days before the sale count too.

The math: Dec 10 ± 30 days = Nov 10 to Jan 9; 30 + 1 + 30 = 61 days.

Source: 26 CFR §1.1091-1

The loss moves into the new shares. Fictional: bought for $5,000, sold for $3,000, a $2,000 loss. Rebuying the same number of shares on Dec 20 for $3,100 adds the disallowed loss to the new basis.

The loss moves into the new shares

Fictional: bought for $5,000, sold for $3,000, a $2,000 loss. Rebuying the same number of shares on Dec 20 for $3,100 adds the disallowed loss to the new basis.

The math: $3,100 paid + $2,000 disallowed loss = $5,100 basis

Source: 26 U.S.C. §1091(d)

Deferred, not erased (in a taxable account). Fictional: the new shares later sell for $4,000, both trades in a taxable account, so the net is −$1,100 either way. The holding period carries over, and tax rates can still change the dollars.

Deferred, not erased (in a taxable account)

Fictional: the new shares later sell for $4,000, both trades in a taxable account, so the net is −$1,100 either way. The holding period carries over, and tax rates can still change the dollars.

The math: $4,000 − $5,100 = −$1,100; or −$2,000 + $900 = −$1,100

Source: 26 U.S.C. §1091(d), §1223(3)

Where it catches people. Your 1099-B (the form your broker sends) must flag it in box 1g only for the same covered security (same CUSIP) in the same account. A rebuy elsewhere may not show, but the rule still applies whether or not your broker reports it.

Where it catches people

Your 1099-B (the form your broker sends) must flag it in box 1g only for the same covered security (same CUSIP) in the same account. A rebuy elsewhere may not show, but the rule still applies whether or not your broker reports it.

The math: A rebuy in your IRA or Roth IRA means the loss is lost, not deferred.

Source: IRS Form 1099-B instructions; Rev. Rul. 2008-5

Sources and assumptions

Assumptions:

The short version

Follow @moneyfactstoknowSave this post on Instagram

More posts