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: short-term

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

What's the difference between short-term and long-term?

Short-term means you held the asset a year or less. Long-term means more than a year. Short-term gains are taxed as ordinary income, the same as wages. Long-term gains get the lower capital gains rates (0%, 15% or 20%). A loss is also short-term or long-term, and that matters for how losses net against gains.
Sources

Authority, strongest first

  1. Code I.R.C. § 1222
  2. Code I.R.C. § 1
  3. Publication IRS Publication 550 (2025)
1222(1) and (3) use 'not more than 1 year' and 'more than 1 year'; the federal-2026 library carries the long-term test as more than 12 months. Net capital gain, defined in 1222(11) as net long-term gain over net short-term loss, is what 1(h) taxes at the lower rates.

How do I count the holding period?

Start counting the day after you acquired it. The day you sell is included. Buy on March 3 and sell on March 3 of the next year and you've held it exactly a year, which is still short-term. Sell one day later and it's long-term. Use the trade date, not the settlement date.
Sources

Authority, strongest first

  1. Code I.R.C. § 1222
  2. Publication IRS Publication 550 (2025)
Pub. 550 (Holding Period): 'begin counting on the date after the day you acquired the property. The day you disposed of the property is part of your holding period.' For securities traded on an established market the holding period ends on the trade date, not the settlement date, and a December trade that settles in January is a sale in December.

How long did I hold shares I received as a gift?

It depends on which basis you use. If your basis is the donor's basis (the usual case), you count the time the donor held them too. If you have a loss and use the lower value at the date of the gift, the clock starts the day after the gift. See the gift basis question for why there can be two bases.
Sources

Authority, strongest first

  1. Code I.R.C. § 1223
  2. Code I.R.C. § 1015
  3. Publication IRS Publication 550 (2025)
1223(2) tacks the donor's holding period when your basis is the donor's basis. Pub. 550: if the basis is determined by fair market value, the holding period starts on the day after the gift.

How long did I hold inherited shares?

Treat them as long-term. If you sell property you received from a decedent within a year of the death, it is treated as held more than a year. Pub. 550 says the same for inherited property generally: a later sale is long-term no matter how long you held it. On Form 8949 you write INHERITED where the date acquired goes.
Sources

Authority, strongest first

  1. Code I.R.C. § 1223
  2. Publication IRS Publication 550 (2025)
  3. Form instructions Instructions for Form 8949 (2025)
1223(9) applies when the basis is determined under 1014 and the property is sold within a year of death. Form 8949's column (b) instruction: enter 'INHERITED' and use Part II.

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: long term holding more than months
    IRC 1222(3) 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