Taxes · Capital gains and losses
Holding period rules: counting days, tacking and special cases
How the IRS counts a holding period for tax year 2026, with month-end and leap-day calendars, gifts, inherited shares, wash sales, options, short sales and straddles.
On this page
Whether a gain is taxed at the ordinary rates of up to 37% or at the long-term rates of 0%, 15% and 20% turns on one question: did you hold the asset more than one year? The answer looks like a matter of looking at a calendar, and most of the time it is. But the law counts days in a particular way, and a long list of events lets a holding period start earlier or later than the day you bought.
This page covers the counting rule itself, with worked calendars for month ends, year ends and a leap day, then the cases where the tax code adds someone else's holding period to yours ("tacking"): gifts, inherited shares, wash-sale replacement shares, stock dividends, splits and spin-offs. It finishes with the events that restart or suspend the clock: exercising an option, short sales and straddles.
Everything here is US federal law, tax year 2026, from IRS Publication 550 (2025 edition) and Internal Revenue Code §1223. The basics of short- versus long-term rates are in Capital gains tax on stocks: 2026 rates, holding periods and basis; this page goes into the edges. It is general education, not tax advice.
The counting rule
Publication 550 gives the rule in two sentences: begin counting on the day after you acquired the property, and include the day you disposed of it. If the total is more than one year, the gain or loss is long-term. If it is one year or less, it is short-term.
For stocks, ETFs and other securities traded on an exchange, both ends are trade dates. Your holding period begins the day after the trade date of the purchase and ends on the trade date of the sale. The settlement date, one business day later under today's T+1 cycle, plays no part. Publication 550 gives the year-end version: a sale on December 31 that settles in January is reported in the year of the trade, and the holding period ended on December 31.
"More than one year" is measured on the calendar, not by counting 365 days. A year that runs over a February 29 contains 366 days, and the rule still asks only whether the sale falls after the one-year mark.
Worked calendars
| Bought (trade date) | Last short-term sale date | First long-term sale date |
|---|---|---|
| June 15, 2026 | June 15, 2027 | June 16, 2027 |
| January 31, 2026 | January 31, 2027 | February 1, 2027 |
| December 31, 2025 | December 31, 2026 | January 1, 2027 |
| February 29, 2024 | February 28, 2025 | March 1, 2025 |
The pattern is the same in every row: the first long-term sale date is the day after the anniversary of the purchase. Three of the rows deserve a closer look.
- Month end. Publication 550's own example uses a January 31, 2024 purchase: a sale on January 29, 2025 is short-term and one on February 6, 2025 is long-term. Counting from February 1, 2024, the first is 364 days and the second 372. Our January 31, 2026 row puts the line exactly: January 31, 2027 is the last short-term day.
- Year end. Shares bought on December 31, 2025 cannot produce a long-term gain on the 2026 return at all. A December 31, 2026 sale is short-term; the first long-term trade is January 1, 2027, which falls on the 2027 return. In practice January 1 is a market holiday, so the first trade available is later still.
- Leap day. Shares bought on February 29, 2024 start their holding period on March 1, 2024. One year from that start runs through February 28, 2025, so March 1, 2025 is the first long-term sale date. This row is our own application of Publication 550's counting rule; the publication has no leap-day example. The reverse case, shares bought on March 1, 2023, became long-term on March 2, 2024, after 367 days, because the year in between contained February 29.
Several lots, one sale
Each purchase is its own lot with its own holding period. Reinvested dividends are no exception: every dividend reinvestment buys a new lot on its own date, so a fund held for five years with quarterly reinvestment contains twenty lots, and the four bought in the last twelve months are short-term. A sale of the whole position can therefore produce both short- and long-term results, which Publication 550 says go on separate rows of Form 8949 (Part I and Part II). Brokers report covered short- and long-term lots on separate 1099-B entries for the same reason.
For shares bought through an automatic investment service, Publication 550 adds a detail: full shares are treated as bought first and fractional shares last, and a share assembled from several purchases has a split holding period. If you use the average basis method for fund shares, the shares sold are still treated as the ones acquired first when deciding what is short- and long-term. The method choice is explained in Cost basis methods: FIFO, specific ID, average cost, HIFO and LIFO.
When someone else's holding period counts: tacking
Section 1223 of the Code lists situations where your holding period includes an earlier period, either the time you held other property or the time another person held this property. Tax professionals call this tacking.
Gifts (§1223(2))
When you receive stock as a gift and your basis is the donor's adjusted basis, your holding period starts on the day the donor's holding period started. A parent who bought shares in 2015 and gives them to a child in 2026 hands over a long-term holding period along with the low basis. The exception follows the basis rule: if the stock was worth less than the donor's basis at the time of the gift and you sell at a loss, your basis for the loss is the market value at the gift, and in that case your holding period starts the day after the gift.
Inherited property (§1223(9))
Property acquired from a decedent whose basis is set under §1014, usually the market value on the date of death, is treated as held more than one year whenever you sell it. Publication 550 states it plainly: the gain or loss is long-term regardless of how long you held the property. Inherit shares on Monday, sell them on Tuesday, and the result is still long-term. Gifts made within a year of death back to the donor and decedents who died in 2010 with a Form 8939 election have their own rules, which Publication 550 points to.
Wash-sale replacement shares (§1223(3))
When the wash-sale rule disallows a loss, the replacement shares take on the holding period of the shares you sold, in addition to their own. In a simple case: shares bought on June 1, 2025 and sold at a loss on March 3, 2026 had been held 275 days. Replacement shares bought on March 24, 2026 start with those 275 days, so they need 91 more days to pass one year and a sale on or after June 23, 2026 is long-term. The 20 days between the sale and the repurchase, when you owned nothing, do not count. The Wash sale examples: eight worked cases with basis and Form 8949 page works through eight cases, including one where the replacement shares are long-term on the day you buy them.
Stock dividends, splits and spin-offs
- Nontaxable stock dividends and splits. New shares received as a nontaxable stock dividend start their holding period on the same day as the old shares (§1223(4) and Publication 550). A 2-for-1 split of shares bought in 2019 gives you twice as many shares, all held since 2019.
- Taxable stock dividends are different: their holding period begins on the date of distribution.
- Spin-offs. Shares of a new company received in a tax-free spin-off under §355 are treated as received in an exchange (§1223(1)(B)), so they keep the parent shares' holding period. Publication 550 says the same.
- Tax-free mergers. When you swap shares in a reorganization and your new basis comes from the old shares, the holding period of the old shares carries over (§1223(1)).
Mutual fund and REIT losses on shares held six months or less
One rule cuts the other way. If you sell mutual fund or REIT shares at a loss after holding them six months or less, Publication 550 treats the loss as long-term up to the capital gain distributions you received on those shares. The rule stops investors from buying just before a distribution, collecting a long-term gain distribution, and selling for a short-term loss.
When the clock restarts or stops
Options: exercise starts a new holding period
Buying a call does not start a holding period for the stock. When you exercise a call, Publication 550 says your holding period for the shares begins the day after the exercise, and the premium you paid is added to the stock's basis. A call bought in January 2025 and exercised in December 2025 gives you stock whose holding period starts in December, not January.
The other option events work like this, per Publication 550:
- A call or put you sell before exercise has its own holding period, measured from the day after purchase to the day of the sale.
- A purchased option that expires is treated as sold on the expiration date.
- When a put you wrote is exercised and you buy the stock, your holding period begins on the date you buy it, not the date you wrote the put, and the premium reduces your basis.
- When a call you wrote is exercised, the premium is added to your amount realized, and whether the sale is short- or long-term depends on how long you held the stock you delivered. The mechanics of assignment are in Option exercise and assignment: how it works and when it happens.
Short sales (§1233)
A short sale has no holding period of its own in the usual sense: the gain or loss depends on the holding period of the shares you deliver to close it. Publication 550's example is a short sale closed after 13 months with shares bought that day. The loss is short-term, because the delivered shares were held less than a day.
Section 1233 adds two rules for investors who own the same stock they sell short, a position sometimes called "short against the box":
- If you held substantially identical shares for one year or less on the date of the short sale, or bought them while the short was open, any gain on closing the short is short-term, and the holding period of those shares starts over on the earlier of the date the short sale closes or the date you sell them.
- If you held substantially identical shares for more than one year on the date of the short sale, any loss on closing it is long-term, even if you close it with shares held briefly.
Buying a put on stock you hold is generally treated like a short sale for these rules. A put bought on shares held for one year or less erases their holding period in the same way. A hedge that removes nearly all the risk of an appreciated position can also be a constructive sale under §1259, which treats the shares as sold on the day of the hedge. Short selling explained: borrowing, fees, rules and unlimited risk explains the mechanics of borrowing and delivery.
Straddles (§1092)
A straddle is a pair of offsetting positions, for example shares you own and a put or a short forward on the same stock or on gold. Publication 550 says the holding period of a position in a straddle generally begins no earlier than the date the straddle ends, unless you had held the position for more than one year before you set up the straddle. The rule exists so an investor cannot hedge away all risk for a year and then claim long-term treatment. Straddles also carry loss-deferral rules and elections that are beyond this page; Publication 550 covers them under Straddles.
Section 1256 contracts: holding period does not matter
Regulated futures, foreign currency contracts, nonequity options such as broad index options and dealer equity options are Section 1256 contracts. Their gains and losses are marked to market at year-end and treated as 60% long-term and 40% short-term, regardless of how long you held them. A futures contract held for two days and one held for two years get the same split. The details are in Section 1256 contracts: futures, index options and the 60/40 rule.
Holding period rules compared
| Situation (US federal, 2026) | When the holding period starts | Source |
|---|---|---|
| Ordinary purchase on an exchange | Day after the trade date | Pub. 550 |
| Gift with donor's basis | Donor's start date | §1223(2), Pub. 550 |
| Gift sold at a loss using market value | Day after the gift | Pub. 550 |
| Inherited property | Always more than one year | §1223(9) |
| Wash-sale replacement shares | Own start, plus the old shares' period | §1223(3) |
| Nontaxable stock dividend, split | Same day as the old shares | §1223(4), Pub. 550 |
| Spin-off under §355 | Same day as the parent shares | §1223(1)(B), Pub. 550 |
| Stock from exercising a call | Day after exercise | Pub. 550 |
| Stock bought when a written put is assigned | Date you buy the stock | Pub. 550 |
| Shares under a short-against-the-box | Restarts when the short closes (held ≤ 1 year) | §1233(b), Pub. 550 |
| Position in a straddle | No earlier than the day the straddle ends | §1092, Pub. 550 |
| Section 1256 contract | Not relevant: 60% long-term, 40% short-term | §1256, Pub. 550 |
What your 1099-B shows
For covered securities, your broker fills in the acquisition date (box 1b) and checks short- or long-term in box 2. The 2026 instructions for Form 1099-B let brokers ignore events outside the account and several holding-period adjustments, including straddles under §1092, short sales under §1233(b)(2) and constructive sales under §1259. A gift or inheritance is applied when the broker has the information. When your facts include one of the ignored rules, the box 2 classification can be wrong, and you correct it on Form 8949. The form and its codes are covered in the filing group of this section.
How Finabase does it
A Finabase portfolio stores each buy and sell with its date, applies splits to earlier lots automatically, and matches sells against the earliest buys first. It shows realized and unrealized gains per position, but it does not split realized gains into short- and long-term, does not tack holding periods for gifts, inheritances or wash sales, and does not treat option exercises specially. To check whether a planned sale would be long-term, read the buy dates in the position's transaction list and apply the counting rule on this page. The options page shows expiration dates for chains, which matter when a purchased option expires and is treated as sold that day.
Frequently asked questions
Is a stock held exactly one year long-term?
No. Long-term requires more than one year. Shares bought on June 15, 2026 and sold on June 15, 2027 are short-term; a sale on June 16, 2027 or later is long-term.
Does the settlement date or the trade date count?
The trade date, at both ends. Publication 550 says the holding period begins the day after the trade date of the purchase and ends on the trade date of the sale, and a December 31 sale belongs to that year even though it settles in January.
Is inherited stock always long-term?
Yes, when its basis is set under §1014, which covers nearly all inherited shares. Section 1223(9) treats it as held more than one year, so a sale a week after the death is long-term.
Do reinvested dividends have their own holding period?
Yes. Each reinvestment buys a new lot on the payment date, so the shares bought in the last year are short-term even if the original position is decades old.
When does the holding period start for stock from an exercised option?
The day after you exercise. The premium you paid for a call is added to the stock's basis, but the time you held the call does not count toward the stock's holding period.
Summary
For tax year 2026, a holding period runs from the day after the purchase trade date through the sale trade date, and only more than one year makes a gain long-term, so the first long-term sale date is the day after the anniversary, including at month ends and around a leap day. Section 1223 adds earlier periods for gifts that keep the donor's basis, wash-sale replacement shares, stock dividends, splits and spin-offs, and treats inherited property as long-term from day one. Exercising a call starts a new period the day after exercise, short sales and puts can erase a holding period on shares you own, straddles suspend it, and Section 1256 contracts ignore it with a fixed 60/40 split. Brokers do not apply all of these rules, so the box 2 classification on a 1099-B is a starting point, not the last word.
Check your understanding
4 questions on this lesson. Each answer comes with the reason, and nothing is scored.
You bought shares on January 31, 2026 (trade date). Which is the first sale date that gives a long-term result?
- January 31, 2027
- February 1, 2027
- The first day the purchase has settled plus one year
Show the answer
B. February 1, 2027 The holding period starts the day after the trade date, February 1, 2026, and must last more than one year. A sale on January 31, 2027 is held exactly one year, which is still short-term.
You inherit shares from a parent and sell them three weeks later at a gain. How is the gain classified?
- Short-term, because you held them three weeks
- Long-term, because section 1223(9) treats inherited property with a §1014 basis as held more than one year
- Long-term only if the parent held them more than one year
Show the answer
B. Long-term, because section 1223(9) treats inherited property with a §1014 basis as held more than one year Property whose basis is set under §1014 is treated as held more than one year whenever it is sold, regardless of the heir’s or the decedent’s actual holding period.
You hold a call for eight months, exercise it, and sell the stock five months later. How long is the stock’s holding period?
- About thirteen months, because the call’s holding period carries over
- About five months, because the stock’s holding period starts the day after exercise
- Zero, because exercised stock is always short-term
Show the answer
B. About five months, because the stock’s holding period starts the day after exercise Publication 550 says the holding period of property acquired by exercising an option begins the day after exercise. The premium is added to basis, but the months you held the call do not count.
Shares sold at a loss on March 3, 2026 had been held 275 days. You buy replacement shares on March 24 and the loss is disallowed as a wash sale. What happens to the 275 days?
- They are lost; the replacement shares start fresh
- They are added to the replacement shares’ holding period, so they need only 91 more days to pass one year
- They are added, along with the 20 days between the sale and the repurchase
Show the answer
B. They are added to the replacement shares’ holding period, so they need only 91 more days to pass one year Section 1223(3) includes the period you held the sold shares. The days when you owned no shares are not part of either holding period.
Sources and further reading
- IRS — Publication 550 (2025), Investment Income and Expenses, chapter 4: Holding Period, Short Sales, Puts and Calls, Straddles
- 26 U.S. Code §1223, Holding period of property (Cornell LII, read 2026-11-18)
- 26 U.S. Code §1233, Gains and losses from short sales (Cornell LII, read 2026-11-18)
- 26 U.S. Code §1092, Straddles (Cornell LII, read 2026-11-18)
- IRS — Instructions for Form 1099-B (2026), Box 2: Type of Gain or Loss
- IRS — Rev. Proc. 2025-32 (tax year 2026 rate tables and capital gain thresholds)
