Capital Gains Tax Rates (2026)

Last updated July 2026

Short answer

Long-term capital gains, on assets held more than one year, are taxed at 0, 15, or 20 percent depending on your taxable income. Short-term gains, on assets held one year or less, get no special rate: they are taxed at your ordinary income rate, the same 10 to 37 percent brackets as your wages. Higher earners may owe an additional 3.8 percent Net Investment Income Tax on top of the capital gains rate, and many states tax gains separately at their own rates. The dollar income thresholds that decide whether your long-term rate is 0, 15, or 20 percent are adjusted for inflation every year, so this page keeps the structure and asks you to verify the current cutoffs with the IRS or a tax professional rather than trust a number that may be stale. Walnut, an AI investing app, can show you how your positions have moved, but it is not an investment adviser or a tax adviser and does not calculate your rate. This is general information, not tax advice.

The capital gains rate structure is easy to state and easy to misremember, because the headline rates stay stable while the income thresholds behind them move every year. This guide lays out the long-term rates, why short-term gains are taxed like wages, the extra Net Investment Income Tax that catches higher earners, and the state layer that sits on top of all of it. Throughout, the message is the same: know the structure, but verify the current dollar figures with the IRS before relying on them, because they change annually and depend on your filing status. This is educational and descriptive, not a set of buy or sell calls, and it is not tax advice.

Long-term rates: 0, 15, or 20 percent

If you hold an investment longer than one year and sell at a profit, the gain is long-term and taxed at one of three federal rates: 0, 15, or 20 percent. Which one applies depends on your total taxable income for the year. Lower-income filers can land in the 0 percent bracket, most middle and upper-middle earners fall in the 15 percent bracket, and only high earners above the top threshold reach 20 percent. These preferential rates are the reward for holding longer than a year, and they are a major reason long-term investing is more tax-efficient than frequent trading.

The income thresholds that separate the three rates are adjusted for inflation every year and differ by filing status, so the exact 2026 dollar cutoffs are the kind of figure worth confirming rather than memorizing. Treat 0, 15, and 20 as the reliable structure, and verify the current dollar boundaries with the IRS or a tax professional before you plan around a specific number. This is general information, not tax advice.

Short-term gains are taxed like wages

Short-term capital gains get no special treatment at all. If you sell an asset you held for one year or less, the gain is simply added to your other income and taxed at your ordinary income rate, using the same federal brackets that apply to your paycheck. Those ordinary brackets currently run from 10 percent up to 37 percent, so a short-term gain for a high earner can be taxed at nearly double the top long-term rate.

This is the practical heart of why the one-year holding line matters so much. The same 10,000 dollar profit can face a very different bill depending only on whether you sold at eleven months or thirteen. For the mechanics of how that line works and how gains are realized in the first place, see capital gains tax. The ordinary brackets are also inflation-adjusted yearly, so verify current figures. This is not tax advice.

The 3.8 percent Net Investment Income Tax

On top of the regular capital gains rate, a separate surtax can apply to higher earners: the Net Investment Income Tax, or NIIT. It adds 3.8 percent to investment income, including capital gains, dividends, and interest, for taxpayers whose modified adjusted gross income exceeds a set threshold. Because it stacks on top of the base rate, a high earner already paying 20 percent on a long-term gain can effectively pay 23.8 percent once the NIIT is included.

The NIIT thresholds are fixed in statute and, unlike the ordinary brackets, are not indexed to inflation, which means more people cross into them over time as incomes rise. Whether the NIIT applies to you depends on your filing status and your full income picture, so if you are a higher earner realizing sizable gains, this is one to confirm with a tax professional. Verify the current threshold with the IRS. This is general information, not tax advice.

State taxes vary widely

Everything above is federal. Most states also tax capital gains, and the treatment ranges enormously. Several states have no income tax and therefore no state tax on gains at all, many states tax capital gains as ordinary income at their own rates, and a few apply special rules or surcharges. Whatever your state does is separate from and on top of the federal rate, so your true combined rate can be well above the federal number alone.

Because the state layer depends entirely on where you live, and can even hinge on residency in the year of a large sale, this guide sticks to the federal structure and leaves the state figure to your own state's rules. Anyone facing a significant gain should factor in the state cost, and a tax professional in your state is the right source for the exact number. This is not tax advice.

Why gains inside a 401k or IRA sidestep these rates

None of the rates on this page apply year to year inside a tax-advantaged account. Selling at a profit within a traditional 401k or IRA triggers no capital gains tax; you eventually pay ordinary income tax on withdrawals in retirement. Inside a Roth IRA, qualified withdrawals including all the gains come out tax-free, so the 0, 15, and 20 percent schedule never touches them.

This is a reminder that the rate you pay is not just a function of income and holding period; it also depends on which account the gain occurs in. Positions you expect to trade actively can face repeated short-term rates in a taxable account yet none inside a retirement account. Deciding what belongs where is part of tax-efficient investing, and depends on your individual circumstances. This is general information, not tax advice.

Capital gains rate structure, at a glance

RateApplies toRoughly who
0 percentLong-term capital gains, for filers whose taxable income falls in the lowest rangeLower-income filers; a portion of a retiree's gains can land here
15 percentLong-term capital gains, for filers in the broad middle rangeMost middle and upper-middle income filers
20 percentLong-term capital gains, for filers above the top thresholdHigh earners in the top ordinary bracket
Ordinary ratesShort-term capital gains (held one year or less)Anyone selling within a year, taxed like wages at 10 to 37 percent
+ 3.8 percent NIITAdded on top for higher earners over a modified-AGI thresholdInvestors above the NIIT income line, on top of the rate above

