State Tax on Capital Gains: The Rules That Change by State

    A gain can be long-term for federal tax purposes and still receive no special rate in your state.

    It can be taxable in a state with no traditional individual income tax.

    A federal capital-loss carryover can exist while the corresponding state loss is gone.

    And moving before a sale can change the state result—or change almost nothing—depending on what you are selling and which state has jurisdiction.

    That is why the useful question is not:

    “What is my state's capital-gains tax rate?”

    It is:

    “How does this state define, source, calculate, and tax this particular gain?”

    Federal capital-gain treatment is only the starting point

    Federal law determines many of the concepts investors recognize: basis, amount realized, holding period, capital versus ordinary character, and federal net capital gain.

    States then decide how much of that federal framework they adopt.

    Some begin with federal income and make adjustments. Some have their own income classifications. Some do not give long-term gains a preferential rate. Washington operates a separate capital-gains excise tax rather than a conventional individual income tax for 2026.

    The result is not one national capital-gains system with 50 different rates. It is a collection of different state systems built around overlapping federal concepts.

    California and New York do not reproduce the federal preferential rate structure

    A federal long-term capital gain can receive preferential federal rates while remaining part of income taxed under the ordinary California or New York personal-income-tax structure.

    That does not mean federal character becomes irrelevant. Federal calculations can still affect the state starting point.

    It means you should not assume:

    long-term federally = special lower state rate.

    The state calculation has to be performed separately.

    Massachusetts distinguishes short-term gains

    For 2026, Massachusetts publishes an 8.5% rate for short-term capital gains from the sale or exchange of capital assets. It also imposes its additional 4% surtax on income above the 2026 threshold of $1,107,750.

    Those are distinct rules.

    A taxpayer therefore needs to determine the character of the income, the applicable Massachusetts rate, and whether total taxable income crosses the surtax threshold.

    Pennsylvania is not a federal capital-gains system with a Pennsylvania rate

    Pennsylvania makes no provision for capital gains in the federal sense and does not distinguish between long-term and short-term gains.

    It instead taxes net gains from dispositions as one of its eight classes of income. It also does not permit unused losses to carry from one tax year to another.

    That creates a potentially important mismatch: a taxpayer may have a federal capital-loss carryover that remains available while Pennsylvania provides no corresponding carryover.

    Washington can tax capital gains without a general individual income tax

    For 2026, Washington does not operate a conventional general individual income tax. It does, however, impose a separate excise tax on certain sales or exchanges of long-term capital assets.

    The statute imposes 7% on Washington capital gains and, beginning January 1, 2025, an additional 2.9% on the portion exceeding $1 million.

    That creates an effective 9.9% marginal rate on the portion above the $1 million tier, before considering separate statutory deductions and exclusions.

    Example

    Assume an individual has $1.5 million of Washington capital gains after the deductions and adjustments relevant to the example.

    • $1,000,000 × 7% = $70,000
    • $500,000 × 9.9% = $49,500

    Total: $119,500

    The current year's indexed deductions should be verified rather than copied from a prior-year return.

    Residence and source can matter more than the rate

    Before calculating a state tax, determine why the state has jurisdiction over the gain.

    Ordinary publicly traded stock held as a passive investment often follows intangible-property sourcing principles rather than the headquarters of the company or location of the broker.

    But the result can change for real estate, business property, business-connected intangibles, pass-through interests, equity compensation, installment obligations, business-sale proceeds, and certain interests tied to in-state real estate.

    The right sequence is:

    residency → source → state tax base → rate → credits

    The PRISM principle

    Federal capital-gain treatment tells you what happened at the federal level. It does not finish the state analysis.

    For state purposes, start by asking why the state can tax the gain at all. Then calculate what that state actually taxes.

    The Investment Tax Atlas explains general rules. It does not create a professional engagement or determine a filing position for a specific taxpayer.

    PRISM uses Google Analytics to measure how the site is used. Until you allow it, no analytics or advertising cookies are set and Google receives only an anonymous, cookieless signal. Nothing you type into a form is ever sent to Google. See our privacy policy.