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: rates and how a gain stacks

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

Capital gains rates at a glance: short term, long term and the three rates

Short-term means you held the asset a year or less, and the gain is taxed as ordinary income, like wages. Long-term means more than a year, and the gain gets one of three rates: 0%, 15% or 20%. Which one depends on your taxable income, after deductions, and the gain itself counts toward it. For 2026 the zero-rate band ends at $49,450 for a single filer, $98,900 for joint filers and $66,200 for heads of household. The fifteen-percent band ends at $545,500 (single), $613,700 (joint) and $579,600 (head of household), and the top rate applies above that. Some gains have higher maximums: collectibles at up to 28% and the depreciation part of a real property gain at up to 25%. On top of the rate, if your modified adjusted gross income is above $200,000 (single and head of household) or $250,000 (married filing jointly), an extra 3.8% net investment income tax can apply to your gain. The questions below take each piece in turn.
Sources

Authority, strongest first

  1. Code I.R.C. § 1
  2. Code I.R.C. § 1222
  3. Code I.R.C. § 1411
  4. Publication IRS Publication 550 (2025)
Section 1(h)(1) caps the tax on net capital gain at those rates; net short-term gain is outside 1(h) and is taxed under 1(a)-(d) and (j). Band edges: 1(j)(5)(B) and (C), as carried in the federal-2026 library. Collectibles and unrecaptured section 1250 gain: 1(h)(5) and (6). Net investment income tax: 1411(a)(1) and (b), with the gain included under 1411(c)(1)(A)(iii). Details and sources are under each question below.

What are the long-term capital gains rates?

There are three: 0%, 15% and 20%. Which one applies depends on your taxable income. Most people with long-term gains fall in the first two. Short-term gains don't get these rates; they are taxed like wages.
Sources

Authority, strongest first

  1. Code I.R.C. § 1
  2. Publication IRS Publication 550 (2025)
1(h)(1) caps tax on net capital gain at those rates, with higher maximums for unrecaptured section 1250 gain and for collectibles and section 1202 gain. For years after 2017 the band edges are in 1(j)(5) and move with inflation; see the thresholds answer.

Where do the zero, fifteen and twenty percent rates start and stop?

For 2026, the zero-rate band ends at $49,450 of taxable income for a single filer, $98,900 for joint filers and $66,200 for heads of household. The fifteen-percent band ends at $545,500 (single), $613,700 (joint) and $579,600 (head of household). Above that, the top rate applies. These are taxable income, after your deductions, and the gain itself counts toward them.
Sources

Authority, strongest first

  1. Code I.R.C. § 1
  2. Publication IRS Publication 550 (2025)
The dollar bands are the 'maximum zero rate amount' and 'maximum 15-percent rate amount' of 1(j)(5)(B), adjusted for inflation under (C). The federal-2026 library carries the 2026 amounts; the married-filing-separately and estate and trust amounts are in the library too.

How does a gain 'stack' on top of my other income?

Think of your ordinary income filling the lower brackets first. The long-term gain sits on top. The part of the gain that lands in the zero-rate band is taxed at 0%, the next part at 15%, and anything above the top of that band at 20%. One gain can be split across two rates. The Qualified Dividends and Capital Gain Tax Worksheet does the arithmetic.
Sources

Authority, strongest first

  1. Code I.R.C. § 1
  2. Form instructions Instructions for Schedule D (Form 1040) (2025)
1(h)(1)(A) taxes the ordinary income part at regular rates first; (B) through (D) then tax the adjusted net capital gain in the zero, fifteen and twenty percent tiers by reference to the amount of taxable income each tier absorbs. The Schedule D instructions send most filers to the Qualified Dividends and Capital Gain Tax Worksheet, or the Schedule D Tax Worksheet when there is collectibles or section 1202 gain, or unrecaptured section 1250 gain.

How is a short-term gain taxed?

As ordinary income, at the same rates as your wages. It's added to your income and taxed in whatever bracket it falls into. That makes the date you sell matter: waiting past the long-term mark can move the same gain from your top bracket to a capital gains rate.
Sources

Authority, strongest first

  1. Code I.R.C. § 1
  2. Code I.R.C. § 1222
Net short-term gain is not net capital gain under 1222(11) and so is outside 1(h); it is included in taxable income and taxed under 1(a)-(d) and (j). A net short-term loss does reduce net long-term gain before the rate computation.

Are there gains taxed at more than the top rate?

A few. Gain on collectibles (art, coins, certain metals) is taxed at up to 28%. The part of gain on real property that comes from depreciation you took is taxed at up to 25%. And a gain on certain small business stock has its own rules. These are the exceptions that make the worksheet longer, and they come up mostly with art, coins and rental property.
Sources

Authority, strongest first

  1. Code I.R.C. § 1
  2. Form instructions Instructions for Schedule D (Form 1040) (2025)
1(h)(5) collectibles gain and 1(h)(6) unrecaptured section 1250 gain; 1(h)(4) groups section 1202 gain with collectibles gain under the higher maximum rate. The Schedule D instructions have a worksheet for each of those groups and one for unrecaptured section 1250 gain. We did not review section 1202.

What about qualified dividends?

Qualified dividends are taxed at the same rates as long-term capital gains (0%, 15% or 20%), not at ordinary rates. To count, the dividend generally must come from a U.S. corporation or a qualified foreign corporation, and you generally must have held the stock for more than 60 days during a 121-day period around the ex-dividend date. Your 1099-DIV tells you which dividends the payer treats as qualified.
Sources

Authority, strongest first

  1. Code I.R.C. § 1
  2. Publication IRS Publication 550 (2025)
1(h)(11) adds qualified dividend income to net capital gain for the rate computation; (B)(iii) applies the section 246(c) holding-period rule with 60 and 121 days in place of 45 and 91. Pub. 550's rule for common stock matches. Preferred stock has longer periods that the library leaf does not carry.

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: qualified dividend common stock holding
    IRC 1(h)(11)(B)(iii)(I) checked 2026-10-22, review by 2027-01-19
  • Capital gains: fifteen rate maximum taxable income, head of household
    Rev. Proc. 2025-32 sec. 4.03 checked 2026-09-24, review by 2027-01-22
  • Capital gains: fifteen rate maximum taxable income, married filing jointly and surviving spouse
    Rev. Proc. 2025-32 sec. 4.03 checked 2026-09-24, review by 2027-01-22
  • Capital gains: fifteen rate maximum taxable income, single
    Rev. Proc. 2025-32 sec. 4.03 checked 2026-09-24, review by 2027-01-22
  • Capital gains: rates
    26 U.S.C. sec. 1(h) checked 2026-09-24, review by 2027-01-22
  • Capital gains: zero rate maximum taxable income, head of household
    Rev. Proc. 2025-32 sec. 4.03 checked 2026-09-24, review by 2027-01-22
  • Capital gains: zero rate maximum taxable income, married filing jointly and surviving spouse
    Rev. Proc. 2025-32 sec. 4.03 checked 2026-09-24, review by 2027-01-22
  • Capital gains: zero rate maximum taxable income, single
    Rev. Proc. 2025-32 sec. 4.03 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, 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