FileTax.Com
Photorealistic workspace with tax documents and stock charts illustrating how state capital gains taxes affect investment income.

State Taxes on Stock Sales and Investment Income: Why Your State Return May Differ

Updated June 11, 2026
Reviewed June 12, 2026
Fact Checked
Written by · 2 authors
  • Scott Dylan Westerlund
    Scott Westerlund
    Content Writer - Tax Law
Reviewed by

Your Takeaways:

  • Most states tax capital gains at ordinary income rates — no federal-style 0/15/20% preferential treatment.
  • 9 states have no broad-based individual income tax: Alaska, Florida, Nevada, New Hampshire, South Dakota, Tennessee, Texas, Washington, and Wyoming.
  • But Washington has a 7% capital gains tax on gains above ~$270K (upheld by state Supreme Court in 2023) — so "no state income tax" doesn't mean "no state capital gains tax" for high earners.
  • California has the highest state capital gains tax at 13.3% (top bracket), in addition to federal rates.
  • Your state of residency when the gain is realized generally controls — movers may owe tax in both states (part-year residency) or no state (if moving to a no-tax state).
  • State loss rules often differ from federal — a loss that reduces your federal tax bill may not reduce your state bill the same way.
  • Moving states before a large sale is a common tax planning move, but states aggressively audit these moves. Establish bona fide residency well before the sale.

Selling stocks, mutual funds, or other capital assets often feels like a federal tax issue. Then your state return shows up and changes the mood fast. State capital gains tax rules frequently differ from federal tax laws, and those differences can lead to unexpected tax liability even when your federal capital gains tax looks reasonable.

This guide explains why states tax capital gains the way they do, what income is affected, and why your state tax bill after selling stock may not match what you expected. No jargon. No panic. Just clarity.

Early on, it helps to understand how this topic fits into the broader picture of stock and investment taxes. This article focuses solely on state-level rules and intentionally avoids rates, calculations, and tax-planning advice.

TL;DR: State capital gains tax rules often differ significantly from federal rules. Most states tax capital gains as ordinary income rather than at federal preferential rates (0%, 15%, 20%) — meaning your long-term gains may be taxed at the same rate as your wages at the state level. Some states have no broad-based income tax (AK, FL, NV, NH, SD, TN, TX, WY), but Washington imposes a 7% capital gains tax on gains above roughly $270,000. State rates range from 0% to about 13% (California has the highest). Your state of residency when the gain is realized generally determines which state can tax it.

If you’re new to this topic, it helps to start with the basics of capital gains, including how gains are realized and why selling an asset can trigger tax consequences.

Why State Capital Gains Tax Differs From Federal Capital Gains Tax

At a high level, federal and state governments approach capital gains very differently.

Federal vs State Capital Gains Treatment

Topic

Federal Tax Treatment

State Tax Treatment

How capital gains are categorized

Capital gains are separated into short-term and long-term based on how long assets are held

Most states do not distinguish between short- and long-term capital gains, taxing both as ordinary income.

Relationship to ordinary income

Long-term gains are treated separately from ordinary income

Capital gains are usually treated as ordinary income

Impact of holding period

Holding period plays a key role in how gains are taxed

Holding period often has little or no impact

Connection to taxable income

Capital gains flow into federal taxable income with special treatment

Capital gains are typically included directly in state taxable income

Overall approach

Uses a layered system with multiple categories

Uses a simplified income-based system

This structural difference is the main reason state tax results often differ significantly from federal results after selling investments.

What Counts as Capital Gains Income at the State Level

Capital gains generally come from selling capital assets for more than their purchase price. If you sell for less than you paid, you realize a capital loss.

Common examples of capital gains income include:

  • Stocks, bonds, and crypto
  • Mutual funds and capital gain distributions
  • Private equity investments
  • Investment property that is not your primary residence
  • Business interests

Some investment income, such as mutual fund distributions, may also include dividends, which are often taxed differently at both the federal and state levels. Learn more in our guide to dividend taxes.

The gain or loss is typically the difference between what you paid and what you received when you sold. That gain becomes part of your taxable income for state purposes, even if federal rules treat it differently.

Short Term vs Long Term Capital Gains at the State Level

At the federal level, assets held more than a year qualify for long-term capital gains treatment. Assets held for a year or less create short-term gains that are taxed as ordinary income.

At the state level, that distinction often does not apply.

Most states tax both short- and long-term gains the same way. In many states, the holding period does not change how capital gains are taxed at the state level, so gains often flow into state taxable income as ordinary income regardless of how long the asset was held.

