Skip to content

Pennsylvania Capital Gains Tax

Figures verified December 1, 2026 against Pennsylvania Department of Revenue, personal income tax · Update log

Short answer

Pennsylvania taxes capital gains at its flat 3.07% income tax rate, the same as wages, with no lower rate for long-term gains. A $100,000 gain costs $3,070 at any income. Gains are their own class of income: losses offset gains in the same year, but not wages or interest, and they never carry forward.

Inherited property steps up to its value on the date of death for Pennsylvania too, with two traps: there is no Pennsylvania step-up for property a survivor takes as a joint owner, and Pennsylvania ignores the federal six-month alternate valuation date. Pennsylvania inheritance tax is a separate tax on what each heir receives.

Free tool

Pennsylvania capital gains tax calculator

State and federal tax on a long-term gain (an asset held more than a year) for 2026. Inherited property always counts as long-term, and its basis is its value on the date of death. Amounts like 450k or 1.2m work.

Where you live when you sell. For real estate, the state it's in also taxes the gain.

$

Take off the commission, closing costs and transfer tax.

$

What you paid plus improvements. Inherited: the value on the date of death.

$

After deductions, not counting this sale. It sets the bracket the gain lands in.

Pennsylvania capital gains tax rates (2026)

Flat income tax; gains are their own class of income. These are Pennsylvania's 2026 income tax brackets, by taxable income. A gain is added on top of your other income, so it can push part of it into a higher bracket.

Pennsylvania 2026 income tax rates, which apply to capital gains
RateSingleMarried, joint
3.07%All incomeAll income

Pennsylvania's local earned income taxes don't apply to capital gains.

What a gain costs in Pennsylvania

Long-term gainPennsylvania tax
$50,000$1,535 (3.07%)
$100,000$3,070 (3.07%)
$250,000$7,675 (3.07%)
$1,000,000$30,700 (3.07%)

Single filer with $80,000 of other taxable income, 2026 rates, state tax only.

How Pennsylvania taxes a gain

Pennsylvania taxes eight classes of income separately at 3.07%, and net gains from selling property are one class, reported on PA-40 Schedule D. Long-term and short-term gains are taxed alike. There is no standard deduction or personal exemption, so the whole net gain is taxed.

Losses only help within the class. A loss on one stock offsets a gain on another sold the same year, but a net loss can't reduce wages, interest or rental income, and it can't be carried back or forward. Selling winners and losers in the same tax year is the only way to use a loss.

Residents report gains wherever the property is. Nonresidents pay Pennsylvania tax only on gains from tangible property located in Pennsylvania, such as a house or land. A resident who pays another state's tax on a gain there gets a credit for it.

Inherited property: Pennsylvania's basis rules

An heir, or the estate, takes as basis the fair market value on the date of death, so only the growth after the death is taxed. The Pennsylvania Department of Revenue's income tax guide adds rules that differ from federal law:

  • No alternate valuation date. Federal law lets some estates value property six months after death; Pennsylvania basis is always the date-of-death value.
  • No step-up for a surviving joint tenant. Property a survivor takes as a joint tenant with right of survivorship keeps its old Pennsylvania basis.
  • No step-up for a surviving spouse's tenancy by the entireties property, the usual way Pennsylvania couples own a home or joint account.

Example: a mother put her brokerage account in joint names with her son years ago. She bought the shares for $40,000, and they're worth $140,000 when she dies. Federally his basis can step up, but for Pennsylvania income tax it doesn't, so selling for $140,000 is a $100,000 Pennsylvania gain and $3,070 of tax.

A surviving spouse who sells the family home usually avoids this through the home sale exclusion below, as long as the ownership and use tests are met.

Selling a house: Pennsylvania's home sale exclusion

Pennsylvania excludes all of the gain on the sale of a principal residence, with no dollar limit, if you owned it and lived in it for two of the five years before the sale. Any part used for business or rent doesn't qualify (PA Schedule 19 splits it).

After a death: the exclusion can't be claimed for the person who died unless the sale closed before death, and an estate can't claim it on its PA-41 return. A surviving spouse who hasn't remarried can claim it if the spouse who died met both tests. Children selling a parent's house rely on the stepped-up basis instead, which usually leaves little gain.

The realty transfer tax is 1% state plus usually 1% local (3.578% in Philadelphia), split by custom between buyer and seller. See Pennsylvania realty transfer tax and selling an inherited house in Pennsylvania.

Pennsylvania inheritance tax is a different tax

