Most states tax capital gains as ordinary income, but nine states have no income tax at all

Whether you pay state tax on capital gains depends on where you live. Thirty-seven states treat capital gains the same as wages and salary — they add your gains to your other income and tax the total at your state's regular income tax rate. Nine states have no income tax at all, so you pay nothing to the state. Four states tax capital gains at a lower rate than ordinary income. The remaining states either have special rules for long-term gains or are phasing in new capital gains taxes.

Your state tax bill is separate from what you owe the federal government. Even if your state has no income tax, you still file a federal return and pay federal capital gains tax. The reverse is also true: states with income tax collect their share even when federal tax is zero (which rarely happens with capital gains, but can occur in other situations).

Key Takeaways

  • Nine states — Alaska, Florida, Nevada, South Dakota, Tennessee, Texas, Washington, Wyoming, and New Hampshire — have no state income tax on capital gains or any other income.
  • Most other states tax long-term capital gains at the same rate as your ordinary income, which varies by state from roughly 3% to 13%.
  • Four states — Colorado, North Carolina, Tennessee, and South Dakota — offer preferential rates for long-term capital gains, taxing them lower than ordinary income.
  • Your state tax rate depends on where you live when you sell the asset, not where you bought it or where the company is based.
  • If you move to a different state after selling an asset, your old state may still claim tax on gains from assets you owned while living there.

States with no income tax

Nine states collect no income tax at all, which means no state capital gains tax either. These are Alaska, Florida, Nevada, South Dakota, Tennessee, Texas, Washington, Wyoming, and New Hampshire. If you live in one of these states when you sell stock, real estate, or other assets at a profit, you owe nothing to your state government.

New Hampshire is a partial exception: it taxes interest and dividend income but not capital gains or wages. So if your profit comes from selling an asset, you are exempt. If it comes from dividends or interest, you owe New Hampshire tax.

These nine states fund government through sales tax, property tax, or other revenue sources instead. Your federal tax obligation remains unchanged — you still file a federal return and pay federal capital gains tax.

States that tax capital gains as ordinary income

Thirty-seven states add your capital gains to your other income and tax everything together at your state's regular income tax rate. This rate varies widely. Some states charge roughly 3% on the lowest bracket; others charge 13% or more on the highest bracket. Your state tax bill depends on both the size of your gain and your total income for the year.

For example, if you live in California and sell stock for a $50,000 gain, that $50,000 is added to your wages, interest, and other income. If your total income puts you in California's top bracket (13.3%), you pay that rate on the gain. If your total income is lower, you may pay a lower rate on part or all of the gain, depending on how California's brackets work.

These states do not distinguish between long-term and short-term gains for state tax purposes, even though the federal government does. A gain you held for 20 years is taxed the same way as a gain you held for 20 days.

States with preferential rates for long-term gains

Four states offer a lower tax rate on long-term capital gains than on ordinary income. Colorado taxes long-term gains at 4.63% regardless of your income bracket, while ordinary income is taxed at rates up to 4.63% (so there is no actual preference). North Carolina taxes long-term gains at a flat 4.99%, while ordinary income reaches 4.99% at higher brackets. Tennessee taxes long-term gains at 0% but taxes ordinary income at 0% as well, so there is no difference. South Dakota has no income tax.

These preferential rates are designed to encourage investment and capital formation, though the actual benefit varies by state and by your personal tax situation. You still need to report the gain on your state return and calculate tax using your state's rules.

What happens if you move to a different state

Your state tax obligation is based on your residency when you sell the asset. If you live in New York on the day you sell stock, you owe New York tax on the gain, even if you move to Florida the next week. If you live in Florida when you sell, you owe nothing to Florida, even if you move to New York the next week.

The complication arises when you own an asset while living in one state, then move and sell it in another state. Your old state may claim tax on the gain if you were a resident when you bought the asset or held it for a long time there. This is called a "source income" claim, and it varies by state. Some states are aggressive about it; others are not. If you face this situation, you may owe tax to both states, though you can usually claim a credit on one return for tax paid to the other.

If you are planning a move and have large unrealized gains, consult a tax professional in both your current and future states before selling. The difference in tax rates can be substantial.

State tax rates by income level

State capital gains tax rates depend on your total income for the year. In states that tax gains as ordinary income, your gain is added to your wages, interest, and other income, and the combined total is taxed using your state's tax brackets.

State CategoryTax Rate on Capital GainsHow It Works
No income tax (9 states)0%No state tax on any income
Ordinary income treatment (37 states)Varies by state and income level, typically 3% to 13%Gains added to other income; taxed at regular brackets
Preferential rates (4 states)Typically 0% to 5%Long-term gains taxed lower than ordinary income

To find your state's exact rate, check your state's department of revenue website or a tax software tool. Rates change periodically, and some states adjust brackets annually for inflation.

How state tax interacts with federal tax

State and federal capital gains taxes are calculated separately. You file a federal return showing your gain, calculate federal tax (using the 0%, 15%, or 20% long-term rate, or your ordinary income rate for short-term gains), and then file a state return showing the same gain and calculate state tax using your state's rules.

You pay both. There is no deduction on your federal return for state tax paid, and no deduction on your state return for federal tax paid. However, if you move between states or live in a state that taxes income from other states, you may be able to claim a credit to avoid paying tax twice on the same gain.

Your federal tax bracket and your state tax bracket are independent. You could be in the 15% federal long-term capital gains bracket and the 10% state ordinary income bracket, for example. Your total tax on the gain would be 25%, split between the two governments.

Frequently Asked Questions

Do I owe state tax if I sell a house?

Yes, unless you live in one of the nine no-income-tax states. The gain on a house sale is treated like any other capital gain. However, you may be able to exclude up to $250,000 of gain (or $500,000 if married filing jointly) from federal tax if the house was your primary residence for at least two of the last five years. This exclusion does not apply to state tax in most states, so you may owe state tax on a gain that is exempt from federal tax.

What if I sell stock at a loss?

Capital losses are treated the same way as gains for state tax purposes. You report the loss on your state return, and it reduces your taxable income. If your losses exceed your gains in a year, you may be able to carry the excess loss forward to future years, depending on your state's rules. Check your state's department of revenue for specifics.

Do I have to pay state tax on gains from investments held in a retirement account?

No. Gains inside a 401(k), IRA, or other may have access to retirement account are not taxed at the state level when they occur. You pay state tax only when you withdraw money from the account in retirement, and then it is taxed as ordinary income, not as capital gains.

Can I avoid state tax by selling an asset while on vacation in a no-tax state?

No. Your state of residency is where you live most of the year, not where you happen to be on the day of the sale. If you are a resident of California and sell stock while visiting Nevada, you still owe California tax. Your state will tax you based on your legal residency, which is determined by factors like where you have a home, where you work, and where you are registered to vote.

What if I inherited an asset and then sold it?

You owe state capital gains tax on the gain from the sale, calculated from the asset's value on the date of inheritance (the "stepped-up basis") to the sale price. You do not owe tax on the increase in value that occurred before you inherited it. The state tax treatment is the same as any other capital gain — it depends on your state of residency when you sell.