OptionsKing

Wash sales when options replace stock

A replacement purchase can delay a stock-loss deduction. Trace the loss into the replacement basis and learn why options and other accounts require review.

By OptionsKing. Publisher and editorial methods.

What you will learn

By the end of this lesson, you should be able to:

  1. Identify the period surrounding a loss sale.
  2. Calculate replacement basis in a simple taxable-account wash sale.
  3. Distinguish taxable-account deferral from IRA replacement treatment.

These examples concern U.S. federal tax treatment for an individual nondealer in a taxable account. They exclude fees and special elections unless stated. Rules were reviewed on October 22, 2026; use the current IRS guidance and your transaction records when preparing a return.

Look on both sides of the loss sale

The wash-sale rule can disallow a loss when substantially identical stock or securities are acquired within 30 days before or 30 days after a loss sale. The window includes purchases before the sale; waiting after selling does not undo a qualifying earlier purchase. Acquiring a contract or option to buy substantially identical stock can also matter.

Put assignment actually purchases shares. If it supplies qualifying replacement shares within the window, calling the purchase an assignment does not exempt it. The treatment of other option combinations requires examining the facts; do not assume that every written put automatically creates a wash sale or that all options avoid the rule.

Follow a disallowed loss into basis

Assume 100 Harbor shares with a $5,000 basis are sold for $4,000, producing a $1,000 loss. Ten days later, 100 substantially identical shares are bought in the same taxable account for $4,200. Assume no other transactions or adjustments. The $1,000 loss is disallowed for now and added to the replacement lot's $4,200 cost. Its adjusted basis becomes $5,200, or $52 per share.

If those replacement shares are later sold for $5,500 without another wash sale or adjustment, the gain is $300. That arithmetic preserves the earlier loss in the new basis: the two stock trades together produced a $300 economic gain. The replacement lot also carries the applicable old holding period under the wash-sale rules.

The account matters

IRS Revenue Ruling 2008-5 addresses a taxable-account loss followed by a substantially identical purchase in the individual's IRA or Roth IRA within the window. The loss is disallowed and the IRA's basis is not increased. This is not the same basis deferral shown in the taxable-account example.

Review relevant accounts and replacement transactions, including automatic purchases and assignments. A broker report may not capture every cross-account fact. Partial replacements require matching quantities, and offsetting option positions can involve additional rules. Keep a complete dated record and obtain transaction-specific advice when substantial identity or option treatment is uncertain.

Check your understanding

Does the wash-sale window include purchases before the loss sale?

Let's walk through the answer.

Examine both sides of the loss-sale date.

Sources

Rules and thresholds above were checked against these documents on October 22, 2026. Exchange and broker rules change. Confirm anything you are about to act on with your own broker.

Keep reading

Do the math on your own trade

Every price in this article is an illustrative worked example, not a quote. Read Taxes for sellers for the rest of the series, and the disclaimer before you act on any of it. Selling options carries real risk of loss, and the loss can be far larger than the premium you collected.