Inheritance tax is due on the value each heir receives at the date of death, whether or not anything is sold, and it's reported on the REV-1500. Capital gains tax comes later, only on growth after the death.

  • 0%: surviving spouse; a parent inheriting from a child 21 or younger; a child 21 or younger inheriting from a parent.
  • 4.5%: children, grandchildren and other descendants, their spouses, parents and grandparents.
  • 12%: brothers and sisters. 15%: everyone else.

It's due 9 months after the death, with a 5% discount if paid within 3 months. Joint accounts are taxed on the share of the person who died: see joint bank accounts and PA inheritance tax and the REV-1500 guide.

Selling inherited property in Pennsylvania

Most inherited property gets the date-of-death basis for Pennsylvania as well as federal tax, so a sale soon after the death often has little or no gain. Watch for the joint-ownership exception above.

Who pays depends on who sells. If the estate sells and keeps the money, it reports the gain on Pennsylvania's fiduciary return, Form PA-41. If the heirs sell after the property is distributed, each reports their share on PA-40 Schedule D.

Selling a house during the estate doesn't change the inheritance tax: Schedule A of the REV-1500 uses the value at death, though a sale soon after the death is often the best evidence of that value.

Work out the gain on an inherited house or portfolio, with the federal tax and the step-up's savings, in the inherited property capital gains calculator. How the date-of-death value is set and documented: stepped-up basis. For the taxes on the estate itself, see Pennsylvania estate and inheritance tax.

Federal tax on top

Pennsylvania residents also pay federal tax on a long-term gain: 0% up to $49,450 of taxable income for a single filer ($98,900 joint), 15% up to $545,500 ($613,700 joint) and 20% above, plus 3.8% net investment income tax once modified AGI passes $200,000 ($250,000 joint). The calculator above adds both.

Optional: get help filing

Get a flat-fee quote for the estate's tax returns

The final Form 1040, the estate's Form 1041 and any state return are the parts executors most often hand off. Leave your email and the rough estate size, and a CPA or Enrolled Agent who prepares estate returns will reply with a fixed price. Free, and no obligation.

Add details (optional, helps the CPA price it)

We pass your request to an independent CPA or Enrolled Agent who prepares these returns. We may be paid a referral fee by the professional; it never changes the price you are quoted. This is not legal or tax advice.

Capital gains tax in other states

California · Washington · Florida · New York · Missouri · Texas · Illinois · Massachusetts · New Jersey · Oregon · Michigan · North Carolina · Ohio · Wisconsin · Arizona · Georgia · Minnesota · Virginia · Indiana · Tennessee · South Carolina · Idaho · Utah · Arkansas · Iowa · Maine · Nevada · New Hampshire · Hawaii · Alabama · Montana · Oklahoma · Kansas · Kentucky · Nebraska · Delaware · Louisiana · New Mexico · District of Columbia · Colorado · Maryland · Connecticut · Rhode Island · Vermont · Mississippi · West Virginia · North Dakota · South Dakota · Wyoming · Alaska

Or compare all 50 states and DC in the capital gains tax by state table.

Frequently asked questions

What is the capital gains tax rate in Pennsylvania?

3.07%, Pennsylvania's flat income tax rate. Long-term and short-term gains are taxed alike, and there is no lower rate for assets held more than a year.

How much is Pennsylvania capital gains tax on $100,000?

$3,070, at any income, because the rate is a flat 3.07% and Pennsylvania has no standard deduction. Federal tax comes on top.

Do you pay Pennsylvania capital gains tax when you sell your house?

Not if it was your principal residence: Pennsylvania excludes the whole gain, with no dollar limit, if you owned and lived in it for two of the last five years. Rental or business parts are taxed at 3.07%.

Do you pay Pennsylvania capital gains tax on inherited property?

Only on the gain after the date of death, because the basis steps up to the value then. The exception: property a survivor takes as a joint tenant, or a spouse's tenancy by the entireties property, keeps its old Pennsylvania basis.

Can Pennsylvania capital losses be carried forward?

No. A net loss from selling property can offset other gains in the same year, but not other kinds of income, and it can't be carried back or forward to another year.

Sources

  1. 1.Pennsylvania Department of Revenue, personal income taxpa.gov
  2. 2.Pennsylvania Department of Revenue, PA Personal Income Tax Guide: net gains (losses) from the sale, exchange or disposition of propertypa.gov
  3. 3.IRS, Topic 409: capital gains and lossesirs.gov

This information is provided for educational purposes only and should not be considered legal or tax advice. Consult a qualified tax professional for guidance specific to your situation.