Chen: a loss sale, a quick rebuy and the paperwork
Hypothetical example, not law
A taxable brokerage account, one stock. Chen wants to use a loss and keep an interest in the company.
- FebruaryChen buys the shares.100 shares for $5,600.
- October 6Chen sells all of them at a loss.Proceeds $3,800, loss $1,800.
- October 20, inside the 30-day windowChen buys part of the position back.50 shares for $1,900.
- Filing seasonThe Form 1099-B shows the disallowed part in box 1g because the sale and purchase are in one account. Chen checks it, reports the sale on Form 8949 and puts the amount in column (g) with code W.Disallowed $900, allowed $900.
- A later yearThe replacement shares carry the basis plus the postponed loss and the old holding period. A later sale outside the window uses that basis.Basis of the new shares $2,800.
Chen deducts $900 now. The other $900 comes back through the higher basis of the shares he bought back.
Worked examples on the same rules
Dana: a big loss year and what follows
Hypothetical example, not law
Single, a mix of sales in one year. A large long-term loss and a small short-term gain; the next year a long-term gain.
- Year one: DecemberDana totals the year before the last trade. The net is a loss, so there is no tax on the sales and a limited deduction.Short-term gain $2,300, long-term loss $15,700, net $13,400 loss.
- Year one: filingSchedule D line 21 shows the $3,000 deduction against other income. The Capital Loss Carryover Worksheet shows what is left.Carryover to year two: $10,400, long-term.
- Year two: filingThe carryover goes on Schedule D line 14 and absorbs the new gain before any tax is figured.Gain $6,700 minus carryover $10,400: net loss $3,700.
- Year threeA smaller carryover remains after the second $3,000 deduction.$700 carried to year three.
No tax on the sales in either year, a $3,000 deduction in each, and a small carryover still waiting. The record that matters is the carryover worksheet.
Worked examples on the same rules
Jordan: selling coins held in a wallet
Hypothetical example, not law
Single. All the units are in one wallet that Jordan controls. Jordan bought in two batches and sells part of the holding.
- Before the saleJordan lists the units: when they were bought, the price paid and which wallet holds them. Jordan decides which units to sell and writes the choice down with the date and time of the sale.4 units at $6,300 (January 2023) and 4 units at $9,400 (April 2026).
- The saleJordan sells part of the holding at one price.3 units at $12,600 each.
- If nothing was identifiedThe oldest units are treated as sold, giving a larger long-term gain.Gain $18,900, tax about $2,800.
- If the newer units were identified in timeThe basis is higher and the gain is smaller but short-term.Gain $9,600, tax about $2,300.
- Filing seasonNo Form 1099-DA came, since no broker held the coins, so Jordan reports each sale on Form 8949 in box I or L, and answers yes to the digital assets question on Form 1040.The totals go to Schedule D.
The identification decided both the size and the type of the gain. Without a record made at the time, the oldest-first rule would have applied.
Worked examples on the same rules