Skip to content

General education, not advice for your situation.

Carry Forward Learning Search the site

Capital Gains and the Wash-Sale Rule

Capital gains and wash sales: quick recap

Same facts. Pro adds the full authority stack under each answer.

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 months
    IRC 1222(3) checked 2026-10-19, review by 2027-01-19
  • Digital assets: broker reporting start dates
    Treas. Reg. 1.6045-1(q) checked 2026-10-22, review by 2027-01-19
  • Equity comp: wash sale window days
    IRC 1091(a) checked 2026-10-19, review by 2027-01-19
  • Capital gains: rates
    26 U.S.C. sec. 1(h) checked 2026-09-24, review by 2027-01-22
  • Itemized deductions: capital loss limit vs ordinary income
    26 U.S.C. sec. 1211(b) checked 2026-09-24, review by 2027-01-22
  • Payroll and SE tax: niit rate
    26 U.S.C. sec. 1411(a)(1) checked 2026-09-24, review by 2027-01-22
  • Payroll and SE tax: niit threshold MAGI, married filing jointly and surviving spouse
    IRS Net Investment Income Tax page; 26 U.S.C. sec. 1411(b) checked 2026-10-12, review by 2027-02-09
  • Payroll and SE tax: niit threshold MAGI, married filing separately
    IRS Net Investment Income Tax page; 26 U.S.C. sec. 1411(b)(2) checked 2026-10-12, review by 2027-02-09
  • Payroll and SE tax: niit threshold MAGI, single and head of household
    IRS Net Investment Income Tax page; 26 U.S.C. sec. 1411(b)(3) checked 2026-10-12, review by 2027-02-09