Skip to main content
State-Level Considerations

State Capital Gains Taxes: How They Differ From Federal

Pomegra Learn

State Capital Gains Taxes: How They Differ From Federal

The federal government taxes long-term capital gains at 0%, 15%, or 20% (depending on income), a significant advantage over ordinary income rates up to 37%. However, most states eliminate this advantage entirely: they tax long-term capital gains at the same rate as ordinary income, meaning your $100,000 long-term gain is taxed as $100,000 of ordinary income in the state's system. A few states (Hawaii, Delaware, Montana, Colorado) have begun to offer preferential rates, but the exception is rare. For investors realizing large gains, understanding state capital gains treatment is essential to tax planning.

Quick definition: State capital gains taxation refers to how states treat realized gains from selling stocks, funds, or other investments. Most states tax both long-term and short-term capital gains as ordinary income, regardless of holding period. A few states offer preferential rates for long-term gains (lower than ordinary income rates), but this benefit is not widespread.

Key takeaways

  • Most states (over 40) tax all capital gains as ordinary income, eliminating the federal preferential rate for long-term gains
  • Hawaii, Delaware, Montana, and Colorado offer preferential rates for long-term capital gains; Illinois and a few others tax short-term gains only
  • A state that taxes long-term capital gains at its top ordinary income rate (13%+ in California, New York) creates a combined federal-plus-state rate exceeding 33% for high-income earners
  • Realized gains are taxed in the state where the investor is domiciled, not where the investment is held; moving to a lower-tax state before realizing large gains can save substantial taxes
  • Tax-loss harvesting provides an avenue to offset gains and reduce state tax burden, with no state-specific limitations

How federal and state capital gains taxation diverge

Federal treatment: Capital gains are taxed at preferential long-term rates (0%, 15%, 20%) based on holding period and income. Short-term gains are taxed as ordinary income. This preferential treatment is why holding a stock for more than one year (to qualify for long-term status) is valuable.

