Capital gains can move you into a higher tax bracket, but only the gains themselves are taxed at the higher rate

When you sell an investment at a profit, that gain gets added to your other income for the year. If the total pushes you over a bracket threshold, the capital gains portion is taxed at the rate for that higher bracket. Your ordinary income — wages, salary, interest — stays taxed at its original bracket. Only the capital gains that cross the line get the higher rate.

This matters because capital gains tax brackets are different from ordinary income brackets. Long-term capital gains (assets held over one year) are taxed at 0%, 15%, or 20%, depending on your total income. Those thresholds are lower than ordinary income brackets. A single filer with $45,000 in wages plus $20,000 in long-term capital gains might jump from the 12% ordinary bracket into the 15% capital gains bracket — but only the gains above the threshold face that 15% rate.

Key Takeaways

  • Capital gains are added to your total income for the year, and if they push you over a bracket line, the excess gains are taxed at the higher rate.
  • Long-term capital gains have their own tax brackets (0%, 15%, 20%) that are separate from and lower than ordinary income brackets.
  • Only the portion of your capital gains that exceeds the bracket threshold is taxed at the higher rate; gains below the threshold use the lower rate.
  • Short-term capital gains (assets held one year or less) are taxed as ordinary income and use the same brackets as wages and salary.
  • Your tax bracket for capital gains depends on your total income for the year, including wages, interest, dividends, and all other sources.

How the IRS stacks capital gains on top of ordinary income

The IRS treats capital gains as the last income you earn in a year. Your ordinary income is counted first, then capital gains are stacked on top. If your ordinary income already fills most of your bracket, even a small capital gain can push into the next one.

Example: You earn $44,625 in wages (single filer, 2024). The 12% bracket for single filers ends at $44,600. You have $5,000 in long-term capital gains. Your first $25 of gains stays in the 12% bracket. The remaining $4,975 enters the 15% bracket and is taxed at 15%. You do not pay 15% on all $5,000 — only on the portion above the threshold.

This stacking rule applies to all types of income. Wages, interest, dividends, and capital gains all add together to determine your bracket. A person with $30,000 in wages and $20,000 in capital gains is in the same bracket as someone with $50,000 in wages alone.

Long-term versus short-term capital gains and bracket placement

Long-term capital gains (assets held longer than one year) use their own tax brackets: 0%, 15%, or 20%. These brackets are based on your total income but are separate from ordinary income brackets. A single filer can have up to $47,025 in total income and still be in the 0% long-term capital gains bracket (2024 rates).

Short-term capital gains (assets held one year or less) are taxed as ordinary income. They use the same brackets as your wages — 10%, 12%, 22%, 24%, 32%, 35%, 37%. Short-term gains are stacked on top of ordinary income first, so they are more likely to push you into a higher bracket.

If you have both types of gains in the same year, long-term gains are stacked last. Your ordinary income is counted first, then short-term gains, then long-term gains. This order matters because it determines which bracket each type of gain lands in.

When capital gains trigger a bracket jump

A bracket jump happens when your total income crosses a threshold. For 2024, the long-term capital gains brackets for single filers are 0% (up to $47,025), 15% ($47,025 to $518,900), and 20% (over $518,900). If you earn $47,000 in wages and have $1,000 in long-term capital gains, your total is $48,000. The first $25 of gains stays in the 0% bracket; the remaining $975 is taxed at 15%.

Bracket jumps are most common when you have a large capital gain in a single year. Selling a rental property, cashing out an investment account, or exercising stock options can create a gain large enough to move you several brackets higher. The higher your ordinary income already is, the more likely a capital gain will push you into a higher bracket.

Some people time the sale of assets across two tax years to avoid a large single-year jump. Selling half an investment in December and half in January spreads the gain across two years and may keep each year's total income lower. This strategy requires planning and depends on whether the asset price stays stable between years.

State and federal brackets work separately

Federal and state tax brackets are calculated independently. A capital gain that pushes you into a higher federal bracket may or may not push you into a higher state bracket, depending on your state's tax structure. Some states have their own capital gains taxes; others tax capital gains as ordinary income.

If you live in a state with a capital gains tax (such as California, New York, or Washington), that tax is calculated on top of federal tax. A gain that moves you into the 15% federal bracket might also move you into a higher state bracket. You need to check your state's specific rules to know the full tax impact.

States without an income tax (Florida, Texas, Wyoming, and others) do not tax capital gains at the state level. If you move to a different state during the year you sell an asset, the state where you lived when you sold it may have the right to tax the gain, depending on state law and residency rules.

How to calculate your bracket before selling an investment

To estimate which bracket a capital gain will land in, add up all your income for the year: wages, salary, interest, dividends, and any other sources. Then add your expected capital gain. The total tells you which bracket you will be in.

If you are unsure of your total income, look at your pay stubs and any 1099 forms you have received so far. If you are planning a large sale and want to know the tax impact before you sell, you can estimate your year-end income and calculate where the gain will land. A tax professional or accountant can do this calculation for you and may suggest timing strategies if the gain is large.

Keep in mind that tax brackets change every year. The thresholds for 2024 are different from 2023, and 2025 thresholds will be different again. When you are planning a sale, use the current year's brackets, not last year's.

Frequently Asked Questions

Can I avoid a bracket jump by selling my investment slowly?

Yes, spreading a sale across multiple years can lower your income in each year and keep you in a lower bracket. If you own 100 shares, you could sell 25 in each of four years instead of all 100 at once. This works only if the asset price remains stable and you have the flexibility to wait. Your broker or accountant can help you plan this approach.

Do I pay the higher tax rate on all my capital gains if I cross a bracket?

No. Only the portion of your gains that exceeds the bracket threshold is taxed at the higher rate. If the threshold is $47,025 and your total income is $48,000, only $975 of your gain is taxed at the higher rate. The rest stays at the lower rate.

What if I have a loss on one investment and a gain on another?

Capital losses can offset capital gains. If you have a $10,000 gain and a $3,000 loss, your net gain is $7,000, which is what gets added to your income and affects your bracket. Unused losses can be carried forward to future years, up to $3,000 per year against ordinary income.

Does the 0% long-term capital gains bracket mean I pay nothing?

Yes, if your total income stays within the 0% bracket threshold, you owe no federal tax on long-term capital gains. For 2024, single filers can have up to $47,025 in total income and pay 0% on long-term gains. This is often used by retirees or lower-income households to sell appreciated assets tax-free.

If I am self-employed, do capital gains affect my self-employment tax?

No. Capital gains are not subject to self-employment tax (Social Security and Medicare tax). Only net earnings from self-employment are taxed that way. Capital gains affect your income tax bracket but not your self-employment tax.