Selling your long-time PA home: is the profit taxed?
If you bought your house decades ago, the gap between what you paid and what it sells for today can be big. Most longtime owners who move into a 55+ community won't owe income tax on that profit, but the federal and Pennsylvania rules work differently, and one Pennsylvania detail catches people who get the Property Tax/Rent Rebate. Here's what the IRS and the Pennsylvania Department of Revenue say, from sources read December 2, 2026.
Short answer
- Federal: you may be able to exclude up to $250,000 of gain on the sale of your main home, or up to $500,000 on a joint return, if you meet the ownership and use tests (IRS Topic 701 and Publication 523).
- Pennsylvania: gain on the sale of a principal residence is generally exempt from PA personal income tax if you meet similar 2-of-5-year tests, and Pennsylvania doesn't follow the federal dollar limits, so the entire qualifying gain can be excluded (PA Schedule 19 instructions, citing Act 45 of 1998).
- The catch: if you file for the Property Tax/Rent Rebate for the year you sell, the PA-1000 booklet says the nontaxable gain from your home sale still has to be reported as income on the claim.
The federal rule: the $250,000 / $500,000 exclusion
IRS Publication 523 (the 2025 edition, for 2025 returns) walks through an eligibility test. The main pieces:
- Ownership: you owned the home for at least 24 months out of the 5 years before the sale. On a joint return, only one spouse has to meet this.
- Residence: you lived in it as your main home for at least 24 months (730 days) in those 5 years. It doesn't have to be one block of time, and each spouse has to meet this on their own for the full $500,000.
- Look-back: you didn't exclude gain on another home sale in the 2 years before this one. You can take the exclusion only once in a 2-year period.
- Only your main home: you have one main home at a time. If you own two, the IRS looks at where you spend the most time plus factors like the address on your tax returns, driver's license, car registration and voter card.
Two details that matter for many 55+ sellers:
- Time in a care facility can count. If you become physically or mentally unable to care for yourself and you lived in the home as your main home for at least 12 months of the 5 years before the sale, time you spend living in a licensed care facility, such as a nursing home, counts toward the 2-year residence requirement.
- A partial exclusion is possible. If you don't meet the full test, you may still qualify for a smaller exclusion when the main reason for the sale was a work move, a health issue (including moving to care for a family member) or an unforeseeable event, such as a death or divorce.
Lost a spouse? The 2-year window to keep the $500,000 limit and the basis rules are covered in selling your home after a spouse dies.
How the gain is figured
Publication 523 says your gain is the amount realized (selling price minus selling expenses) minus your adjusted basis. Your basis generally starts with what you paid plus certain closing costs, then goes up with improvements.
- Selling expenses on the IRS worksheet include sales commissions, advertising fees, legal fees, and loan charges you paid that would normally have been the buyer's responsibility. Pub 523 also says transfer taxes you paid as the seller can be treated as selling expenses.
- Purchase closing costs you can add to basis include abstract fees, charges for installing utility services, legal fees for the title search, contract and deed, recording fees, survey fees, transfer or stamp taxes and owner's title insurance.
- Improvements add to basis. The IRS chart lists examples such as additions (bedroom, bathroom, deck, garage, porch, patio), a new roof or siding, storm windows and doors, a heating system, central air, a septic system, a water heater, built-in appliances, kitchen modernization and flooring.
- Repairs and maintenance don't. Painting, fixing leaks, filling cracks and replacing broken hardware don't add to basis, and neither do improvements that are no longer part of the home, like carpet you later replaced.
An example (illustrative numbers only)
| Item | Amount |
|---|---|
| Selling price | $520,000 |
| Minus selling expenses | $30,000 |
| Amount realized | $490,000 |
| Original cost plus purchase closing costs | $150,000 |
| Plus improvements over the years (roof, kitchen, addition) | $60,000 |
| Adjusted basis | $210,000 |
| Gain | $280,000 |
A married couple filing jointly who meet the tests could exclude all $280,000 federally, since it's under $500,000. A single seller who meets the tests could exclude $250,000, leaving $30,000 of gain that isn't excluded. That's why the receipts for that roof and kitchen matter. The IRS says to keep records that document your basis, generally until 3 years after the due date of the return for the year you sell.
Pennsylvania's own rule
Pennsylvania's personal income tax handles a home sale separately. The Department of Revenue's Personal Income Tax Guide and Schedule 19 instructions say the gain on the sale of a principal residence is excluded if all four requirements are met:
- The sale was after December 31, 1997.
- You used the home as your principal residence for a total of at least 2 years in the 5 years before the sale.
- You owned it as your principal residence for a total of at least 2 years in those 5 years.
- You didn't sell another principal residence in the 2 years before. A second sale isn't disqualifying if it was due to an unforeseen change in employment, health or severe financial hardship.
Differences from the federal rule worth knowing:
- No dollar cap. The Schedule 19 instructions say the entire gain may be excluded, when applicable, because Pennsylvania doesn't follow the federal gain limits. A loss on the sale of your home isn't deductible for PA purposes either.
- Married couples. On a joint PA return, only one spouse has to meet the requirements. On separate PA returns, each spouse has to qualify on their own, and unmarried joint owners each have to meet the requirements separately.
- Absences. Absences of less than 90 consecutive days are disregarded if the home isn't made available for rent, and absences of any length don't have to be counted if you're in a hospital, nursing home or personal care facility and the home isn't made available for rent.
- Moving furniture in isn't use. The Department says the principal residence is the home you physically occupied and personally used the most in the 5 years before the sale.
- Business or rental use. The exclusion doesn't apply to the part of a home used for business or rental, such as a home office for which depreciation was claimed. Schedule 19 is used to split the gain.
Renting out the old house while it's for sale
This one matters if you move into your 55+ home first. The Department's PIT Guide says a principal residence used for rental purposes while the owner is attempting to sell it is subject to a depreciation deduction, whether taken or not, and isn't eligible for the exclusion. It also says renting for a couple of months doesn't necessarily disqualify the home, and that rent paid by the buyer to move in before closing doesn't by itself break the rules. Schedule 19 describes that short occupancy right before or after closing as "incidental rental," and says it doesn't include a property rented out until sold. Talk with a tax professional before you rent the old house, and see buy first, sell later for other ways to bridge the gap.
The Property Tax/Rent Rebate catch
The 2025 PA-1000 instruction booklet says, for Line 8 (gains from the sale or exchange of property), that the nontaxable gain on the sale of your principal residence must also be reported on that line, and that if you sold your residence during the claim year you submit a statement showing the sale price less selling expenses, minus the original cost and permanent improvements. The Schedule 19 instructions say the same and point rebate filers to its Section II to figure the number.
In plain terms: the gain that's tax-free on your PA return still counts as income for the rebate. With the 2025 income limit at $48,110, a sizable gain in the year you sell can mean you don't qualify for that year's rebate, even if you normally do. If you do qualify, a loss on the sale can offset other property gains on Line 8, but a net loss can't reduce your other income. Plan for this in the year you move, and see the property tax rebate in a moving year and the main PA Property Tax/Rent Rebate guide. Schedule 19 also says people who use PA Schedule SP (Special Tax Forgiveness) include the gain there.
Reporting the sale
- Federal: the settlement agent may give you Form 1099-S. Topic 701 and Pub 523 say that if you receive one, you report the sale (on Form 8949) even if the gain is excludable. If you didn't get a 1099-S and all the gain is excluded, you generally don't need to report the sale.
- Pennsylvania: the Department says no schedule is required for a fully exempt sale. Schedule 19 is included with your PA-40 when the sale doesn't meet the requirements or there was business or rental use, and any taxable gain goes on PA-40 Schedule D.
Questions to bring to your tax professional
- Do we each meet the ownership and residence tests, and will we file jointly the year we sell?
- Which of our past projects count as improvements, and do we have the receipts?
- If we rent the old house before it sells, what does that do to the federal and PA exclusions?
- We get the Property Tax/Rent Rebate. Will the gain push us over the income limit for the year we sell?
Planning the sale of a longtime home and the move to a 55+ community? Call or text Josh at 717-510-1452. For the practical side of selling after many years, see selling a home you've lived in for decades.
Sources
IRS Topic No. 701, Sale of Your Home (irs.gov, page last reviewed November 9, 2026); IRS Publication 523 (2025), Selling Your Home (irs.gov/publications/p523: Eligibility Test steps 1 to 4, care facility rule, partial exclusion, Figuring Gain or Loss, basis adjustments and improvements, Worksheet 2 selling expenses, Reporting Your Home Sale, records); Pennsylvania Department of Revenue, Personal Income Tax Guide, "Net Gains (Losses) from the Sale, Exchange, or Disposition of Property," Sale of Principal Residence (pa.gov); PA Schedule 19 instructions, Taxable Sale of a Principal Residence (PA-19 04-25); REV-625, Sale of Your Principal Residence and PA Personal Income Tax Implications; 2025 PA-1000 Property Tax or Rent Rebate Program Instruction Booklet (04-25), Line 8 and income limit. All read December 2, 2026. Tax rules and forms change each year, so check the current editions for the year you sell. This page is general information, not tax advice.
This guide is general information, not legal, tax or financial advice. Talk with your lender, a Pennsylvania real estate attorney or a tax professional about your own situation.
Want to talk through your plan?
Every move is different. Call or text Josh at (717) 510-1452 · eXp Realty office: (888) 397-7352 x1034, and he'll help you map out the steps for your situation.
Ready to compare communities? See all 18 communities.
Keep reading: HOPA basics: how 55+ housing rules work, Downsizing in Central PA: a practical checklist, New construction vs resale in 55+ communities, 55+ HOA fees in Central PA: what's published, what to ask, The 55+ 80% Rule and Age Verification, Explained (PA), Buy first, sell later: moving to a 55+ community, Selling a home you've lived in for decades, Timing a 55+ resale purchase against your sale, Right-sizing and estate angles for a 55+ move, What downsizing really costs in Pennsylvania, 55+ community vs retirement community vs CCRC in PA, Land-lease 55+ homes in PA: what you own and what you rent, PA Property Tax Rebate for 65+: Who Qualifies, How to Apply, New 55+ homes in PA: the public offering statement, 55+ model home visit checklist for Central PA buyers, PA homestead exclusion: file after your 55+ move, Does Pennsylvania tax retirement income? A 55+ guide, Condo vs planned community in a 55+ neighborhood, Can I rent out my 55+ home in Central PA?, What happens if a 55+ owner dies and heirs are younger?, HOA documents to read before buying a 55+ home in PA, Villa vs carriage home vs single-family in a 55+ community, Accessibility features to ask a 55+ builder about, Inspections and warranties on a new 55+ home in PA, Central PA 55+ communities with a clubhouse and pool, Quick move-in 55+ homes in Central PA: what's listed now, Do Central PA 55+ homes have basements?, First-floor owner's suites in Central PA 55+ homes, Changing your address after a 55+ move in PA, Can you customize a new 55+ home in Central PA?, Pets in Central PA 55+ communities: rules and dog parks, Central PA 55+ communities with pickleball courts, Area Agencies on Aging in Central PA: 8 county offices, PA seller disclosure rules when you sell before a 55+ move, PA inheritance tax and your home: a 55+ owner's guide, Lawn care and snow removal in Central PA 55+ communities, 55+ new home prices in Central PA: starting prices compared, How close are Central PA 55+ communities to hospitals?, Guests, grandkids and younger family in a 55+ community, Downsizing in PA: recycling TVs, paint, pills and donations, Flags and satellite dishes in a PA 55+ HOA: your rights, Moving to a 55+ home? What happens to your Medicare plan, Estate sale, auction or consignment when downsizing in PA, Benefits of Retiring in Pennsylvania: 6 Programs for 55+, Property taxes on a new 55+ home in PA: interim bills explained, Insurance in a PA 55+ condo or HOA: what the association covers, Who runs a new 55+ HOA in PA? Builder control and turnover, Setting up utilities in a new Central PA 55+ home, Selling your home after a spouse dies: the tax rules in PA, Selling a parent's home with a power of attorney in PA, Selling a house from an estate in PA: executor steps, Signing your PA home sale papers after you move, Who inherits the house in PA when there's no will?, PA realty transfer tax when an estate sells or deeds a house, Disclaiming an inherited house in PA: how to refuse a share, PA Medicaid estate recovery and the family home, Renting in a 55+ Community in Central PA: What's Available, PA Medicaid Look-Back and the Family Home: The 5-Year Rule, Hiring a Contractor in PA Before or After a 55+ Move, Disabled Veterans' Property Tax Exemption and a 55+ Move in PA, Local Earned Income Tax When You Move or Retire in PA, Selling a Pre-1978 Home in PA: Lead Paint Disclosure Rules, Free Deed Fraud Alerts in Central PA: All 8 Counties, Appealing Your Property Assessment in Central PA: 8 Counties, Radon Testing When Buying or Selling a Home in PA, PA Act 29 Contact Form for Rental and Inherited Homes, Moving to Central PA From Another State: A 55+ Checklist, PA Resale Use and Occupancy Certificates: Seller's Guide, PA Consumer Notice and Agent Agreements for 55+ Buyers, Unpaid HOA Fees in PA: Late Fees, Fines and Liens, Title Insurance on a 55+ Home in PA: Costs and Coverage, Active Adult Communities in Central PA: What the Term Means, Wire Fraud at Settlement: Protect Your 55+ Home Money in PA, Snowbirds With a PA 55+ Home: Residency, Taxes and Age Rules, PA Property Tax Rebate in a Moving or Snowbird Year, Selling a PA Home With a Septic System or Private Well, How to Title the Deed on a New 55+ Home in PA, Giving Home Sale Money to Your Kids: Gift Tax Basics, Putting Your 55+ Home in a Living Trust in PA and Transfer on Death Deeds in PA: Not Law Yet (HB 2124). Or browse all buyer guides.
Text NEW to 717-510-1452 for this week's 55+ builder specials and unadvertised inventory. eXp Realty office: (888) 397-7352 x1034
Message and data rates may apply. Reply STOP to opt out. See our Privacy Policy.
Frequently asked questions
Do I pay tax when I sell the house I've lived in for decades?
Often not. Federally, you may exclude up to $250,000 of gain, or $500,000 on a joint return, if you owned and lived in the home as your main home for at least 2 of the 5 years before the sale. Pennsylvania generally exempts the whole gain on a qualifying principal residence sale.
Does Pennsylvania have a cap on the home sale exclusion?
No. The Department of Revenue's Schedule 19 instructions say the entire gain may be excluded, when the requirements are met, because Pennsylvania doesn't follow the federal gain limits.
Does the gain from selling my home affect the PA property tax rebate?
Yes. The 2025 PA-1000 booklet says the nontaxable gain on the sale of your principal residence must be reported on Line 8 as income, so a large gain can put you over the income limit for the year you sell.
Can I rent out my old house while it's for sale and keep the PA exclusion?
Be careful. The Department says a principal residence used for rental while the owner is trying to sell it isn't eligible for the PA exclusion. A short rental, like a buyer moving in just before closing, doesn't necessarily disqualify it. Ask a tax professional first.
Need to sell your current home first?
Many buyers moving to a 55+ community also have a home to sell. Josh can help you sell your current home on a clear plan and timeline that fits your move. See how the 7-Day Stress-Free Home Sale plan works.
