Do Capital Gains Count as Income for Tax Brackets?

Yes, capital gains do count as income for tax brackets. They flow into the same taxable income figure on your Form 1040 that determines which brackets apply to the rest of your income. The wrinkle is that long-term capital gains, while part of taxable income, are taxed on a separate schedule of 0%, 15%, or 20% rather than at ordinary income rates, and they don’t push your wages or other ordinary income into a higher ordinary bracket. Short-term gains get no such treatment and are taxed like a paycheck.

Short-Term and Long-Term Gains Are Treated Differently

Holding period is what determines which rules apply. If you owned the asset for one year or less before selling, the profit is a short-term capital gain and is taxed at exactly the same rates as wages, using the ordinary income brackets.1Internal Revenue Service. Topic No. 409, Capital Gains and Losses There is no preferential rate.

If you held the asset for more than one year, the profit is a long-term capital gain and qualifies for the lower 0%, 15%, or 20% rate schedule.1Internal Revenue Service. Topic No. 409, Capital Gains and Losses The difference between holding for exactly twelve months and holding for twelve months and a day can meaningfully change the tax bill on a large sale.

How Gains Enter Your Taxable Income

Every kind of income you earn feeds into one figure that drives your brackets. Gross income includes wages, business profits, interest, dividends, and capital gains from every source. Subtract above-the-line adjustments and you have adjusted gross income (AGI).2Internal Revenue Service. Definition of Adjusted Gross Income Subtract the standard deduction or your itemized deductions from AGI and you have taxable income, the number that determines your liability on Form 1040.3Internal Revenue Service. Form 1040 U.S. Individual Income Tax Return

For 2026, the standard deduction is $16,100 for single filers and $32,200 for married couples filing jointly.4Internal Revenue Service. IRS Releases Tax Inflation Adjustments for Tax Year 2026

Capital gains are baked into AGI, which matters because AGI (and its close cousin MAGI) controls eligibility for a long list of tax benefits and cost thresholds far beyond the capital gains tax itself.

The 2026 Ordinary Income Brackets

The federal income tax is progressive. Different slices of your income are taxed at different rates, and only the portion that crosses into the next bracket is taxed at the higher rate. For 2026, the seven ordinary brackets for single filers are:4Internal Revenue Service. IRS Releases Tax Inflation Adjustments for Tax Year 2026

  • 10% on taxable income up to $12,400
  • 12% from $12,401 to $50,400
  • 22% from $50,401 to $105,700
  • 24% from $105,701 to $201,775
  • 32% from $201,776 to $256,225
  • 35% from $256,226 to $640,600
  • 37% above $640,600

For married couples filing jointly, each range is roughly double: the 10% bracket covers up to $24,800, the 12% bracket runs to $100,800, and 37% starts above $768,700.4Internal Revenue Service. IRS Releases Tax Inflation Adjustments for Tax Year 2026

Short-term gains simply pile onto this schedule alongside your salary. If you earn $80,000 in wages and realize $20,000 in short-term gains, the $20,000 is taxed at the marginal rate for income in the $80,001 to $100,000 range, exactly as if it were extra pay.

How Long-Term Gains Stack on Top of Ordinary Income

Long-term gains use their own rate schedule, but the rate you pay on them depends on where they land relative to your other income. The IRS applies a method called stacking: your ordinary income fills the brackets from the bottom up, then your long-term gain sits on top of that stack. The gain’s position determines which of the 0%, 15%, or 20% rates applies to each dollar.1Internal Revenue Service. Topic No. 409, Capital Gains and Losses

For 2026, single filers hit the long-term thresholds at these taxable income levels:

  • 0% on taxable income up to $49,450
  • 15% from $49,451 to $545,500
  • 20% above $545,500

For married couples filing jointly, the 0% rate covers taxable income up to $98,900, the 15% rate runs from $98,901 to $613,700, and the 20% rate applies above $613,700.

A Worked Example

Say you’re a single filer in 2026 with $40,000 of ordinary taxable income (after the standard deduction) and a $25,000 long-term capital gain. Your ordinary income fills the lower ordinary brackets first and doesn’t reach the $49,450 threshold for the 0% long-term rate, so you have $9,450 of room left in the 0% zone.

