GainsCalc

Pennsylvania capital gains tax (2026)

Northeast · Taxed as ordinary income · combined top long-term 26.87%

In Pennsylvania, the effective top rate on long-term capital gains is about 3.07%. Added to the federal top long-term rate of 23.8% (20% plus the 3.8% NIIT), the illustrative combined top long-term rate is 26.87% - ranking #35 of 51 states. Flat 3.07% rate on capital gains (treated as taxable income); some local earned-income taxes do not apply to investment gains. This is the top-bracket case, not what a typical filer pays, and not tax advice.

Source: Tax Foundation, 2026 state income tax rates. Data as of June 2026.

How Pennsylvania taxes capital gains

Flat 3.07% rate on capital gains (treated as taxable income); some local earned-income taxes do not apply to investment gains.

ComponentRate
Federal long-term rate (top)20%
Net Investment Income Tax (NIIT)3.8%
Federal subtotal (top long-term)23.8%
Pennsylvania effective top long-term rate3.07%
Combined top long-term rate26.87%

Source: Tax Foundation, 2026 state income tax rates. Data as of June 2026.

The federal subtotal of 23.8% applies only to top-bracket long-term gains; lower-income filers pay 0% or 15% federally. The Pennsylvania figure is the effective top long-term rate.

Worked example

On a $100,000 long-term gain for a top-bracket investor in Pennsylvania: the state takes roughly 3.07% (about $3,070), federal long-term tax is $20,000, and the 3.8% NIIT adds $3,800 - a combined estimate near $26,870, an effective rate close to 26.87%. Lower-income filers pay less federally (15% or 0%).

Estimate only. Use the calculator with your own numbers.

How Pennsylvania ranks

Combined top long-term rate = federal 23.8% + Pennsylvania's effective top long-term rate. Illustration only.
MeasurePennsylvaniaRank (1 = highest)
Combined top long-term rate26.87%#35 of 51
State effective top long-term rate3.07%

States with a similar capital gains burden

Pennsylvania and its nearest peers by combined top long-term rate. Source: Tax Foundation, 2026 state income tax rates, 2026.
StateState treatmentCombined top long-term rate
Pennsylvania (this state)Taxed as ordinary income26.87%
LouisianaTaxed as ordinary income26.8%
IndianaTaxed as ordinary income26.75%
South Carolina44% exclusion27.16%
OhioTaxed as ordinary income26.55%
KentuckyTaxed as ordinary income27.3%

Frequently asked questions

Does Pennsylvania tax capital gains?

Yes. Flat 3.07% rate on capital gains (treated as taxable income); some local earned-income taxes do not apply to investment gains. On top of the state tax you also owe federal capital gains tax (0/15/20% long-term) and, for higher earners, the 3.8% NIIT.

What is the capital gains tax rate in Pennsylvania in 2026?

Pennsylvania's effective top rate on long-term capital gains is about 3.07%. Combined with the top federal long-term rate of 23.8%, the illustrative combined top rate is 26.87% - the top-bracket case, not what most filers pay.

How does Pennsylvania compare with other states on capital gains?

On the illustrative combined top long-term rate, Pennsylvania ranks #35 of 51 (1 = highest). States are compared on their effective top long-term rate plus the federal 23.8% top. See the rankings for the full picture.

Are short-term capital gains taxed differently in Pennsylvania?

Generally short-term gains are taxed as ordinary Pennsylvania income (the headline rate), while any state preferential rate or exclusion usually applies only to long-term gains. Federally, short-term gains are ordinary income (up to 37%).

Keep exploring

Sources & accuracy

Pennsylvania treatment from Tax Foundation, 2026 state income tax rates and the state revenue department (find Pennsylvania's tax authority). Federal figures from the IRS. Data as of June 2026 for the 2026 tax year. Rates change and special rules have conditions - this is general information, not tax advice. Verify with the official source or a tax professional. See our methodology and disclaimer.

Last updated: 2026-06-21