Skip to main content
Capital Gains: Short vs Long-Term

Capital Gains and Tax Brackets: Income Impact

Pomegra Learn

How Do Capital Gains Interact With Your Tax Bracket?

Capital gains tax rates are substantially lower than ordinary income tax rates, but they interact with your tax bracket in complex ways. A capital gains realization can bump you into a higher tax bracket, trigger the 3.8% net investment income tax (NIIT), or affect your eligibility for other benefits. Understanding how capital gains stack on top of ordinary income is critical for tax planning and for making smart decisions about when to realize gains.

Quick definition: Long-term capital gains are taxed at preferential rates (0%, 15%, or 20%) that depend on your total taxable income, not your brackets for ordinary income. The rates are lower than ordinary income rates to encourage long-term investing.

Key takeaways

  • Long-term capital gains rates are 0%, 15%, or 20%, depending on your total taxable income (not your ordinary income bracket)
  • Short-term capital gains are taxed as ordinary income at rates up to 37% (as of the mid-2020s)
  • Capital gains stack on top of ordinary income and can push you into higher tax brackets or trigger additional taxes
  • The 3.8% net investment income tax (NIIT) applies to high-income earners and can increase the effective capital gains rate to 23.8%
  • The 0% long-term capital gains bracket is available to those with modest taxable income
  • Taxpayers in lower brackets may benefit from bunching income or deferring gains across tax years
  • Realizing losses in the same year as gains can offset tax liability and reduce effective rates

The three long-term capital gains brackets

Long-term capital gains (assets held >1 year) are taxed at three preferential rates, determined by your total taxable income:

0% bracket: If your taxable income is below a threshold (roughly $46,000 for single filers, $92,000 for married filers, in 2024), long-term capital gains are taxed at 0%. This is a tremendous benefit—it means you can realize gains tax-free up to the bracket limit.

15% bracket: If your taxable income exceeds the 0% threshold but is below another threshold (roughly $553,850 for single filers, $553,850 for married filers, in 2024), long-term capital gains are taxed at 15%.

20% bracket: If your taxable income exceeds the 15% threshold, long-term capital gains are taxed at 20%. This bracket also applies to high-income earners subject to the 3.8% net investment income tax (NIIT), making the effective rate 23.8%.

These thresholds are indexed annually for inflation and change slightly each year.

How capital gains stack on ordinary income

Capital gains do not have their own separate brackets; they stack on top of ordinary income to determine your total taxable income. This is the critical concept for tax planning.

Here is a concrete example. You are a single filer with wages of $80,000 and realize a long-term capital gain of $50,000. Your total taxable income is $130,000. To determine the capital gains rate:

  1. Your ordinary income is $80,000, which is taxed at ordinary rates (up to 22% on the marginal dollar in 2024).
  2. Your capital gain is $50,000, which is added on top.
  3. Your total taxable income is $130,000.
  4. Against the thresholds: the 0% capital gains bracket ends at roughly $46,000 of taxable income. The first $46,000 of your total income is allocated to the 0% bracket (you have already used $80,000 in wages, so the capital gains allocation starts in the 15% bracket).
  5. Actually, wait—let me recalculate. The 0% bracket threshold is $46,000. You have $80,000 in wages. Your wages exceed the 0% threshold, so you are already in the 15% bracket. Your $50,000 capital gain is taxed at 15%.
  6. Your total tax on the $50,000 gain is $7,500 ($50,000 × 0.15).

Now consider a modified example. You are a single filer with wages of $35,000 and realize a long-term capital gain of $50,000. Your total taxable income is $85,000. To determine the capital gains rate:

  1. Your ordinary income is $35,000.
  2. Your capital gain is $50,000.
  3. Your total taxable income is $85,000.
  4. The 0% bracket ends at $46,000. Your wages are $35,000, so you have $11,000 of 0% bracket space remaining ($46,000 – $35,000).
  5. The first $11,000 of your $50,000 capital gain is taxed at 0%.
  6. The remaining $39,000 of your capital gain ($50,000 – $11,000) is taxed at 15%.
  7. Your total tax on the $50,000 gain is $0 + ($39,000 × 0.15) = $5,850.

Notice the difference: in the first scenario, you paid $7,500 in tax; in the second, you paid $5,850. Same capital gain, different outcomes based on how much ordinary income you had. This is why understanding the bracket thresholds is crucial.