The first $9,450 of the gain is taxed at 0%. The remaining $15,550 crosses into the 15% tier and is taxed at 15%, producing $2,333 in capital gains tax. Your ordinary income continues to be taxed exactly as it would have been without the gain. Adding the long-term gain did not push your wages into a higher ordinary bracket. That’s the key point on the bracket question: long-term gains sit on top; they don’t shove ordinary income up the schedule.

Why the 0% Rate Reaches More People Than Expected

A married couple filing jointly with $90,000 in combined taxable income could sell long-term stock at an $8,000 gain and owe no federal capital gains tax on it, because the total stays under the $98,900 threshold. Retirees living mostly on Social Security with modest investment income often land in this zone.

Extra Layers That Can Apply to Long-Term Gains

Three additional charges sit on top of the standard 0/15/20 schedule for certain investors.

The 3.8% Net Investment Income Tax (NIIT) applies to investment income, including capital gains, once modified adjusted gross income exceeds $200,000 for single filers or $250,000 for joint filers. The tax is 3.8% of the smaller of your net investment income or the amount by which your MAGI exceeds the threshold.5Internal Revenue Service. Questions and Answers on the Net Investment Income Tax These thresholds are not indexed to inflation. A high earner’s combined top federal rate on long-term gains can reach 23.8%.

Long-term gains on collectibles such as art, coins, and antiques are taxed at a maximum rate of 28% rather than 20%.1Internal Revenue Service. Topic No. 409, Capital Gains and Losses

When you sell real estate on which you claimed depreciation deductions, the portion of the gain attributable to that depreciation (unrecaptured Section 1250 gain) is taxed at a maximum rate of 25%.1Internal Revenue Service. Topic No. 409, Capital Gains and Losses Rental property owners often meet this at sale.

Losses Come Off the Top First

Before any capital gains tax is calculated, your losses for the year are netted against your gains on Schedule D. Short-term losses first offset short-term gains, then long-term losses offset long-term gains, and any remaining loss in one category crosses over to offset gains in the other.1Internal Revenue Service. Topic No. 409, Capital Gains and Losses

If total losses exceed total gains for the year, you can deduct up to $3,000 of the net loss against ordinary income ($1,500 if married filing separately). Anything beyond that carries forward to future years, keeping its short-term or long-term character.1Internal Revenue Service. Topic No. 409, Capital Gains and Losses

How a Gain Can Reach You Outside the Bracket Math

Even when a long-term gain is taxed at a low federal capital gains rate, it still raises your AGI and MAGI. That can trigger higher costs and lost benefits in places that have nothing to do with the capital gains rate itself. This is where investors often get surprised.

Medicare Premium Surcharges

Medicare Part B and Part D premiums are income-adjusted. If your MAGI from two years earlier exceeds $109,000 for single filers or $218,000 for joint filers, you pay an IRMAA surcharge on top of the standard premium. At the highest tier ($500,000 single or $750,000 joint), the Part B premium reaches $689.90 per month in 2026, compared to the standard $202.90.6Medicare. 2026 Medicare Costs A one-time large capital gain from selling a home or unwinding a portfolio can shift you into a higher IRMAA tier for that measurement year.

ACA Premium Tax Credits

If you buy marketplace health insurance, your subsidy is based on household MAGI, and capital gains are explicitly counted.7HealthCare.gov. What’s Included as Income An early retiree living on savings might qualify for substantial premium credits in a normal year and lose them entirely in a year with a large realized gain.

Taxable Social Security Benefits

Whether your Social Security benefits are taxed depends on a combined income figure that includes capital gains. Half your annual benefits are added to all your other income. If the total exceeds $25,000 for single filers or $32,000 for joint filers, a portion of your benefits becomes taxable.8Internal Revenue Service. IRS Reminds Taxpayers Their Social Security Benefits May Be Taxable Retirees who normally stay below those thresholds can cross them in a year with an unusually large gain.

State Taxes Sit on Top of All This

Federal treatment is only part of the picture. Most states tax capital gains as ordinary income, with rates from 0% in states without an income tax to over 13% in the highest-tax states. A handful of states offer preferential treatment for long-term gains or exclusions for certain property, but most simply add the gain to state taxable income and apply regular state rates. The combined federal and state burden on a long-term gain can exceed 30% for high-income taxpayers in high-tax states, so the state layer belongs in the math before any large sale.