Capital Gains and the Wash-Sale Rule
Capital gains and wash sales: quick recap
Quick recap
Capital Gains and the Wash-Sale Rule: the quick recap
- Long-term = held more than 12 months, counted from the day after you acquired it through the trade date of the sale. Rates 0%, 15% or 20%.
- Short-term gains are taxed as ordinary income. Net short-term loss reduces long-term gain first.
- Net loss: deduct up to $3,000 a year against other income (half that if married filing separately); carry the rest forward with its character.
- Wash sale: a purchase of the same or substantially identical investment within 30 days either side of a loss sale. Your IRA counts; the IRS says your spouse's purchase does too.
- Wash sale loss goes into the basis of the replacement shares and the holding period carries over; in an IRA it is lost.
- Gift: donor's basis for a gain, the lower gift-date value for a loss, and neither in between. Inherited: date-of-death value, always long-term.
- No identification of the lot sold: oldest shares first. Mutual funds may use average basis.
- Form 1099-B or Form 1099-DA, then Form 8949 (code B for basis, code W for a wash sale loss), then Schedule D.
- Crypto is property. Form 1099-DA: gross proceeds for sales on or after January 1, 2025; basis for custodial acquisitions on or after January 1, 2026. Digital assets use Form 8949 boxes G to L.
- 3.8% net investment income tax above $200,000 (single), $250,000 (joint) or $125,000 (married filing separately).
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 - Digital assets: broker reporting start datesTreas. Reg. 1.6045-1(q) checked 2026-10-22, review by 2027-01-19
cf-2026:digital_assets.broker_reporting_start_dates - 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 - Capital gains: rates26 U.S.C. sec. 1(h) checked 2026-09-24, review by 2027-01-22
federal-2026:capital_gains.rates - Itemized deductions: capital loss limit vs ordinary income26 U.S.C. sec. 1211(b) checked 2026-09-24, review by 2027-01-22
federal-2026:itemized_deductions.capital_loss_limit_vs_ordinary_income - 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 - Payroll and SE tax: niit threshold MAGI, married filing jointly and surviving spouseIRS Net Investment Income Tax page; 26 U.S.C. sec. 1411(b) checked 2026-10-12, review by 2027-02-09
federal-2026:payroll_and_se_tax.niit_threshold_magi.married_filing_jointly_and_surviving_spouse - Payroll and SE tax: niit threshold MAGI, married filing separatelyIRS Net Investment Income Tax page; 26 U.S.C. sec. 1411(b)(2) checked 2026-10-12, review by 2027-02-09
federal-2026:payroll_and_se_tax.niit_threshold_magi.married_filing_separately - Payroll and SE tax: niit threshold MAGI, single and head of householdIRS Net Investment Income Tax page; 26 U.S.C. sec. 1411(b)(3) checked 2026-10-12, review by 2027-02-09
federal-2026:payroll_and_se_tax.niit_threshold_magi.single_and_head_of_household