Selling Investments? Your Holding Period Changes Everything
May 22, 2026 · 3 min read

Selling Investments? Your Holding Period Changes Everything

Two investors can sell the same stock for the same profit and owe wildly different taxes, and the only difference is how long they held it.

By the Online Calculator Base editorial team

The one-year line that splits the tax code

The IRS sorts capital gains into two buckets based entirely on how long you owned the asset before selling. Hold it one year or less and the profit is a short-term gain. Hold it longer than one year and it becomes a long-term gain. The size of your profit does not decide which bucket applies; only the calendar does, which makes the holding period one of the few tax levers you fully control.

The clock starts the day after you buy and runs through the day you sell. The phrase to remember is one year and a day, because crossing that line moves your profit into the lower-taxed long-term column.

The trade date is what counts, not the settlement date or the day the cash hits your account. If you bought on March 10 of last year, you generally reach long-term status on March 11 of this year, and selling even one day earlier keeps the gain short-term.

Short-term gains are taxed as ordinary income

A short-term gain gets no special treatment. It is stacked on top of your wages and taxed at your ordinary income rate, which for 2025 ranges from 10% all the way up to 37%, the same schedule that applies to your salary or any other earned income. Try the estimate the tax on a short-term or long-term sale to see your own numbers.

So if you are in the 24% federal bracket and you flip a stock for a $10,000 profit after eight months, you owe about $2,400 in federal tax on that gain alone, before any state tax.

A large short-term gain can even push part of your income into a higher bracket, since it stacks on top of everything else you earned that year. The faster you trade, the more the IRS treats your investing like a second job, and the heavier the tax.

Long-term gains get the 0, 15, or 20 percent rates

Long-term gains use a separate, gentler schedule: 0%, 15%, or 20% depending on your taxable income. Many middle-income sellers land in the 15% bracket, and lower earners can pay 0% on qualifying gains.

For 2025, a single filer with taxable income under roughly $48,350 pays 0% on long-term gains. The 15% rate covers most filers above that, and only high earners reach the 20% rate. High earners may also owe an extra 3.8% net investment income tax on top.

These brackets are based on total taxable income, including the gain itself. That creates planning room: in a low-income year, between jobs or early in retirement, you might realize long-term gains and pay nothing at all on a chunk of them. Timing the sale to a lean year is a legitimate and underused tactic.

A worked example of the holding-period payoff

Picture a $10,000 gain for someone in the 24% ordinary bracket and the 15% long-term bracket. Sell at month eleven and the short-term rate applies: 24% of $10,000 is $2,400 in federal tax.

Wait until month thirteen and the same $10,000 gain is long-term, taxed at 15%, which is $1,500. Holding two extra months saved $900 on identical profit. That gap is why patient investors check the calendar before they click sell.

Scale that up and the stakes grow. On a $50,000 gain, the same bracket difference is $4,500 versus $7,500 in long-term versus short-term tax. The longer you let an investment ripen past the one-year mark, the more of your profit you keep.

When selling early can still be the right move

The holding period is powerful, but it should not trap you in a bad investment. If a stock has run up and you believe it is poised to fall, paying the higher short-term rate may beat watching the gain evaporate while you wait for the calendar.

Losses can soften the blow either way. Capital losses offset capital gains dollar for dollar, and up to $3,000 of net loss can reduce ordinary income in a year. Pairing a winner with a loser, sometimes called tax-loss harvesting, can shrink the bill no matter how long you held either position.

One more wrinkle protects the patient investor: gains inside a 401(k) or IRA are not taxed when you trade, so the holding-period rules only bite in a regular brokerage account. Knowing which account a sale happens in is just as important as knowing how long you held the position. Before you sell anything substantial, check the calendar, check the account, and run the numbers so the tax does not surprise you in April.