Short answer: Pennsylvania does not have a capital gains tax. It has one flat rate, 3.07 percent, and it charges that rate on a gain exactly the way it charges it on a paycheck. There is no 0 percent band, no 15 percent band, no 20 percent band, and no holding period that changes the answer. What Pennsylvania does have, and what most guides leave out, is a home-sale exemption that is wider than the federal one: the gain on your main home is exempt with no dollar ceiling, if you meet four tests written into the form called PA Schedule 19. So the real question is never “what is the rate” but “which side of that exemption does my sale fall on”, and that is a worksheet. The calculator directly under this answer runs that worksheet on your own numbers; the tables further down work thirteen situations out by hand, so you can check the tool against arithmetic you can follow.
Pennsylvania Capital Gains Tax Calculator (2026)
Works out Pennsylvania’s side: whether the four Schedule 19 tests pass, what share of the gain is left to tax, and 3.07 percent of that. Federal tax on the same sale is a different question with different answers, and it has its own calculator below.
The money
The four Schedule 19 tests, for a main home
Who else owns it
Eligibility follows PA Schedule 19 requirements 1 through 4, the Department of Revenue Personal Income Tax Guide section on net gains and losses, and Act 45 of 1998. The rate is the department’s published 3.07 percent. Pennsylvania tax only: the federal side runs on separate rules. A mixed-use sale is apportioned on PA Schedule 19 with two ratios, which this panel simplifies to one. Figures checked against those documents on 14 October 2026. Educational tool, not personal tax advice.
The PA Capital Gains Tax Rate in 2026 Is the Same as the Rate on Your Wages
The Department of Revenue states the rate in one sentence, and the sentence does not mention gains at all:
Then the guide closes the door on any special treatment:
That is the whole of it. Your gain goes into the fifth of the state’s eight classes of income, the one the department lists as “net gains or income from the dispositions of property”, and it is taxed at the same rate as class one, which is your paycheck. Because the rate is flat, the arithmetic is short enough to do on your fingers, and the answer never depends on what else you earned that year.
| Gain left to tax in Pennsylvania | Pennsylvania tax at 3.07 percent | Effective rate |
|---|---|---|
| $10,000 | $307 | 3.07 percent of the gain |
| $25,000 | $768 | 3.07 percent of the gain |
| $50,000 | $1,535 | 3.07 percent of the gain |
| $100,000 | $3,070 | 3.07 percent of the gain |
| $250,000 | $7,675 | 3.07 percent of the gain |
| $400,000 | $12,280 | 3.07 percent of the gain |
Two things to read out of that table. The first is the good news: at 3.07 percent Pennsylvania is the cheapest place to realize a large gain, because the federal system reaches 15 percent and then 20 percent plus a 3.8 percent surtax while Pennsylvania stays flat. The second is the bad news, and it is the one that catches people: there is no zero rate here. A nurse whose taxable income is low enough that the federal long-term rate on her gain is zero still writes Pennsylvania a check. $10,000 of gain costs $307 even in a year you barely earned anything.
The Exemption: a Home Sale Can Be Taxed at None of It
This is the sentence that decides most Pennsylvania sales, and it comes from the state’s own instructions for the form the sale is reported on:
Read the second half again. The federal exclusion stops at $250,000 for one person and $500,000 for a couple filing jointly. Pennsylvania has no number like that. If your sale qualifies, the excluded amount is all of it: a $400,000 gain on an Erie house produces $0 of Pennsylvania tax, while the same sale on a single return still leaves $150,000 of that gain taxable federally, because section 121 stops at $250,000 and this state does not stop anywhere. The overview page states the same rule in one line:
“Satisfy” is the operative word, because the four requirements are Pennsylvania’s own, they are printed on PA Schedule 19, and they are not identical to the federal tests. In the form’s words:
- The date of disposition of the principal residence must be after Dec. 31, 1997. The federal rule started on the same day, which is why most sellers never think about it. Anything closed on or after Jan. 1, 1998 is inside.
- Requirement 2, use. The taxpayer used or had use of the residence as the principal residence for a total of at least two years during the five-year period preceding the date of disposition.
- Requirement 3, ownership. The taxpayer owned or had owned the residence as a principal residence for a total of at least two years during the five-year period preceding the date of disposition.
- Requirement 4, no earlier excluded sale. The taxpayer did not sell another principal residence during the two years preceding the date of disposition.
Two details in those four lines matter more than the headline rate, and neither appears in the competing answers.
The use test is about you, not about the house. Use refers to consistent, continual occupancy by the taxpayer for residential purposes. Then the form adds two sentences that decide real cases: “Moving furniture and personal belongings into a residence does not qualify as use.” and “Even if the taxpayer’s family physically occupied the residence, it is not the taxpayer’s principal residence if he or she did not occupy and use it.” A nurse who leaves her spouse and children in the Pittsburgh house while she works a year in California has, in Pennsylvania’s eyes, a house her family used and a taxpayer who did not. Absences are forgiven, but only short ones: the form tells you to “disregard absences of less than ninety consecutive days if the property is not made available for rent during the absence.”
The department’s own Examples 1 and 2 are the travel nursing case, drawn twice with opposite endings. Example 1: a taxpayer bought a Harrisburg house, lived in it until he changed jobs and moved to Pittsburgh, “maintained his Harrisburg home”, “did not rent it or use it for any other purpose”, moved back in 1997 and sold in 1999. He passes the use test. Example 2 changes one fact, that he “never moved back to his Harrisburg home”, and the form’s answer to that one is flat: “He does not meet the use requirement for this exclusion.” Two years of your own occupancy somewhere inside the last five is the whole requirement, and a three-year absence is not an absence, it is a house you did not use.
Ownership and use do not have to be the same two years. The form says so directly: “The taxpayer does not have to meet the use and ownership requirements simultaneously.” A nurse who rented a room in State College for two years, bought the building, then lived in it for two more, meets both tests even though they never overlapped. The department makes the same point in its own Example 3.
When the Second Sale in Two Years Still Gets Away
Requirement 4 is the one travel work keeps tripping over: sell one house and exclude its gain, then sell another inside two years, and the second sale is reportable. The exception is written into the form, and its first listed circumstance is a job:
The department’s own Example 7 is the case a travel nurse would recognize: a couple who sold one house and then sold the next inside two years, and who qualified anyway “because of an unexpected change in employment”. If your agency closed a site, your contract was cancelled, or you were pulled to a different state on short notice, that is the exception and you should use it. Keep whatever you got: the cancellation notice, the relocation letter, the new contract start date.
The One Part of Your Home That Never Gets the Exemption
If any of the house was ever a rental or a business space, that share of the gain is taxed, however clean the other tests look. The form is blunt about the version of this that people argue about:
Then the guide adds the sentence that catches nurses who list the house before a contract:
That is a different rule from the short rental around a closing, which the guide explicitly forgives: “the fact that the residence was rented for a couple of months does not necessarily disqualify the residence from the exclusion” The line is whether tenants were in it right up to the sale. Rented until closing means the depreciation deduction applies “whether taken or not”, in the guide’s words, and the exemption is gone. Vacant when you listed it means you keep it. The form even names the mistake, in its definition of incidental rental: “It does not refer to circumstances where a buyer enters a rent-to-own contract prior to the actual purchase of a residence or where a property is rented out until sold.”
What survives in a mixed-use sale is the residential share. The department’s Example 12 works one out: a couple with a home office for twenty years “would be able to exclude $11,000 from the sale of their principal residence” and they “would also be required to report $4,000 of gain on the sale of the business use portion of the home.” Fill the same facts into the calculator at the top of this page and it lands within a few hundred dollars of the form’s answer, because the form apportions a mixed sale with two ratios (land by fair market value, building by square footage, multiplied to six decimals) and the panel uses one percentage. Anything with a real business portion should be finished on PA Schedule 19, not on a website.
Who Owns It Decides Who Pays
The four tests are counted per owner, with one exception for married couples filing together:
- One joint PA-40. However, if married taxpayers report the sale of their principal residence on a joint PA tax return, only one spouse must meet the requirements. This is the opposite of the federal rule, where a couple filing jointly needs both spouses to clear the use test to get the full $500,000.
- Separate PA-40s. The requirements for this exclusion apply individually. If unmarried joint owners sell a principal residence, each owner must meet the requirements separately. The department’s Example 8 is a married couple who sell their Pittsburgh house while the husband’s Philadelphia apartment is his main home: “Helen qualifies for the exclusion on her half of the gain from the sale of the Pittsburgh residence. Bill must pay PA income tax on his half of the gain.” File together and both halves are excluded; file separately and one of you pays 3.07 percent on a half you did not sell.
- Unmarried co-owners. Example 10 is a taxpayer who owns a home equally with a brother and a sister and is the only one living in it. The taxpayer’s ownership ratio is 0.333333. Her third of the gain is excluded and their two thirds are taxed on their own returns, whatever her months look like.
Notice what that means for a nurse who buys with a friend or keeps a house with an ex-partner: away from a joint return with a spouse, you cannot be contaminated by someone else’s missing months, and they cannot rescue yours. The calculator has a field for exactly this, and it prints the other owners’ tax separately so you can see whose bill is whose.
Losses: the Rule That Costs the Most Money
Federal rules let a net capital loss knock up to $3,000 out of ordinary income each year, and any leftover waits in line forever. Pennsylvania has neither of those things. The overview page states both in one sentence:
The guide repeats it in the section about selling property, twice, and adds the two rules nobody expects:
What that costs in practice:
- A loss never touches your wages. A $9,000 loss on stocks cannot reduce the Pennsylvania tax on your paycheck by even one dollar. It can only sit against gains in the same class in the same year.
- A loss that does not get used is destroyed. Nothing carries into next year. A nurse with a bad market year and no gains in that year has, in Pennsylvania, simply lost the loss.
- Spouses cannot pool. One spouse’s gain and the other’s loss do not meet. Each return stands alone, unless you are filing jointly, and then the class rule still applies inside the one return.
- Personal property losses are not recognized at all. Losses are only recognized on transactions entered into for profit, such as investments, business property, and real estate. Your car, your furniture, the house you lived in: a loss on those is not a deduction anywhere.
Because a loss can be silently worthless here, the timing question in Pennsylvania is different from the federal one. Federally you can sell a loser in December and use it this year. In Pennsylvania the only version that helps is selling a loser in a year in which you also realize a gain of the same class.
You Owe Nothing and It Still Counts Against You
An excluded home gain pays no tax and is still income for two Pennsylvania programs that are decided by income. The guide: The gain excluded from taxation for any principal residence or the partial gain excluded from taxation on any principal residence is included in eligibility income on Line 8 of PA Schedule SP. The two places it shows up are Tax Forgiveness (the Schedule SP credit that can cut your 3.07 percent toward zero) and the PA-1000 Property Tax or Rent Rebate. The department’s Example 11 is the warning: a retired couple with no taxable income but a $15,000 excluded home gain “do not qualify for Tax Forgiveness in 2019 because they must include the gain on the sale of their principal residence on Line 8 of Section III of PA-40 Schedule SP”, and their total eligibility income for determining Tax Forgiveness is $25,000. If you are over 65 and claiming the rebate, or you earn little enough to hope for Tax Forgiveness, the excluded number matters even though the tax on it is zero.
You Moved, or You Live Elsewhere Now
Two lines from the guide decide most of the moving cases. Nonresident taxpayers are only taxed on their Pennsylvania-source income. Therefore, only transactions displaying net gains and losses on tangible property located within Pennsylvania are required to be reported on PA Schedule D A nurse who has settled in Texas and sells the Pennsylvania house she kept still files a PA return for that sale, because the house is tangible property sitting in Pennsylvania. The reverse is also true and is the better news: gains on intangible property, which is where your brokerage account lives, follow you to whichever state you are a resident of, not to Pennsylvania, and a Pennsylvania-source rule cannot reach them.
Part-year is the case that surprises people most. The gain is reported in the year of closing, “the date the buyer accepts the deed and title passes from the seller to the buyer, usually the date of settlement”, so if you signed in Pennsylvania in November and became a Texas resident in December, the sale belongs to the year and the residency you had at settlement.
The City Layer: Philadelphia Adds a Second Tax on Residents
Pennsylvania’s 3.07 percent is the state, and most places stop there. Philadelphia does not. The city’s School Income Tax is charged on unearned income, and its own list of what that means includes a holding-period rule that has nothing to do with the federal one: The current SIT rate is 3.75%. The city’s example list says it verbatim: “Capital Gains from the sale of property (including stocks and bonds) held for less than 6 months.” And it is blunt about who owes it: Only Philadelphia residents are subject to the School Income Tax. Savings and checking interest is carved out (“Savings or checking account interest is not subject to School Income Tax.”), which is the detail that tells you this tax is about gains and payouts, not about your bank account.
Practically: if you live in Philadelphia and sell a stock after holding it a few weeks, you are looking at the state’s 3.07 percent and the city’s School Income Tax on the same gain. If you live in Philadelphia and sell your main home after the required two years, Pennsylvania excludes it and the city’s school tax has nothing to reach, because the excluded gain is not in your income. Other Pennsylvania municipalities levy an earned income tax on wages, which is a different tax on a different base, and the rate depends on your school district; ask the municipality, not a website.
What You Actually File
- PA-40 Schedule D for a gain that is not an excluded home sale. The guide is specific that this includes the nonresidential part of a mixed-use house.
- PA Schedule 19 whenever a main-home sale fails a test, has a business or rental share, or you simply want the ratio documented. The form’s own instruction: PA Schedule 19 must be completed and included with the PA-40, Personal Income Tax Return, when a sale of a principal residence does not meet the requirements for exclusion or when the Additional Limitations apply.
- Nothing at all, for a qualifying sale. The guide: Generally, the gain on the sale of a principal residence occurring on or after Jan. 1, 1998 is exempt from Pennsylvania personal income tax. Likewise, no loss may be taken because such a transaction is not entered into for profit or gain. There is no requirement for any schedule to be filed for informational purposes on an exempt sale of a principal residence.
- PA-40 Schedule SP line 8 for the excluded amount, if you want Tax Forgiveness, and the PA-1000 line 8 for the rebate claim.
The gain itself is the number people misremember. PA-19 defines what comes out of the sale proceeds as the “original cost of the property plus the cost of any improvements less any accumulated depreciation allowed or allowable on the property.”, and adds: “This usually is the same basis used for federal income tax purposes.” Depreciation you were allowed to claim reduces that basis whether or not you claimed it, which is why the calculator asks for it even when your first instinct is that the box should be empty.
One rounding note that saves an hour of arguing with your own arithmetic: Pennsylvania tells you to round every line, not the total. The form’s instructions: “Show money amounts in whole-dollars only. Eliminate any amount less than $0.50 and increase any amount that is $0.50 or more to the next highest dollar.” That is why the numbers in the tables on this page are whole dollars, and why a hand calculation that rounds once at the end can be a dollar off the return.
Thirteen Situations, Worked By Hand
Every line below is the calculator’s own engine, run on printed numbers rather than yours, so you can check the tool against arithmetic you can follow. The gain column is the sale price minus the costs of selling, minus basis; the excluded column is what Schedule 19 takes out; the tax columns are 3.07 percent of what is left, on your return and on the other owner’s return separately.
| Case | The situation | Gain on the sale | Excluded from PA tax | Taxed on your return | Taxed on the other owner’s return | Total PA tax at 3.07% |
|---|---|---|---|---|---|---|
| A | Main home, five clear years, sold on your own | $139,000 | $139,000 | $0 | $0 | $0 |
| B | 19 months of use: a contract ended the stay | $36,000 | $0 | $36,000 | $0 | $1,105 |
| C | Second excluded sale 14 months after the first | $288,000 | $0 | $288,000 | $0 | $8,842 |
| D | The same sale, and the agency pulled the contract | $288,000 | $288,000 | $0 | $0 | $0 |
| E | Tenants in it right up to closing | $139,000 | $0 | $139,000 | $0 | $4,267 |
| F | One room was a rental the whole time (10 percent) | $139,000 | $125,100 | $13,900 | $0 | $427 |
| G | Spouses on separate PA-40s, only one of them qualifies | $36,000 | $18,000 | $0 | $18,000 | $553 |
| H | You own a third, two siblings own the rest | $287,600 | $95,867 | $0 | $191,733 | $5,886 |
| I | The same house sold as a rental, never a main home | $17,500 | $0 | $17,500 | $0 | $537 |
| J | Stocks: a $60,000 gain | $60,000 | $0 | $60,000 | $0 | $1,842 |
| K | Stocks sold at a loss | Loss of $20,600 | $0 | $0 | $0 | $0 |
| L | Rental property sold for less than its basis | $27,100 | $0 | $27,100 | $0 | $832 |
| M | 23 months of use, one month short | $139,000 | $0 | $139,000 | $0 | $4,267 |
Three of those lines are worth stopping on. Case F is the one that surprises careful sellers: ten percent of the house was a rental at some point in the ownership period, so ten percent of the gain is taxable even though both two-year tests passed cleanly. Case G and case H are the same sale with different people on the title, and in both of them the qualifying owner loses nothing because the other one missed a test. Case K looks like the cheapest line in the table and is the one sellers regret most: the loss is real, and in Pennsylvania it is worth nothing.
Frequently Asked Questions
Does Pennsylvania tax capital gains in 2026?
Yes, and it does not treat them as gains. Pennsylvania makes no provision for capital gains. There are no provisions for long-term and short-term gains. The rate applied is the ordinary 3.07 percent personal income tax, so a short-term and a long-term gain look identical to the commonwealth.
What is the PA capital gains tax rate on real estate?
The same 3.07 percent, whether the property is a rental, a vacation house, vacant land or a second home. The only real estate that escapes it is your main home, and only after the four Schedule 19 tests. That is why “capital gains tax pa” and “pa capital gains tax on real estate” have one answer and not two.
Do I pay Pennsylvania tax if I sell my house?
If you owned it and used it as your main home for at least 24 of the last 60 months, you sold after 1997, you had no other excluded sale in the last two years (or the move was unforeseen), and no part of it was rented or used for business, the entire gain is exempt and there is no schedule to file.
Does Pennsylvania have a capital gains loss carryforward?
No. Pennsylvania also has no provisions for the carryover of losses from one tax year to another year. A loss can only be used against same-class gains in the same year, it cannot cross classes of income, it cannot cross between spouses, and whatever is unused at the end of the year is gone.
Is Pennsylvania better than the federal rules for a big home gain?
On the ceiling, yes, and it is not close: $250,000 and $500,000 federally, nothing at all in Pennsylvania. On everything else, no: the federal 0 percent band and the exclusion’s partial relief both have no Pennsylvania equivalent, and the state charges the same rate on your first dollar of gain as on your millionth.
What if I moved to Pennsylvania for a contract and sold my old house in another state?
Pennsylvania taxes a resident on worldwide gains, so an old house sold in another state is still a Pennsylvania gain on your PA-40. The state where the property sits may charge its own tax on the same sale, and that is the only case where you owe two states for one gain. The commonwealth answers it with a credit: Credit against Pennsylvania income tax is allowed for gross or net income taxes paid by Pennsylvania residents to other states. So the second tax lowers the first one rather than stacking on top of it, and you keep the other state’s receipt.
Sources
- PA Schedule 19: Exclusion of Gain on Sale of Principal Residence (form and instructions): the four requirements, the definitions of use and incidental rental, the ownership ratios, the whole-dollar rounding rule, and Examples 1 through 12
- Pennsylvania Personal Income Tax Guide: net gains or income from the disposition of property: the flat treatment of gains, the loss rules, the principal-residence exemption, and the rented-until-sold limitation
- Pennsylvania Department of Revenue: Personal Income Tax: the 3.07 percent rate sentence, the eight classes of income, and the exclusion of principal-residence gains
- Pennsylvania Department of Revenue: tax rates: the personal income tax rate in force for 2026
- City of Philadelphia: unearned income is subject to the School Income Tax: the 3.75 percent city rate, the six-month holding rule for gains, and the interest carve-out
Next step: Run the panel once with your real months and once with the use test answered 24 months, then compare the two totals. That difference is what the four Schedule 19 requirements are worth on your sale, and it is the number to take to a preparer before you sign a listing agreement.
Related guides
Pennsylvania's rate is the easiest part of this. Which dollar of your sale the rate is allowed to touch is decided by four tests on one form, and the tests are not the federal ones.
- Capital Gains Tax on a Home Sale in 2026The federal side of the same sale: section 121, its dollar ceilings, and the depreciation that can never be excluded
- Qualified Dividends and Capital Gain Tax WorksheetThe federal worksheet that decides 0, 15 or 20 percent, which Pennsylvania never asks you
- Net Operating Losses Offset Capital GainsWhat a loss can and cannot reach federally, next to the state that carries none of it over
- Avoid Capital Gains Tax on Inherited PropertyInherited Pennsylvania real estate: the basis rule is federal, the 3.07 percent on top is not
- Travel Nurse Tax Deduction Worksheet 2026The other numbers on the same PA-40, and a worksheet you can fill in before you open the state return
- Which States Tax a Travel Nurse's IncomePennsylvania is one of the states that follows you, and this is where it sits next to the others
- New Jersey Capital Gains Tax in 2026Across the river New Jersey taxes the same gain as ordinary income at up to 10.75 percent instead of a flat 3.07