State treatment: Most states tax both long-term and short-term capital gains identically—at the taxpayer's marginal ordinary income tax rate. A $100,000 long-term gain in California is taxed as $100,000 of ordinary income at California's rate, up to 13.3% at the highest bracket. This means:

  • A Californian earning $500,000 in salary faces a marginal state income tax rate of 12.3% (California's second-highest bracket).
  • That same Californian realizing a $100,000 long-term capital gain pays 12.3% state tax on the gain, even though the federal rate is only 15%.
  • The combined federal-plus-state rate on the gain is 15% + 12.3% = 27.3%.

An investor in Texas (no state income tax) on the same gain pays only 15% federal, a 12.3% advantage.

The income-bracket problem with state capital gains taxation

A critical issue: realizing a large capital gain can push you into a higher state income tax bracket, multiplying the state tax rate on the gain itself.

Example: $300,000 long-term capital gain in New York State.

Assume a single filer with $150,000 in salary and realizing a $300,000 capital gain.

  • Salary: $150,000 (puts you in the 8.82% New York state bracket for ordinary income)
  • Capital gain: $300,000 (pushes you into the 10.9% and 11.85% brackets)
  • Weighted average state tax rate on the gain: ~10.5%
  • Federal tax at 15% (long-term rate)
  • Combined: 25.5%

If the investor had realized the same gain in Texas (no state income tax):

  • Federal tax at 15%
  • Combined: 15%

The New York state tax cost on the gain is $31,500 (10.5% of $300,000).

States with preferential long-term capital gains rates

A minority of states have moved toward preferential treatment, recognizing the federal precedent:

Hawaii: Offers a preferential rate for net long-term capital gains. Gains up to $600,000 per year are taxed at 5%, and gains above that threshold are taxed at the ordinary income rate (up to 11%). This provides meaningful relief for Hawaii residents realizing moderate to large gains.

Delaware: Allows a 50% exclusion for long-term capital gains (gains of residents who have been Delaware residents for 3+ years are 50% excluded from tax). This effectively cuts the state tax rate in half. However, Delaware has high property taxes and other taxes to compensate, so the net benefit depends on your full tax picture.

Montana: Allows an exclusion of 40% of net long-term capital gains from state taxation. This effectively reduces the state tax rate from the ordinary rate by 40%. Montana's top ordinary income tax rate is 8.84%, so the effective capital gains rate is roughly 5.3%.

Colorado: Recently increased its long-term capital gains exclusion to 60%, meaning 40% of long-term gains are subject to state tax. Colorado's flat rate of 4.63% applies to the included portion, making the effective state tax rate on long-term gains ~1.85%.

Illinois: As of 2024–2025, Illinois taxes only short-term capital gains (held <1 year) as ordinary income. Long-term gains are exempt from Illinois state income tax, providing a 4.95% benefit to residents realizing long-term gains. This is a major advantage and a recent change (following years of advocacy by investors and business groups).

Massachusetts: Taxes long-term gains at a lower rate (5%) than short-term gains (ordinary income rate, up to 5.25%), but the differential is small. Long-term gains still face near-ordinary-rate taxation.

Comparison: State capital gains rates across jurisdictions

StateLong-Term Gains RateShort-Term Gains RateNotes
California13.3% (top bracket)13.3%No preferential treatment; one of the highest
New York10.9%–11.85% (top bracket)10.9%–11.85%No preferential treatment; top brackets for residents
Texas0%0%No state income tax; gains taxed at federal rates only
Florida0%0%No state income tax
Illinois0% (long-term only, new rule)4.95%Preferential long-term treatment (new)
Hawaii5% (for gains <$600k)Ordinary rate to 11%Preferential treatment for moderate gains
Colorado1.85% (effective on 60% inclusion)4.63%Preferential treatment
Montana5.3% (effective on 60% inclusion)8.84%Preferential treatment

Timing of gain recognition and state tax planning

Because gains are taxed in the state of the taxpayer's domicile, not in the state where the investment is held, an investor can use domicile timing to optimize state tax:

Strategy 1: Realize large gains after establishing residency in a lower-tax state.

If you plan to realize a large capital gain (selling a concentrated position, exercising stock options, selling inherited real estate), consider establishing domicile in a lower-tax state before the sale. This requires genuine relocation (establishing a primary residence, changing voter registration, spending the majority of the year in the new state), not a paper change.

A tech executive in San Francisco planning to sell $2 million in company stock and trigger a $1.5 million capital gain might relocate to Texas 12 months before the sale. The federal tax is the same (15%), but California's state tax ($199,500) is avoided in Texas ($0), saving $199,500. This strategy is most powerful for large, one-time gains (selling a business, liquidating a concentrated stock position).

Strategy 2: Realize gains incrementally across years, spreading state tax brackets.

If you own a highly appreciated asset, instead of selling it all at once (triggering a large bracket jump), you might sell portions across multiple tax years. This keeps your total income below high-tax brackets, reducing your average state tax rate on the gains.

Example: $500,000 gain realized in a single year in New York, pushing you to a 11.85% state bracket. Selling it evenly over two years keeps you in the 10.9% bracket. The tax savings are modest (~$47,500 total), but for very large gains, spreading can reduce state tax significantly.

This strategy is limited by the nature of the sale (you cannot sell half a concentrated position without disrupting your plan), but it applies when you have flexibility in timing.

Legal strategies:

  1. Hold assets until death (step-up in basis). Inherited assets receive a "step-up" in basis at death, meaning heirs inherit the asset at current market value with no capital gain tax. This eliminates both state and federal capital gains tax on the appreciation during the owner's life. It is an expensive strategy (requires death to trigger), but it is legal.

  2. Donate appreciated assets to charity. You avoid the capital gains tax (state and federal) by donating the appreciated asset directly to a charity, and you get a charitable deduction for the full market value. A $100,000 stock with a $60,000 gain can be donated; you avoid $9,000 in state tax (if you live in a 15% state) and federal tax, and you deduct $100,000.

  3. Use tax-loss harvesting to offset gains. Harvest losses in your portfolio to offset gains realized in the same year, reducing net gain subject to state taxation. A $100,000 gain offset by $40,000 in losses results in only $60,000 net gains taxed by the state.

  4. Maximize contributions to tax-advantaged accounts. Gains inside IRAs, 401(k)s, and 529 plans are not subject to state income tax while inside the account. A $10,000 contribution to a traditional IRA generates gains inside the account free of state tax.

Illegal strategies:

  1. False residency claims. Claiming domicile in a no-income-tax state while maintaining a primary home and spending the majority of time in a high-tax state is tax fraud. States aggressively pursue residency claims and will assess back taxes plus interest and penalties if you are caught.

  2. Timing-based residency changes without genuine relocation. Selling an asset in State A, then moving to State B the day after the sale and claiming the gain occurred while you were a State B resident, is a transparent fraud. Gains are taxed in the state of domicile at the time of the sale, which is determined by intent, residence, and ties—not timing of a formal move.

  3. Moving assets to trusts in low-tax states. Creating a trust in Nevada, South Dakota, or another low-tax state does not exempt the trust's gains from your home state's income tax if you are the beneficiary and maintain control. Many states have enacted laws to tax resident beneficiaries on trust income regardless of the trust's location.

State capital gains tax planning

Real-world examples

Example 1: Tech executive selling concentrated stock. A Google employee in Mountain View, California, holds 1,000 shares of Google stock worth $150 per share ($150,000 value). Original purchase price: $15 per share ($15,000 cost basis). Long-term gain: $135,000. If sold while a California resident:

  • Federal tax at 15%: $20,250
  • California state tax at 12.3% (marginal rate given other income): $16,605
  • Total tax: $36,855
  • After-tax proceeds: $113,145

If the executive relocates to Austin, Texas, and establishes domicile 12 months before the sale:

  • Federal tax at 15%: $20,250
  • Texas state tax: $0
  • Total tax: $20,250
  • After-tax proceeds: $129,750

Savings: $16,605 (44% reduction in tax due to state relocation).

Example 2: Inherited real estate sold in a high-tax state. An heir in New York receives a $2 million real estate property. The original owner's cost basis: $1 million. The heir receives a step-up in basis at the owner's death, meaning the heir's new basis is $2 million. If the heir sells immediately for $2 million, there is no capital gain and no tax (federal or state). But if the heir waits 3 years and the property appreciates to $2.3 million, selling triggers a $300,000 capital gain. In New York:

  • Federal tax at 15%: $45,000
  • New York state tax at 11.85% (estimated): $35,550
  • Total tax: $80,550

The step-up-in-basis strategy avoided state tax on the initial $1 million appreciation (died before selling). The heir then pays tax only on the appreciation after the inherited property was received.

Example 3: Using loss harvesting to offset state capital gains tax. An investor in Illinois with a $200,000 realized long-term capital gain and a $150,000 unrealized loss in a lagging position. Before the recent Illinois change (taxing long-term gains at 0%), the investor's capital gain would be taxed at Illinois's 4.95% ordinary rate, costing $9,900. The investor harvests the $150,000 loss, reducing the net long-term gain to $50,000, reducing Illinois tax to $2,475. Tax savings: $7,425. The investor then repurchases the harvested position 31 days later to avoid the wash-sale rule, maintaining the intended portfolio allocation.

Common mistakes

Mistake 1: Assuming state capital gains tax does not apply to out-of-state investments. Many investors think that if they sell a stock traded on a national exchange or held in an out-of-state brokerage account, the gain is not subject to their home state's tax. This is false. State income tax applies to residents' worldwide income, including gains from any investment held anywhere. The investment's location does not matter; only your domicile matters.

Mistake 2: Thinking a short-term gain is always worse than a long-term gain at the state level. While short-term gains are taxed as ordinary income at the federal level (up to 37%), many states treat short-term and long-term gains identically, taxing both as ordinary income. The federal advantage of holding longer (to qualify for long-term treatment) is erased at the state level in most states. However, in a few states (Illinois, Hawaii, Colorado), long-term gains receive a state-level preference, making the holding-period decision more valuable.

Mistake 3: Not documenting residency changes when realizing large gains. If you move to a lower-tax state and then realize a large gain, the state tax authority will scrutinize the timing. You must have documentation showing that you established domicile before the gain (driver's license, voter registration, lease or home purchase, move confirmation). A transparent pattern of moving, selling, then moving back triggers audits and reassessment of state tax.

Mistake 4: Overlooking the interaction between capital gains and bracket creep. A $200,000 capital gain in a state with progressive tax brackets can push you from a 6% bracket to a 12% bracket. Instead of paying 6% on the gain, you pay 9% (weighted average of the brackets you move through). Investors underestimate this effect and assume a single state tax rate applies to all gains.

Mistake 5: Not considering loss harvesting opportunities before a large planned gain. If you know you will realize a large capital gain (selling a business, exercising stock options), you should review your portfolio several months before for unrealized losses to harvest. Harvesting losses before the gain is realized reduces the net gain subject to tax. Many investors wait until after the gain to seek losses, by which time they are already locked in.

FAQ

Do all states tax capital gains the same way?

No. Most states tax capital gains as ordinary income, but a few (Hawaii, Delaware, Montana, Colorado, Illinois) offer preferential rates or exclusions for long-term gains. Nine states (Alaska, Florida, Nevada, South Dakota, Tennessee, Texas, Washington, Wyoming, New Hampshire) have no state income tax at all. Three states (Wyoming, South Dakota, Tennessee) have no capital gains tax even though they may have other taxes.

Can I avoid state capital gains tax by holding my investment in a nonprofit or trust in another state?

No. If you are a resident of a state, that state taxes your income and gains regardless of where assets are held or structured. States have closed loopholes allowing residents to place assets in out-of-state trusts or entities to avoid state taxation. Some states (South Dakota, Nevada) offer favorable trust taxation for non-residents, but residents are generally not eligible.

If I move to a lower-tax state, when does the state change in taxation apply?

You are taxed by your new state starting from the date you establish domicile, not from the date you formally change your address. For a gain realized after you establish domicile, your new state of residency's tax rate applies. For gains realized before establishing domicile, your old state's rate applies. The timing is determined by intent and fact, not paperwork—states carefully scrutinize moves that coincide with large gains.

Is a partial sale subject to lower state capital gains tax than a full liquidation?

No. Whether you sell 10 shares or 1,000 shares of the same stock, the capital gains tax rate applied by your state is the same. However, selling portions across multiple years can reduce your marginal tax bracket, lowering your average effective rate on the gains (even if the statutory rate is the same).

What states have the lowest capital gains tax rates?

States with no income tax (Texas, Florida, Nevada, Wyoming, South Dakota, Alaska, Tennessee, Washington, New Hampshire) have zero capital gains tax from the state. Among states that do tax capital gains, Illinois now taxes long-term gains at 0%, and Colorado taxes long-term gains at an effective 1.85% (after the 60% exclusion). Hawaii taxes gains up to $600,000 per year at 5%. Washington taxes gains over $250,000 annually at 7%.

Summary

Most states tax capital gains as ordinary income, eliminating the federal advantage of long-term holding periods. A few states (Hawaii, Delaware, Montana, Colorado, Illinois) offer preferential long-term capital gains rates, and nine states have no state income tax at all. For investors realizing large capital gains, optimizing state taxation through timing, incremental selling, loss harvesting, or domicile planning can save 1–5% in state taxes—equivalent to saving hundreds of thousands of dollars over a career. Careful documentation of residency and genuine domicile establishment are essential to avoid audits and double taxation. Strategies such as donating appreciated assets to charity and using tax-loss harvesting to offset gains provide powerful levers to reduce state capital gains tax without changing residence. Rules change periodically; confirm current state capital gains treatment and your eligibility for preferential rates with the IRS or a qualified tax professional.

Next

State Tax on Dividends and Interest