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: netting gains and losses

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

How do my gains and losses net against each other?

In two rounds. First, short-term gains and losses net against each other, and long-term gains and losses net against each other. Second, those two results offset each other. A net long-term gain is taxed at the capital gains rates; a net short-term gain is taxed as ordinary income; a net overall loss goes to the loss limit and carryover. Schedule D runs these steps for you.
Sources

Authority, strongest first

  1. Code I.R.C. § 1222
  2. Form instructions Instructions for Schedule D (Form 1040) (2025)
  3. Publication IRS Publication 550 (2025)
1222(5)-(8) define the four net amounts; 1222(9) capital gain net income and (10) net capital loss; 1222(11) net capital gain. Schedule D lines 7 and 15 are the first-round nets; line 16 combines them; the Pub. 550 text says to see 'Capital Losses' if line 16 is a loss and 'Capital Gain Tax Rates' if lines 15 and 16 are both gains.

What does 'net capital gain' mean?

It's the tax law's name for the long-term gain left after subtracting any net short-term loss. It is the amount that gets the lower rates. A short-term loss, in other words, can wipe out long-term gain that would have been taxed at 15%, which is why short-term losses are still useful.
Sources

Authority, strongest first

  1. Code I.R.C. § 1222
  2. Code I.R.C. § 1
1222(11): net capital gain is the excess of net long-term capital gain over net short-term capital loss. 1(h)(11)(A) also adds qualified dividend income to net capital gain for the rate computation.

What are capital gain distributions from a fund?

When a mutual fund or REIT sells holdings at a profit and passes the gain to you, your Form 1099-DIV shows it as a capital gain distribution. You report it on Schedule D line 13 (or directly on Form 1040 in simple cases), and it counts as long-term no matter how long you owned the fund. If you reinvest it, the reinvested shares have their own purchase date and basis.
Sources

Authority, strongest first

  1. Publication IRS Publication 550 (2025)
  2. Form instructions Instructions for Schedule D (Form 1040) (2025)
Pub. 550 (Capital Gain Distributions): report on Form 1040 line 7a or Schedule D line 13; distributions of net realized short-term gain from a fund are ordinary dividends. Reinvested distributions start a new holding period on the day after the purchase of the new shares.

More questions

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: rates
    26 U.S.C. sec. 1(h) checked 2026-09-24, review by 2027-01-22