Capital Gains and the Wash-Sale Rule
Capital gains and wash sales: the playbook, start to finish
Your year of selling, start to finish
Plan (before you sell)
- Before each saleCheck the holding period and the basisCount from the day after you acquired it; more than 12 months is long-term. For gifts, inheritances and crypto, get the records first.
- Before a loss saleLook at every account30 days before and after the sale, in your accounts, your IRA, your spouse's and any scheduled investment.
- Before a large gainEstimate your incomeThe gain stacks on top of your other income for the rates, and a high modified adjusted gross income can bring the 3.8% net investment income tax.
Act (the sale)
- At or before the saleIdentify the lotTell the broker which shares or units to sell. For coins in a wallet you control, write down the units, date and time.
- Trade dateNote the dateThe trade date sets the tax year and the holding period, not the settlement date.
- December 31Year-end checkpointThe last trade date for this tax year. Check the net of gains and losses and the wash sale window before the last trade.
Gather (January to February)
- February 16, 2027Form 1099-B due to youMatch the sales and the basis to your records. Form 1099-DA follows the same pattern for digital assets.
- As they arriveGet the records for gifts and inherited propertyThe donor's cost and the gift date and value; the date-of-death values and Schedule A of Form 8971, if one was sent.
File (by the return due date)
- Before you fileFix the basis and add wash salesCode B for a wrong basis; code W for a wash sale loss, including the ones in other accounts.
- Before you fileUse last year's carryoverSchedule D lines 6 and 14, from last year's carryover worksheet.
- April 15, 2027Return dueForm 8949 and Schedule D, Form 8960 if the net investment income tax applies, and the digital assets question on Form 1040.
Keep records
- Until well after the last saleKeep the purchase and sale recordsConfirmations, statements, the carryover worksheet and, for crypto, the lot records with dates, units and dollar values.
Where the numbers come from
Checked
Every figure above comes from the source listed here, with the date we checked it and the date it is due for a re-check.
- Capital gains: long term holding more than monthsIRC 1222(3) checked 2026-10-19, review by 2027-01-19
cf-2026:capital_gains.long_term_holding_more_than_months - Deadlines: form 1099 b 2026IRC 6045(b) checked 2026-10-19, review by 2027-02-16
cf-2026:deadlines.form_1099_b_2026 - Deadlines: individual return 2026IRC 6072(a) checked 2026-10-19, review by 2027-02-16
cf-2026:deadlines.individual_return_2026 - Equity comp: wash sale window daysIRC 1091(a) checked 2026-10-19, review by 2027-01-19
cf-2026:equity_comp.wash_sale_window_days - Payroll and SE tax: niit rate26 U.S.C. sec. 1411(a)(1) checked 2026-09-24, review by 2027-01-22
federal-2026:payroll_and_se_tax.niit_rate_pct