This is one reason taxpayers are surprised by state capital gains tax after a profitable asset sale.

Source: IRS Pub. 525

State tax documents grouped under ordinary income, illustrating why most states tax capital gains the same as wages.

Why Most States Tax Capital Gains as Ordinary Income

There are a few big reasons states take this approach.

  • Simplicity: State tax systems are designed to be easier to administer.
  • Revenue stability: States rely heavily on income taxes to fund public services.
  • Conformity: Many states start with federal taxable income and make adjustments.

This approach affects everyone, from investors in a lower tax bracket to high-income taxpayers with large investment portfolios.

State capital gains rates range from 0 to 13%, and even those that tax gains at ordinary-income rates can be substantially lower than federal rates.

Highest and Lowest State Rate Examples

Highest state capital gains rates (2025):

  • California: up to 13.3%
  • New York: up to 10.9% (plus 3.876% NYC local tax)
  • New Jersey: up to 10.75%
  • Minnesota: up to 9.85%
  • Oregon: up to 9.9%
  • Massachusetts: 9% on investment income over $1M (plus standard rates)

Lowest state capital gains rates:

  • Arizona: 2.5% flat
  • North Dakota: 2.5%–2.9%
  • Indiana: 3.15% flat (local taxes add more)
  • Several states offer special treatment or exclusions

Special state treatments worth noting:

  • Arkansas excludes 50% of long-term capital gains from taxation
  • South Carolina allows a 44% deduction on long-term capital gains
  • Montana has special capital gains credits
  • New Mexico deducts 40% of long-term gains

These are examples; rates and special treatments change frequently. Always verify current state law.

States With No Broad-Based Income Tax

Some states do not impose a broad-based individual income tax. In those states, capital gains from stock sales are typically not taxed at the state level, though residency and sourcing rules can still affect liability. States without a broad-based individual income tax are Alaska, Florida, Nevada, New Hampshire, South Dakota, Tennessee, Texas, and Wyoming.

Important exception: Washington also has no broad-based income tax, but it does impose a 7% capital gains tax on long-term gains exceeding approximately $270,000 (indexed annually). This tax, effective January 1, 2022, applies to individuals with large investment gains and was upheld by the Washington Supreme Court in 2023. Most taxpayers won't reach the threshold, but high-earning investors in Washington should be aware.

Additionally, New Hampshire historically taxed interest and dividends, but is phasing out that tax. It's fully repealed as of 2025. Tennessee fully repealed its Hall income tax (interest and dividends) in 2021.

However, this does not automatically eliminate state tax liability. Residency rules and source income rules still matter. Selling stock while living in one state does not always mean that state gets the taxing rights.

This is especially relevant for taxpayers who move mid-year or maintain ties to multiple states.

Residency, Source Income, and Why Location Matters

State capital gains taxes depend heavily on where you live and, in some cases, where the income is sourced.

Key concepts include:

  • Residency: Your legal home for state income tax purposes
  • Part-year residency: Moving between states during the year
  • Source income: Income connected to a specific state

For individuals, most investment income, such as stock sales, is treated as intangible income and is typically sourced to the taxpayer’s state of residency. This means your home state usually taxes the gains, even if the investment itself has no physical location.

This is why someone moving from a state that taxes capital gains to one that does not may still owe state income tax for part of the year.

Moving States Before a Large Sale

Moving from a high-tax state (like California or New York) to a no-income-tax state (like Florida or Texas) before a major stock sale is a well-known tax planning strategy. But it's not as simple as packing a suitcase.

What states examine:

  • Domicile: Where you truly intend to live permanently
  • Statutory residency: Typically 183+ days physically in the state
  • Driver's license, voter registration, and car registration — all pointing to the new state
  • Primary home sale, new home purchase, homestead exemptions
  • Business ties, medical providers, social connections

Aggressive audit states: California, New York, and New Jersey are known for aggressively auditing residency changes, especially around large capital events. A single-year switch will often be challenged.

Best practice: Establish bona fide residency at least a full year before a major transaction, and document everything. A tax professional can help structure the timing and provide defensive documentation.

Why State Capital Gains Tax Liability Often Surprises Taxpayers

State tax surprises often come from expectations shaped by federal capital gains rules.

Common reasons include:

  • Assuming long-term gains get special state tax rates
  • Forgetting that capital gains increase taxable income
  • Overlooking part-year residency rules
  • Underestimating how gains push income into a higher tax bracket

In many cases, the surprise stems from reporting. Selling stock often triggers additional state-level reporting requirements that differ from federal forms. Our overview of reporting stock sales explains why.

