Pennsylvania Capital Gains Tax Rate (2026)
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.
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 Rate | Pennsylvania State Rate | Combined Rate | Plus 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:
- Zero-tax states (FL, TX, NV, etc.): 0% — total with 15% federal = 15%
- Low-rate states (AZ, IN, PA): 2.5–3.1% — total with 15% federal = 17.5–18.1%
- Pennsylvania: 3.07% — total with 15% federal = 18.1%
- High-rate states (NY, NJ): 10.75–10.9% — total with 15% federal = ~26%
- California: 13.3% — total with 15% federal = 28.3%
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:
- Hold over 1 year for long-term federal rates (0/15/20%). Pennsylvania does not offer a preferential state rate, but federal savings alone are often 7–17%.
- Tax-loss harvesting: Offset your gains with losses realized in the same year. A $20,000 loss offsets $20,000 of gains dollar-for-dollar, saving up to 23% ($4,614) on that $20,000 at top rates.
- 0% bracket planning: In lower-income years (retirement, sabbatical, between jobs), realize gains at the federal 0% rate. You still owe Pennsylvania state tax, but eliminating the federal component is significant.
- Donate appreciated stock directly to charity or a donor-advised fund to avoid capital gains tax entirely while generating a charitable deduction for the full fair market value.
- Installment sales: If selling a business or real estate, structuring as an installment sale spreads the gain over multiple years, potentially keeping each year's gain in a lower bracket.
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):
| Component | Amount | Notes |
|---|---|---|
| Capital gain | $50,000 | Long-term (held over 1 year) |
| Federal tax (15%) | −$7,500 | Based on $80,000 ordinary income + gain |
| Pennsylvania state tax (3.07%) | −$1,535 | Applied to the full gain amount |
| Total tax owed | −$9,035 | Federal + state combined |
| You keep | $40,965 | 81.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.