Short-term vs. long-term in brackets

Bracket treatment comparison

Short-term capital gains (assets held ≤1 year) are taxed as ordinary income, meaning they are subject to the full ordinary tax bracket rates: 10%, 12%, 22%, 24%, 32%, 35%, and 37% (as of 2024).

A short-term gain is far more expensive than a long-term gain. Consider an investor in the 32% marginal tax bracket realizing $100,000 in gains:

  • Short-term gain: $100,000 × 0.32 = $32,000 in tax
  • Long-term gain: $100,000 × 0.20 (or 15%, depending on total income) = $15,000–$20,000 in tax
  • Difference: $12,000–$17,000 in taxes

This is why holding investments longer than one year is so important for tax efficiency. The difference between short-term and long-term rates is substantial.

The net investment income tax (NIIT)

High-income earners are subject to an additional 3.8% net investment income tax (NIIT), sometimes called the Medicare tax on investment income. This tax applies to certain investment income (including capital gains) for individuals with modified adjusted gross income (MAGI) above threshold amounts.

The NIIT thresholds are:

  • $200,000 for single filers
  • $250,000 for married filers filing jointly
  • $125,000 for married filers filing separately

If your MAGI exceeds these thresholds, 3.8% of your net investment income (or the excess MAGI over the threshold, whichever is lower) is subject to the NIIT.

Here is an example. You are married filing jointly with wages of $300,000 and realize a long-term capital gain of $100,000. Your MAGI is $400,000, which exceeds the $250,000 threshold by $150,000.

Your net investment income is the $100,000 capital gain. The 3.8% NIIT is applied to the lesser of: (a) the $100,000 gain, or (b) the $150,000 excess of MAGI over the threshold. The lesser is $100,000.

Your NIIT is $100,000 × 0.038 = $3,800.

Your total tax on the $100,000 gain is: $20,000 (20% long-term capital gains rate) + $3,800 (NIIT) = $23,800. Your effective rate on the capital gain is 23.8%—effectively a fourth, much higher bracket.

The NIIT is administered as part of self-employment or investment income reporting and does not show as a separate tax bracket, but it is a real cost that high-income investors must budget for.

Bunching income and deferring gains

Understanding bracket thresholds creates planning opportunities. Taxpayers with lumpy income (e.g., business owners with variable earnings) or significant capital gains can use bracket thresholds strategically.

Bunching gains in low-income years: If you have a year with lower ordinary income (e.g., due to retirement, sabbatical, or business downturn), it is an ideal time to realize capital gains. Your gains will be taxed at lower brackets or even the 0% bracket.

Example: You retire at age 62 and have no wages that year, only $30,000 in taxable deductions-allowed income. You realize a $50,000 long-term capital gain. Your total taxable income is $80,000. The 0% bracket extends to $46,000, so $16,000 of your gain is taxed at 0%, and $34,000 is taxed at 15%. Your tax is $5,100 ($34,000 × 0.15). If you realized the same gain in a year with $100,000 in wages, your rate would be 15% on the entire $50,000 (since you would exceed the 0% bracket), costing $7,500. By timing the gain to a low-income year, you saved $2,400.

Deferring gains across years: If you have significant capital gains that will push you into a higher bracket, consider realizing them across multiple tax years. Spreading $200,000 in gains across two years may result in lower total tax than realizing $200,000 in a single year (if the single-year realization pushes you into the 20% bracket or triggers NIIT).

Offsetting gains with losses: If you have realized losses, use them to offset gains in the same year, reducing your net capital gain and tax liability. This is called loss harvesting—it is a tax strategy available to any investor with both gains and losses.

The interaction with standard deduction and other benefits

Capital gains stack on top of ordinary income but do not consume the standard deduction. This is important for taxpayers with modest income.

Example: You are single with $20,000 in wages, $0 in itemized deductions, and a $15,000 long-term capital gain. Your standard deduction is roughly $14,600 (in 2024). Your taxable ordinary income is $20,000 – $14,600 = $5,400. Your total taxable income is $5,400 + $15,000 = $20,400. Your ordinary income uses up the remaining standard deduction, and your capital gain is taxed starting in the 0% bracket (which extends to $46,000 for single filers). Your capital gain is taxed at 0%.