Read the table as the shape of the system, not as a promise about your own bill. The long-term rates of 0, 15, and 20 percent map to income ranges that shift every year, short-term gains ride your ordinary brackets, the 3.8 percent NIIT stacks on top for higher earners, and your state adds its own layer. Every dollar threshold here can change from year to year and depends on your filing status and individual circumstances, so verify the current figures with the IRS or a licensed professional before making any decision.

Where Walnut fits

Your rate depends on inputs Walnut does not decide: your income, filing status, state, and how long you held each position. What an AI assistant that reads across your accounts can do is show you the holding-period and performance side of the picture in plain words. Walnut lets you connect any major US broker, then chat through Claude, ChatGPT, or its built-in AI to see how each position has moved and which ones you have held past the one-year mark. You can build baskets around a plan, track every position against the S&P 500, and place trades that Walnut only sends to your broker after you approve them. It reads your accounts by default and does not move money on its own. Walnut is not an investment adviser or a tax adviser, it does not calculate your tax rate, and it does not tell you what to buy.

Try Walnut on top of your broker

Walnut connects your accounts, then helps you see how each position has moved and how long you have held it, by chatting through Claude, ChatGPT, or its built-in AI. Walnut is not an investment adviser or a tax adviser and does not tell you what to buy.

FAQ

What is the capital gains tax rate?

For long-term gains (assets held more than one year), the federal rate is 0, 15, or 20 percent depending on your taxable income. For short-term gains (held one year or less), there is no special rate: the gain is taxed at your ordinary income rate, the same brackets as wages, which range from 10 to 37 percent. Higher earners may also owe an extra 3.8 percent Net Investment Income Tax. Income thresholds adjust yearly, so verify current figures with the IRS. This is not tax advice.

What are the 2026 long-term capital gains brackets?

Long-term capital gains are taxed at 0, 15, or 20 percent based on where your taxable income falls, and the dollar thresholds that separate those rates are adjusted for inflation every year. Because the exact 2026 cutoffs can change and depend on your filing status, this guide keeps the structure (0, 15, 20) and asks you to verify the current dollar figures with the IRS or a tax professional rather than rely on a number that may be stale. This is general information, not tax advice.

How are short-term capital gains taxed?

Short-term capital gains, on assets held one year or less, get no preferential rate. They are added to your other income and taxed at your ordinary income rate, using the same federal brackets that apply to your paycheck, currently ranging from 10 to 37 percent. This is usually higher than the long-term rate, which is why the one-year holding line matters so much. Verify current brackets with the IRS. This is not tax advice.

What is the Net Investment Income Tax?

The Net Investment Income Tax, or NIIT, is an additional 3.8 percent tax on investment income, including capital gains, dividends, and interest, for taxpayers whose modified adjusted gross income is above a set threshold. It applies on top of the regular capital gains rate, so a high earner paying 20 percent long-term could face 23.8 percent all in. The income threshold is fixed in statute and not inflation-adjusted. Verify the current figure and consult a tax professional.

Do I pay state tax on capital gains?

Often, yes, and it varies a lot by state. Many states tax capital gains as ordinary income at their own rates, some have no income tax at all, and a few have special rules. State tax is separate from and on top of the federal rate. Because it depends entirely on where you live, this guide covers only the federal structure; check your state's rules or ask a tax professional. This is general information, not tax advice.

How can the long-term rate be 0 percent?

For filers whose taxable income falls within the lowest range, the long-term capital gains rate is genuinely 0 percent federally. This can matter for lower-income years, early retirees before required withdrawals, or anyone whose total income is modest, who may be able to realize some long-term gains at no federal tax. The exact income cutoff adjusts yearly and depends on filing status, so verify the current threshold with the IRS. Consult a tax professional.

Are these rates the same for ETFs and mutual funds?

The same long-term and short-term rates apply when you sell an ETF or mutual fund at a profit, based on how long you held your shares. Funds can also pass through capital gains distributions, which carry their own character (usually long-term). Broad ETFs rarely make such distributions because of their in-kind structure, while some mutual funds do. See how ETFs are taxed for detail. This is general information, not tax advice.

Does Walnut tell me what tax rate I will pay?

No. Walnut is not a registered investment adviser or a tax adviser, and it does not calculate your tax rate or prepare returns. It can read your connected accounts so you can see, in plain words, how each holding has moved and how long you have held it, which is useful context. Your actual rate depends on your income, filing status, and state, so confirm it with your tax forms and a qualified tax professional.

From here, see how the gain itself works in capital gains tax, the broader picture in how stocks are taxed, and how to cut the drag on the same portfolio in tax-efficient investing.

Walnut is informational and is not a registered investment adviser or a tax adviser. This page explains the capital gains rate structure in general; it is not a recommendation to buy, sell, or hold any security, and it is not tax advice. Investing involves risk, including the possible loss of principal, and past performance does not indicate future results. Tax rates, brackets, income thresholds, and surtaxes change and depend on your individual circumstances; verify current details with the IRS or a licensed professional before making any decision. Do your own research or consult a licensed financial or tax professional.

Related articles

    Capital Gains Tax Rates 2026: 0%, 15%, 20% Explained, Walnut