Because states usually treat capital gains as ordinary income, a large stock sale can increase your overall tax liability even if the federal capital gains tax remains relatively low.

Capital Losses and Offsetting Capital Gains at the State Level

Capital losses can help offset capital gains, reducing net capital gain. Many states follow federal capital loss rules, but limits on carryforwards or offsets can differ, so a loss that reduces federal taxable income may not reduce state taxable income by the same amount.

Some states limit how capital losses can be used to offset gains or other income. Others conform closely to federal tax rules.

While some states have special rules regarding capital losses, most states do not permit capital losses to offset taxable income. Tax laws can change often, so check with state authorities to confirm state and local tax laws.

The key takeaway is that offset gains rules exist, but they are not consistent across states. A loss that reduces federal taxable income may not reduce state tax income in the same way.

Special Situations That Can Affect State Capital Gains

Certain transactions add extra complexity.

Investment property:
Rental income and gains from the sale of investment property often have unique state-level sourcing rules.

Mutual funds:
Capital gain distributions from mutual funds are taxable even if you reinvest them.

Qualified small business stock:
Federal tax breaks may not apply at the state level.

A few other exceptions:
Trusts, partnerships, and private equity structures can create state-specific reporting differences without changing the core rule that gains are ordinary income.

Primary Residence Sale and State Taxes

The federal Section 121 exclusion lets married couples exclude up to $500,000 of gain ($250,000 for single filers) when selling a primary residence that meets the ownership and use tests.

Most states conform to Section 121 — meaning the excluded gain is also excluded from state taxable income. But not all.

States to watch:

  • Some states that conform to federal rules still tax the portion exceeding the exclusion
  • Some states have additional requirements or phase-outs
  • Pennsylvania generally follows federal treatment, but has its own rules
  • New Jersey has unique Section 121 application rules

If you're selling a home with a gain exceeding the federal exclusion, expect state tax on the excess in most states.

How State Capital Gains Taxes Affect Your Total Tax Liability

Capital gains do not exist in a vacuum. They interact with:

  • Other investment income
  • Interest income
  • Rental income
  • Filing status, such as Married Filing Jointly or Married Filing Separately

A large gain can increase adjusted gross income, which may affect deductions, credits, and overall tax bracket placement.

This is why state capital gains taxes often have ripple effects beyond the gain itself.

Final Takeaway: State Capital Gains Tax Is About More Than Just the Sale

Selling stocks or other investments is only half the story. The other half shows up on your state tax return, where capital gains are often treated very differently than they are at the federal level. Because most states tax capital gains as ordinary income, your location, residency status, and overall taxable income can all influence how much state tax you owe.

The key is awareness. Understanding why state capital gains tax works the way it does helps you avoid surprises, especially if you sold a profitable asset, moved states, or saw a spike in investment income. State rules may feel quiet until they are not, and then they matter a lot.

If you want a clearer view of how stock sales, dividends, and other investment income fit together, visit our Stock & Investment Taxes page. It breaks down the big picture in plain English so you can see how federal and state rules connect, where reporting applies, and why investment taxes rarely stop at a single return.

And remember, this article is for educational purposes only and does not constitute legal or tax advice. Tax laws change, individual situations vary, and future tax years may look different. When questions get personal, a qualified tax professional can help you turn information into confidence.

Taxes may never be fun, but they do not have to be confusing. When it comes to state capital gains taxes, knowing what to expect makes all the difference.

Filed Under:

See what some of the hundreds of thousands of satisfied customers have to say about our services:

Levi C

Levi C.

VERY FAST

I got approved within a couple of days for my tax extension filing through these guys, and they responded to my email the same day. Great customer service and fast results. Give them a shot.

LaMontica

LaMontica

Great Service!!

This is the second year that I have used this service. Each time, the process was quick, easy, and efficient. I will definitely be using this service in the future and will recommend it to friends and family.

Chezbie

Chezbie

Fantastic Site!!

The process was so easy. I processed this extension in a matter of minutes! For you last-minute filers out there, come here. It'll help you end your long day in peace!

Why Trust FileTax.com

• Written and reviewed by qualified tax professionals, including CPAs and tax law reviewers

• Reviewer and contributor profiles include credentials, expertise, and verification information

• Content is reviewed for tax accuracy, compliance, and clarity before publication

• Based on IRS guidance, state tax agencies, and current tax law updates

• Editorial standards and review processes are publicly documented

Links

Editorial Standards

Customer Reviews

IRS Authorized e-File Provider Verification

FAQs About State Capital Gains Tax

Yes. Most states tax capital gains as ordinary income rather than applying special capital gains rates.