By contrast, if you had $35,000 in wages and the same $15,000 capital gain, your taxable ordinary income would be $35,000 – $14,600 = $20,400. Your total taxable income is $20,400 + $15,000 = $35,400. Your capital gain now competes with the 0% bracket threshold ($46,000), so the first $10,600 of your gain is taxed at 0% ($46,000 – $20,400 – $14,600 = $10,600, wait, let me recalculate...

Actually, the correct calculation: Your standard deduction is $14,600. Your ordinary income is $35,000, which exceeds the standard deduction, so you deduct the full $14,600. Your taxable ordinary income is $35,000 – $14,600 = $20,400. The 0% bracket for capital gains extends to $46,000 of total taxable income. You have $20,400 of taxable income, leaving $25,600 of 0% bracket space ($46,000 – $20,400). Your $15,000 capital gain fits entirely in the 0% bracket. Your total tax on the capital gain is $0.

The key insight: capital gains stack on top of your ordinary income, but do not consume the standard deduction. Taxpayers with lower income can often fit capital gains into the 0% bracket.

Planning with different filing statuses

Tax bracket thresholds vary by filing status. Married filers have higher thresholds than single filers, allowing more income before bumping into higher brackets.

  • 0% bracket threshold: $46,000 (single), $92,000 (married filing jointly), roughly $46,000 (head of household)
  • 15% bracket threshold: $553,850 (single), $553,850 (married filing jointly)
  • 20% bracket threshold: above $553,850

Married couples filing jointly have roughly double the income space in the 0% bracket compared to single filers. If you are a couple, coordinating income and gains across both spouses allows more efficient use of brackets.

Example: You and your spouse are both employed. One spouse has $50,000 in wages, the other has $50,000 in wages. Together, you have $100,000 in income. You realize a $100,000 long-term capital gain.

If you file jointly, your total taxable income is $100,000 + $100,000 = $200,000 (minus standard deduction, so roughly $185,400 taxable). Your capital gains are taxed starting at the 15% bracket (since you exceeded the $92,000 threshold). Your entire $100,000 gain is taxed at 15%, costing $15,000.

But what if you could shift some income to the spouse with lower income? If one spouse had no wages and the other had $100,000, and you filed jointly, your taxable income is still $100,000. But now the spouse with no wages could realize some gains in the 0% bracket, and the spouse with $100,000 could realize gains in the 15% bracket. This is a subtlety that applies mainly to families with highly variable income.

Real-world examples

Example 1: Timing a large gain. Sandra is a software engineer earning $150,000 annually. She has a startup option that will vest and she will exercise it, realizing $200,000 in long-term gains. If she exercises in her normal year, her total taxable income is roughly $150,000 + $200,000 = $350,000. Her capital gains are taxed at 15%, costing $30,000 in tax.

However, she negotiates a leave of absence and takes the next year off. In her zero-income year, she exercises the options, realizing $200,000 in long-term gains. Her total taxable income is $200,000 (minus standard deduction, so roughly $185,400). Her gains are still mostly taxed at 15%, but she has used the 0% bracket for the first $92,000, reducing her total tax to ($108,000 × 0.15) = $16,200. By timing the exercise to a low-income year, she saved $13,800.

Example 2: NIIT impact on high-income earner. David is an attorney with $400,000 in taxable income. He realizes a $300,000 long-term capital gain, bringing his total taxable income to $700,000. His capital gains are taxed at 20% ($60,000), but he is also subject to the 3.8% NIIT because his MAGI ($700,000) exceeds the $250,000 threshold (married filing jointly). His NIIT is 3.8% × $300,000 = $11,400. His total tax on the gain is $60,000 + $11,400 = $71,400, an effective rate of 23.8%.

Example 3: Loss offset strategy. Maya has realized $50,000 in long-term gains this year from selling appreciated stock. She also has a concentrated position in a stock she inherited that has declined $40,000 in value since her inherited basis. She sells the stock at a loss, offsetting $40,000 of her gains. Her net capital gain is $10,000 (not $50,000), reducing her tax from $1,500 (at 15%) to $1,500 on the $10,000. She has deferred $40,000 of tax liability ($6,000) into the future by harvesting the loss now. She can also still hold a similar (but not substantially identical) stock to maintain her market exposure.

Common mistakes

Failing to account for NIIT in high-income planning. High-income earners often overlook the 3.8% NIIT and plan for a 20% capital gains rate, then are surprised by the additional 3.8% liability. Budget for 23.8% effective rate if your income exceeds NIIT thresholds.

Bunching gains into a high-income year. Some taxpayers harvest all their losses and gains in a single year, not realizing they could spread them across multiple years and access lower brackets. If you have both significant gains and losses, consider realizing losses one year and gains in another year with lower ordinary income.

Ignoring the 0% bracket opportunity. Many retirees or lower-income investors do not realize they can realize capital gains at 0% rate. If you have modest income and can stay below the 0% bracket threshold, realize gains in that year. This is particularly valuable for strategic asset repositioning (selling a concentrated position and diversifying).

Forgetting that capital gains increase MAGI. Your capital gains increase your modified adjusted gross income (MAGI), which can trigger or increase the NIIT, affect Medicare premium adjustments, or impact other income-sensitive benefits. Calculate the full impact of realizing a large gain on all income-sensitive provisions before committing.

Assuming short-term gains are only from traders. While traders realize short-term gains frequently, any investor can trigger short-term gains by selling appreciated assets held less than a year. Avoid selling securities within the first year of purchase unless absolutely necessary.

FAQ

At what exact income level does the 15% capital gains bracket start?

The 15% bracket starts above the 0% bracket threshold. For 2024, the 0% bracket threshold is roughly $46,000 (single) and $92,000 (married filing jointly). Thresholds are indexed annually for inflation and change each year. Check the IRS website or your tax software for the exact thresholds in your filing year.

Can I control which gains are taxed at 0% vs. 15%?

Not directly. Capital gains are taxed starting from the lowest bracket and moving up. If you have room in the 0% bracket, gains fill that space first. Once the 0% bracket is full, gains are taxed at 15% (or 20%). You cannot selectively choose which gains are taxed at which rate, but you can choose which gains to realize in which year (timing strategy).

Does the NIIT apply to all capital gains?

Mostly, yes. The NIIT applies to net investment income, which includes capital gains. However, gains from the sale of a business or real estate that is active business property may be excluded under certain conditions. Consult a tax professional if you have this situation.

If I have a loss year, should I defer realizing gains?

Not necessarily. If you have net losses in a year, realizing gains can offset the losses, reducing or eliminating the net capital gain tax. Gains realized in a loss year are still taxed, but they may push your income higher and into a better tax situation overall. Analyze the full impact.

How does the capital gains bracket differ from my ordinary income bracket?

They are separate. Your ordinary income is taxed using ordinary brackets (10%, 12%, 22%, 24%, 32%, 35%, 37%). Your capital gains are taxed using capital gains brackets (0%, 15%, 20%). Your capital gains rate depends on your total taxable income, not your ordinary income bracket. Both stack together to determine your total tax liability.

Can I use estimated tax payments to manage capital gains tax?

Yes. If you expect a large capital gain (e.g., from a business sale), you can make estimated tax payments throughout the year to avoid underpayment penalties. However, estimated taxes do not reduce the tax itself—they just manage the timing of payment. You still owe the full capital gains tax.

What if my capital gains push me over the NIIT threshold mid-year?

The NIIT is calculated on your full-year income. You cannot avoid NIIT by controlling the timing of gains within the year; the tax is based on your total annual MAGI. However, you can plan across years to manage NIIT impact.

Are capital gains included in the calculation of the standard deduction?

No. The standard deduction is based on filing status and age, not on the type of income. You apply the standard deduction to reduce your ordinary income, and then capital gains are added on top (not consumed by the standard deduction).

Summary

Capital gains interact with tax brackets in ways that create both challenges and opportunities. Long-term capital gains are taxed at preferential rates (0%, 15%, or 20%) depending on your total taxable income, and they stack on top of ordinary income. Short-term capital gains are taxed as ordinary income at much higher rates, making the one-year holding period crucial. High-income earners face the additional 3.8% net investment income tax (NIIT), increasing the effective capital gains rate to 23.8%. By understanding bracket thresholds, timing gains in low-income years, and offsetting gains with losses, you can significantly reduce your capital gains tax liability. Tax rules change periodically—confirm current figures with the IRS or a qualified tax professional.

Next

Capital Gains Planning Strategies