Pennsylvania has one of the simplest and most consistent tax structures in the country, including how it handles capital gains. Unlike states with progressive tax brackets or preferential long-term capital gains rules, Pennsylvania uses a flat tax rate that applies to most types of income—including capital gains. In 2025, Pennsylvania continues to tax capital gains from investments, real estate, and certain business sales at its standard state income tax rate. This guide explains how capital gains are taxed in Pennsylvania, how federal rules apply, and which strategies taxpayers can use to reduce their overall tax burden.
What Are Capital Gains?
Capital gains occur when you sell an asset—such as stocks, bonds, real estate, cryptocurrency, or business interests—for more than your original purchase price.
Only realized gains are taxable. Unrealized gains, or increases in value before selling, are not taxed.
Short-Term vs. Long-Term Capital Gains
For federal tax purposes:
- Short-term capital gains: Assets held one year or less and taxed as regular federal income.
- Long-term capital gains: Assets held more than one year and taxed at reduced federal rates.
Pennsylvania does not distinguish between short-term and long-term gains. All capital gains are taxed at the same state rate.
Federal Capital Gains Tax (2025)
Short-Term Capital Gains
Taxed at ordinary income rates:
| Taxable Income (Single) | Taxable Income (Married Joint) | Rate |
|---|---|---|
| $0 to $11,925 | $0 to $23,850 | 10% |
| $11,925 to $48,475 | $23,850 to $96,950 | 12% |
| $48,475 to $103,350 | $96,950 to $206,700 | 22% |
| $103,350 to $197,300 | $206,700 to $394,600 | 24% |
| $197,300 to $250,525 | $394,600 to $501,050 | 32% |
| $250,525 to $626,350 | $501,050 to $751,600 | 35% |
| $626,350+ | $751,600+ | 37% |
Long-Term Capital Gains
| Taxable Income (Single) | Taxable Income (Married Joint) | Rate |
|---|---|---|
| $0 to $48,350 | $0 to $96,700 | 0% |
| $48,350 to $533,400 | $96,700 to $600,050 | 15% |
| $533,400+ | $600,050+ | 20% |
Other federal rules include:
- Collectibles taxed up to 28%
- Real estate depreciation recapture at 25%
- Net Investment Income Tax (NIIT) of 3.8% for incomes over
- $200,000 (single)
- $250,000 (married joint)
Pennsylvania Capital Gains Tax in 2025
Pennsylvania imposes a flat income tax rate of 3.07% on all taxable income, including:
- Short-term capital gains
- Long-term capital gains
- Investment property gains
- Business asset gains (in most cases)
- Gains from intangible property
No Preferential Long-Term Capital Gains Rate
Unlike many states, Pennsylvania does not offer:
- A reduced rate for long-term capital gains
- A capital gains deduction
- A qualified small business exclusion
All gains are taxed at the same 3.07% rate, regardless of holding period.
Certain Real Estate Transactions May Receive Different Treatment
Pennsylvania distinguishes between gains from business assets and gains from personal-use property, but most investment-related gains remain taxable.
Local Taxes in Pennsylvania
Some Pennsylvania municipalities impose local earned income taxes, generally ranging from 1% to 3%, but:
- Most local earned income taxes DO NOT apply to capital gains,
- However, a few jurisdictions may tax business-related gains.
For most taxpayers, only the flat 3.07% state tax applies.
Effective State Capital Gains Rate
Because there is no long-term preferential rate, Pennsylvania’s effective state capital gains tax rate remains:
- 3.07% for all capital gains
This rate is low compared to many states but can still add up for large asset sales.
Case Study: Pennsylvania Capital Gains Example
Scenario:
Natalie, a Pennsylvania resident, purchased 6,000 shares of stock at $40 per share in 2020 and sells them in 2025 for $85.
Total gain:
6,000 × $45 = $270,000
Federal Taxes
Natalie falls into the 15% long-term federal capital gains bracket:
- Federal long-term tax:
$270,000 × 15% = $40,500
NIIT applies to $70,000 of the gain:
- NIIT:
$70,000 × 3.8% = $2,660
Total federal tax: $43,160
Pennsylvania State Taxes
- Pennsylvania state tax:
$270,000 × 3.07% = $8,289
Total Tax Liability
- Federal: $43,160
- State: $8,289
- Total: $51,449
Pennsylvania’s flat rate simplifies planning, but federal taxes remain significant for large transactions.
Strategies to Reduce Capital Gains Taxes in Pennsylvania
1. Use Tax-Loss Harvesting
Offset gains with realized losses in investment accounts.
2. Maximize Retirement Account Contributions
Traditional IRA, SEP IRA, and 401(k) contributions lower federal taxable income.
3. Explore Charitable Planning
CRTs and donor-advised funds help avoid or defer capital gains tax.
4. Consider Opportunity Zone Investments
Qualified investments may allow deferral or exclusion of federal capital gains.
5. Time Large Asset Sales Strategically
Selling in lower-income years can reduce federal tax brackets and NIIT exposure.
6. For Business Owners: Properly Structure Business Sales
Allocating sale proceeds between assets may reduce federal tax impact (though Pennsylvania still taxes most gains at 3.07%).
Pennsylvania’s simple flat-rate system makes it easy to predict state capital gains tax, but thoughtful planning is essential to minimize federal exposure. Because tax outcomes vary widely based on income, timing, and asset type, consider consulting a qualified tax professional or financial advisor to determine the most effective strategy for your specific situation.