Long-term capital gains are taxed at lower rates than ordinary income, not the same rate
If you held an investment for more than one year before selling it, the profit is a long-term capital gain. The IRS taxes this at 0%, 15%, or 20% depending on your total income for the year — not at your ordinary income tax bracket. This is the opposite of what happens with short-term gains (held one year or less), which are taxed as ordinary income at your full bracket rate.
The difference matters. If you are in the 32% ordinary income bracket and sell a stock you held for two years with a $10,000 gain, you pay tax on that gain at 15%, not 32%. That same gain held for less than a year would cost you $3,200 in tax instead of $1,500.
The three long-term rates — 0%, 15%, and 20% — are fixed by law and do not change with your bracket. Your ordinary income determines which rate applies to you, but the rate itself is always one of those three.
Key Takeaways
- Long-term capital gains (held over one year) are taxed at 0%, 15%, or 20%, while short-term gains are taxed at your ordinary income rate, which can be as high as 37%.
- Your filing status and total taxable income determine which long-term rate applies — the same income thresholds do not explore to ordinary income brackets.
- Realizing a long-term gain in a low-income year can sometimes keep you in the 0% bracket, while the same gain in a high-income year moves you to 15% or 20%.
- Losses on investments held over one year are long-term capital losses and offset long-term gains dollar-for-dollar, then short-term gains, then up to $3,000 of ordinary income per year.
How the three long-term rates work
The 0% rate applies to the lowest earners. For 2024, single filers with taxable income up to $47,025 pay 0% on long-term gains. For married filing jointly, the threshold is $94,050. These thresholds rise slightly each year for inflation.
The 15% rate covers the middle: single filers from $47,026 to $518,900, and married filing jointly from $94,051 to $583,750. Most people with investment income fall here.
The 20% rate applies to income above those ceilings. It is the highest long-term rate and still lower than the top ordinary income bracket (37%).
Your taxable income — not your gross income — determines which bracket you land in. Deductions, losses, and retirement contributions all reduce the income that counts toward these thresholds. This is why timing matters: a large deduction in one year can push a long-term gain into a lower rate.
The difference between holding periods
The IRS measures holding period from the day after you buy to the day you sell. If you buy on January 15 and sell on January 15 of the next year, you have held it exactly one year, and the gain is short-term. You must hold it until January 16 of the next year for it to be long-term.
Short-term gains are taxed as ordinary income at your full bracket rate. If you are in the 24% bracket and have a $5,000 short-term gain, you owe $1,200 in federal tax on it. The same $5,000 gain held long-term might cost $750 (at 15%) or nothing (at 0%).
This is why investors often track holding dates carefully. Selling an investment one week too early can cost thousands in extra tax.
How income affects which rate you pay
Your ordinary income fills up the brackets first, then your long-term gains sit on top. If you are single with $40,000 in ordinary income and $20,000 in long-term gains, the first $7,025 of gains falls in the 0% bracket (up to $47,025 total), and the remaining $12,975 falls in the 15% bracket.
This stacking effect means a large gain can push you into a higher long-term rate even though you did not earn more ordinary income. A $100,000 gain on top of $50,000 in salary might cost you 15% on part of it and 20% on the rest, depending on your filing status.
Conversely, a year with low ordinary income — perhaps you took a sabbatical or had a business loss — can let you realize long-term gains at 0% or 15% when you would normally pay 20%. This is one reason some people time the sale of appreciated assets to years when their income is lower.
Long-term losses and how they offset gains
A loss on an investment held over one year is a long-term capital loss. It offsets long-term gains dollar-for-dollar first. If you have $15,000 in long-term gains and $8,000 in long-term losses, you report a net long-term gain of $7,000.
If losses exceed gains, the excess can offset short-term gains, then up to $3,000 of ordinary income in the same year. Any remaining loss carries forward to future years with no time limit.
Tax-loss harvesting — selling a losing investment to capture the loss while holding a similar one — is a common strategy to reduce long-term gains in the same year. The loss must be real (you actually sold), and you cannot buy back the same or substantially identical security within 30 days before or after the sale, or the loss is disallowed under the wash-sale rule.
When to consider timing a sale
If you are close to a long-term holding period, waiting a few weeks or months can save significant tax. A $50,000 gain taxed at 15% instead of your 32% ordinary bracket saves $850.
If you expect your income to drop in the coming year — a planned retirement, sabbatical, or business slowdown — you might hold appreciated assets until that lower-income year to pay a lower long-term rate. This works only if the investment does not decline in value in the meantime.
If you have large short-term losses, you might accelerate the sale of long-term gains in the same year to offset them, since long-term losses offset long-term gains first. This can eliminate the tax on gains you were planning to realize anyway.
These decisions depend on your specific situation, expected income, and the investment itself. A tax professional can model the tax cost of selling now versus later.
Frequently Asked Questions
Do I have to hold an investment for exactly one year, or is one year and one day enough?
One year and one day is enough. The IRS counts from the day after purchase. If you buy on March 1 and sell on March 2 of the next year, the gain is short-term. You must sell on March 3 or later for it to be long-term. Your brokerage statement shows the holding period; check it before you sell if you are close to the one-year mark.
If I have both long-term and short-term gains in the same year, how are they taxed?
Short-term gains are taxed as ordinary income at your full bracket rate. Long-term gains are taxed at 0%, 15%, or 20% based on your total taxable income. They are reported separately on Schedule D of your tax return. Long-term losses offset long-term gains first, then short-term gains.
Can I choose which shares to sell if I own the same stock in multiple batches?
Yes, if you specify which batch you are selling. This is called specific identification. You can sell the oldest shares (long-term) and hold the newest (short-term), or vice versa, to control whether the gain is taxed as long-term or short-term. Your broker must confirm the identification in writing at the time of sale, or the IRS assumes you sold the oldest shares first (FIFO method).
What if I inherit an investment? Does the holding period reset?
No. When you inherit an investment, you receive a step-up in basis to its value on the date of death. If you sell it when ready after inheriting, you owe little or no tax on the gain from the original purchase to the date of death. The holding period does not matter for inherited assets — gains are treated as long-term regardless of how long you hold them after inheriting.
Do I pay long-term capital gains tax on dividends?
may have access to dividends are taxed at the same 0%, 15%, or 20% rates as long-term gains, but they are not capital gains. Nonqualified dividends are taxed as ordinary income. To may have access to, you must have held the stock for at least 60 days around the dividend date. Check your brokerage statement to see which dividends are may have access to.