Pennsylvania Tax on Capital Gains

Pennsylvania Tax on Capital Gains – Pennsylvania taxes capital gains as part of its flat-rate personal income tax system. Unlike the federal government, the state does not offer preferential long-term rates or complex brackets for most gains. This guide explains everything USA taxpayers need to know about Pennsylvania capital gains tax in 2026, including rates, exclusions, reporting, and planning tips. All information comes from official Pennsylvania Department of Revenue sources and current tax data.

What Are Capital Gains?

Capital gains occur when you sell or dispose of an asset for more than its adjusted basis. Assets include stocks, bonds, real estate, mutual funds, cryptocurrency, business interests, and other investments. Pennsylvania taxes these under the “net gains or income from the dispositions of property” class of income.

The state makes no distinction between short-term and long-term capital gains—all are taxed the same way. Losses are recognized only on transactions entered into for profit and cannot offset income from other classes (such as wages or interest). There is no carryover or carryback of losses to other tax years.

Does Pennsylvania Tax Capital Gains?

Yes. Pennsylvania includes net gains from the sale, exchange, or disposition of property in taxable income. This applies to residents on worldwide gains and to nonresidents only on Pennsylvania-sourced gains (for example, real estate located in PA).

Gains from bartering, condemnations, involuntary conversions, installment sales, and certain reorganizations are also taxable unless a specific exclusion applies. Capital gain distributions from mutual funds or regulated investment companies are reported as dividend income, not on Schedule D.

Pennsylvania Capital Gains Tax Rate for 2026

Pennsylvania uses a flat personal income tax rate of 3.07% on all taxable income, including capital gains. This rate has remained stable and applies uniformly regardless of income level or holding period.

There are no additional state brackets or surtaxes specifically for capital gains. Your total PA tax on a gain is simply 3.07% of the net taxable amount after allowable exclusions and adjustments.

How Pennsylvania Capital Gains Tax Compares to Federal Capital Gains Tax?

Federal long-term capital gains (assets held more than one year) in 2026 are taxed at preferential rates of 0%, 15%, or 20%, depending on your taxable income:

  • 0% for lower-income filers
  • 15% for most middle- and upper-middle-income taxpayers
  • 20% for high earners

Short-term federal gains are taxed as ordinary income (up to 37%). Pennsylvania ignores this distinction and applies its flat 3.07% rate to everything.

Key differences:

  • No federal-style $250,000/$500,000 principal residence exclusion limit in PA (see below)
  • Pennsylvania does not allow loss offsets across income classes or loss carryovers
  • Basis calculations can differ slightly due to Pennsylvania’s depreciation rules and lack of bonus depreciation

High-income taxpayers may also face the federal 3.8% Net Investment Income Tax on top of both federal and PA taxes.

Principal Residence Exclusion: A Major Pennsylvania Benefit

Pennsylvania offers a full exclusion (no dollar limit) on the gain from the sale of your principal residence if you meet these four requirements:

  1. The sale occurs after December 31, 1997.
  2. You owned the home for at least two of the five years before the sale.
  3. You used and physically occupied it as your principal residence for at least two of those five years (the home you lived in and used the most).
  4. You did not sell another principal residence within the two years before this sale (unless due to unforeseen circumstances like job relocation, health issues, or severe financial hardship).

Important rules:

  • If filing jointly and at least one spouse qualifies, the entire gain is excluded.
  • Mixed-use properties (home office, rental unit, business portion) allow partial exclusion only on the residential portion.
  • Depreciation claimed on any portion disqualifies that portion from the exclusion.
  • The exclusion applies even to installment sales.

This is often more generous than the federal $250,000/$500,000 cap. Always document ownership and use carefully.

Like-Kind Exchanges and Deferral Opportunities

Since January 1, 2023, Pennsylvania conforms to federal IRC §1031 rules for like-kind exchanges. You can defer both federal and Pennsylvania tax on gains when exchanging investment or business real property for similar property.

Other deferral options (such as qualified opportunity zones) generally follow federal treatment, though Pennsylvania has specific reporting rules.

How to Report Capital Gains on Your Pennsylvania Tax Return?

Use PA Schedule D (Net Gains or Losses from the Sale, Exchange or Disposition of Property) with your PA-40 return. Residents report all gains; nonresidents report only PA-sourced gains.

  • Keep detailed records of adjusted basis (original cost + improvements – depreciation/recoveries).
  • Use brokerage statements for stocks if on a major exchange.
  • Report principal residence sales only if the gain does not qualify for full exclusion.
  • Installment sales may require Schedule D-1.

File by the standard PA personal income tax deadline (usually April 15).

Calculating Your Adjusted Basis in Pennsylvania

Your taxable gain = amount realized minus adjusted basis. Pennsylvania generally follows federal basis rules but requires separate tracking for differences such as:

  • No bonus depreciation
  • Straight-line or MACRS depreciation (greater of actual or allowable straight-line)
  • Inherited property stepped up to fair market value at date of death

Track basis annually for business assets, partnerships, and S corporations.

Strategies to Reduce or Defer Pennsylvania Capital Gains Tax

  1. Maximize the principal residence exclusion — Plan sales to meet the 2-out-of-5-year tests.
  2. Use like-kind (1031) exchanges for investment real estate.
  3. Harvest losses strategically within the same tax year to offset gains in the property disposition class.
  4. Time large sales around other income to manage overall tax brackets (though PA’s flat rate limits this benefit).
  5. Consider gifting or inheritance — stepped-up basis can eliminate gains for heirs.
  6. Consult a tax professional for complex situations like partnerships, crypto, or multi-state moves.

Note: Pennsylvania does not allow federal itemized deductions or personal exemptions against capital gains.

Frequently Asked Questions About PA Capital Gains Tax

Is Pennsylvania capital gains tax the same for stocks and real estate?
Yes—both fall under the same flat 3.07% rate and Schedule D reporting.

Do I pay PA tax on gains from out-of-state property?
Residents do; nonresidents generally do not unless the property is located in Pennsylvania.

What about cryptocurrency or NFT sales?
Treated as disposition of intangible property and reported on Schedule D at 3.07%.

Can I carry forward losses to future years?
No. Losses are limited to the current year within the property disposition class only.

Final Thoughts on Pennsylvania Capital Gains Tax Planning

Pennsylvania’s flat 3.07% rate keeps capital gains taxation straightforward and relatively competitive compared to high-tax states. The full principal residence exclusion and recent conformity on like-kind exchanges provide meaningful planning opportunities.

Always verify your specific situation with the latest Pennsylvania Department of Revenue forms and a qualified tax advisor, as individual circumstances (residency, mixed-use property, or federal interactions) can affect your outcome. For official guidance, visit pa.gov revenue resources or consult the PA Personal Income Tax Guide.

Last updated for tax year 2026 based on current Pennsylvania Department of Revenue publications.