Long-term capital gains, meaning profits from selling assets you held more than a year, are taxed at three federal rates: 0%, 15%, and 20%. Which long-term capital gains tax bracket applies to you depends on your taxable income and filing status, and the IRS adjusts the income cutoffs for inflation each year.1Office of the Law Revision Counsel. 26 USC 1222 – Other Terms Relating to Capital Gains and Losses A separate 3.8% surcharge can apply on top for higher earners, and a few categories of gain, like real estate depreciation and collectibles, carry higher maximum rates.
2026 Long-Term Capital Gains Brackets
For the 2026 tax year, the income cutoffs for each rate break down by filing status as follows.2Tax Foundation. 2026 Tax Brackets
0% Rate
You pay no federal tax on long-term gains if your total taxable income stays at or below:
- Single: $49,450
- Married filing jointly: $98,900
- Head of household: $66,200
- Married filing separately: $49,450
Retirees with modest ordinary income can sometimes sell appreciated stock and owe nothing at the federal level by staying inside this band.
15% Rate
Most investors fall here. The 15% rate applies to long-term gains that push taxable income past the 0% ceiling, up to:
- Single: $545,500
- Married filing jointly: $613,700
- Head of household: $579,600
- Married filing separately: $306,850
20% Rate
Long-term gains that push taxable income above the 15% ceiling are taxed at 20%. For a single filer that threshold is $545,500; for a married couple filing jointly it is $613,700. High earners in this bracket often owe an additional 3.8% on top, discussed below.
How Stacking Decides Your Rate
Your rate is not set by looking at the gain by itself. The IRS uses a stacking method: your ordinary income fills the brackets first, and your long-term gains sit on top.3Office of the Law Revision Counsel. 26 USC 1 – Tax Imposed The rate on each dollar of gain depends on where that dollar lands after ordinary income has already claimed the lower bracket space. That often means part of a gain is taxed at 0% even when total income sits above the 0% ceiling.
A worked example. A married couple filing jointly in 2026 earns $120,000 in wages and realizes a $50,000 long-term gain. Adjusted gross income is $170,000. Subtracting the 2026 standard deduction of $32,200 leaves taxable income of $137,800.4Internal Revenue Service. IRS Releases Tax Inflation Adjustments for Tax Year 2026 The ordinary-income portion is $87,800 ($120,000 minus the deduction). The 0% capital gains ceiling for joint filers is $98,900, which leaves $11,100 of room. The first $11,100 of the gain is taxed at 0%; the remaining $38,900 is taxed at 15%, for a tax of $5,835 on the full $50,000 gain.
Had wages been $100,000 instead, ordinary income alone would have passed the $98,900 threshold, and the whole $50,000 gain would have been taxed at 15%. The size of your paycheck shapes the rate on your investments. You report the calculation on Schedule D of your Form 1040.5Internal Revenue Service. Instructions for Schedule D (Form 1040) (2025)
Higher Maximum Rates for Certain Assets
Not every long-term gain runs through the 0/15/20% structure. Two categories carry higher maximum rates, applied before the standard brackets.6Internal Revenue Service. Topic No. 409, Capital Gains and Losses
25% on Real Estate Depreciation Recapture
When you sell rental or commercial property at a profit, the IRS splits the gain. The portion equal to the depreciation you claimed over the years is taxed at a maximum rate of 25%; any remaining gain gets the standard preferential rates.7Internal Revenue Service. 26 CFR Part 1 TD 8836 – Capital Gains, Installment Sales, Unrecaptured Section 1250 Gain
Say you bought a rental for $200,000, claimed $60,000 of depreciation, and sold for $300,000. Total gain is $160,000 (sale price minus the $140,000 adjusted basis). The first $60,000, matching the depreciation you deducted, is taxed at up to 25%. The remaining $100,000 flows through the standard 0/15/20% brackets based on your income. Real estate investors frequently get surprised by how much of a sale the recapture piece claims.
28% on Collectibles and Qualified Small Business Stock
Gains from selling artwork, antiques, stamps, coins, precious metals, and gems are taxed at a maximum rate of 28%.6Internal Revenue Service. Topic No. 409, Capital Gains and Losses If your income would otherwise put you in the 15% bracket, you still pay 15% on collectibles. If you would otherwise be in the 20% bracket, you pay 28%. The word “maximum” matters: 28% is the ceiling, not a flat rate for everyone.
The taxable portion of gain from qualified small business stock under Section 1202 is also capped at 28%.6Internal Revenue Service. Topic No. 409, Capital Gains and Losses Much or all of that gain may be excluded from income entirely under the Section 1202 rules, with the 28% rate reaching only whatever portion isn’t excluded.8Office of the Law Revision Counsel. 26 USC 1202 – Partial Exclusion for Gain From Certain Small Business Stock
The 3.8% Net Investment Income Tax
Higher earners pay an additional 3.8% on investment income, including long-term capital gains, called the Net Investment Income Tax. It sits on top of whatever capital gains rate already applies to you.9Internal Revenue Service. Net Investment Income Tax
The NIIT kicks in when your modified adjusted gross income exceeds:
- Single or head of household: $200,000
- Married filing jointly: $250,000
- Married filing separately: $125,000
These thresholds are not indexed for inflation and haven’t changed since the tax took effect in 2013.10Internal Revenue Service. Questions and Answers on the Net Investment Income Tax More taxpayers cross them each year as incomes rise.
The 3.8% applies to the lesser of your net investment income or the amount your MAGI exceeds the threshold.11Internal Revenue Service. Topic No. 559, Net Investment Income Tax Net investment income covers capital gains, dividends, interest, and rental income. A single filer in the 20% bracket with MAGI above $200,000 can face a combined federal rate of 23.8% on long-term gains. The NIIT is calculated on Form 8960.12Internal Revenue Service. About Form 8960, Net Investment Income Tax Individuals, Estates, and Trusts
Shrinking the Gain Before Brackets Apply
Capital losses reduce the gain that reaches the brackets in the first place. The IRS requires you to net within each category first: long-term losses offset long-term gains, and short-term losses offset short-term gains. If a category has a net loss after that netting, the leftover offsets the other category’s net gain.6Internal Revenue Service. Topic No. 409, Capital Gains and Losses
If total losses for the year exceed total gains, you can deduct up to $3,000 of the net loss against ordinary income ($1,500 if married filing separately).13Office of the Law Revision Counsel. 26 USC 1211 – Limitation on Capital Losses Any remaining loss carries forward indefinitely, reducing gains or ordinary income in future years until it’s used up.
One restriction catches people harvesting losses in December. The wash sale rule disallows a loss if you buy a substantially identical security within 30 days before or after the sale. Sell a stock at a loss on December 15 and buy it back on January 5, and the IRS disallows the loss; the disallowed amount adds to the basis of the replacement shares instead, deferring the benefit rather than destroying it.
State Taxes Are Separate
The brackets above are federal only. Most states tax capital gains as ordinary income, which can add anywhere from 0% to over 13% to your bill depending on where you live. A handful of states impose no income tax at all; a few others offer partial exclusions or lower rates for long-term gains. Check your state’s tax authority for the rate that applies to you before estimating your total liability on a sale.