← Back to calculator
Pennsylvania · State Tax Guide

Pennsylvania Capital Gains Tax Rate (2026)

Top State Rate
3.07%
Rate Structure
Flat 3.07%
Preferential LT Rate?
No
Max Combined (Fed + State)
26.9%

Pennsylvania capital gains tax overview

Pennsylvania has a flat 3.07% rate. Capital gains are taxed as ordinary income. Some local governments add wage taxes.

No preferential long-term rate: Unlike the federal system, Pennsylvania taxes capital gains identically to ordinary income at the state level. This makes timing strategies especially important for Pennsylvania residents with large gains.

Federal + Pennsylvania combined rates

Your total capital gains tax bill includes both layers — federal and state. Here is what a Pennsylvania investor pays in 2026 for long-term gains:

Federal Long-Term RatePennsylvania State RateCombined RatePlus NIIT (if applicable)
0%3.07%3.07%6.9%
15%3.07%18.1%21.9%
20%3.07%23.1%26.9%

The NIIT (Net Investment Income Tax) adds an extra 3.8% for taxpayers whose MAGI exceeds $200,000 (single) or $250,000 (married filing jointly). It is a federal tax only — Pennsylvania does not have an equivalent.

How Pennsylvania compares to other states

Pennsylvania's top rate of 3.07% places it in the lower-middle tier of state capital gains taxation. For comparison:

Tax-reduction strategies for Pennsylvania residents

With a top state rate of 3.07%, minimizing capital gains tax is particularly important in Pennsylvania. Key strategies:

Try the calculator: Use our free capital gains calculator to see your exact federal tax instantly. Pro users get automatic Pennsylvania state tax added to every calculation.

Detailed Pennsylvania capital gains tax rules

Tax history and legal basis

Pennsylvania taxes capital gains as ordinary income at a flat rate of 3.07% — one of the lowest flat rates in the nation.

Exemptions and special treatment

Pennsylvania does not offer preferential capital gains rates. However, the state does NOT tax gains from the sale of a personal residence (regardless of amount — no $250k/$500k limit like federal). Gains on PA Keystone Opportunity Zone investments may also be exempt. Local Earned Income Tax (EIT) does NOT apply to capital gains.

Filing requirements

File Form PA-40 (resident). Pennsylvania uses its own unique income calculation (8 classes of income) rather than starting with federal AGI. Capital gains are Class 3 income. Filing deadline is April 15.

Recent changes and legislative updates

Pennsylvania's 3.07% flat rate has been unchanged since 2004. The complete exemption on primary residence sales (no dollar limit) is the most generous in the nation. A Philadelphia resident does NOT owe the city wage tax on capital gains (only on earned income), keeping the effective rate low for investors.

Worked example: $50,000 capital gain in Pennsylvania

Here's exactly what a Pennsylvania resident would owe on a $50,000 long-term capital gain with $80,000 in other income (single filer, 2026):

ComponentAmountNotes
Capital gain$50,000Long-term (held over 1 year)
Federal tax (15%)−$7,500Based on $80,000 ordinary income + gain
Pennsylvania state tax (3.07%)−$1,535Applied to the full gain amount
Total tax owed−$9,035Federal + state combined
You keep$40,96581.9% of your gain

After both federal and Pennsylvania state tax, you keep $40,965 of your original $50,000 gain. The effective combined rate is 18.1%.

Frequently asked questions — Pennsylvania

Does Pennsylvania tax short-term and long-term gains differently?

No — Pennsylvania taxes both short-term and long-term capital gains as ordinary income at the same rates as wages. There is no state-level preferential rate for patience. The federal system, however, taxes long-term gains at 0/15/20% vs. up to 37% for short-term — a significant difference that applies regardless of state.

Do I need to file a Pennsylvania tax return if I only have capital gains?

If you have capital gains income and meet Pennsylvania's filing threshold, you are required to file a Pennsylvania state income tax return. The threshold is typically similar to the standard deduction amount — check the PA Department of Revenue for the current year's filing requirements.

What if I moved to Pennsylvania mid-year?

If you moved to Pennsylvania during the year, you are a part-year resident. Pennsylvania generally taxes capital gains realized while you were a Pennsylvania resident. Gains realized before you moved may be taxable by your prior state. Keep detailed records of when each sale occurred relative to your move date.