Home › Guides › Selling your home after a spouse dies: the tax rules in PA

Selling your home after a spouse dies: the tax rules in PA

After a spouse dies, the house often becomes a big question: stay put, or move somewhere smaller, maybe a 55+ community closer to family. There's no right timeline, and nobody needs to decide in a hurry. But a few tax rules are tied to dates, and it helps to know them before you choose. Here's what the IRS and the Pennsylvania Department of Revenue publish, all read November 19, 2026.

The federal rule: up to $500,000 if you sell within 2 years

IRS Publication 523, Selling Your Home (the 2025 edition, for 2025 returns), says you can generally exclude up to $250,000 of gain on the sale of your main home from income, or $500,000 for a married couple filing jointly. To qualify you generally have to have owned the home and lived in it as your residence for at least 24 months of the 5 years before the sale, and not taken the exclusion on another home sold in the 2 years before.

A surviving spouse can still use the higher $500,000 limit when all four of these are true:

  1. You sell the home within 2 years of your spouse's death.
  2. You haven't remarried at the time of the sale.
  3. Neither you nor your late spouse took the exclusion on another home sold less than 2 years before this sale.
  4. You meet the 2-year ownership and residence requirements, counting your late spouse's time of ownership and residence if you need to.

Outside that window, the maximum for a single filer is $250,000. Pub 523 also says that if you haven't remarried, you can count any time your late spouse owned and lived in the home, even without you, toward the ownership and residence tests.

Two more Pub 523 rules that come up for older owners: if you become physically or mentally unable to care for yourself and lived in the home at least 12 months of the 5 years before the sale, time spent in a licensed care facility, like a nursing home, counts toward the 2-year residence test. And if you get a Form 1099-S from the sale, you have to report the sale on Form 8949 even if none of the gain is taxable.

Your basis changes too

Gain is what you sell for minus your adjusted basis, so the basis matters as much as the exclusion. Pub 523 says that if you and your spouse owned the home jointly, the half your spouse owned gets a new basis equal to its fair market value on the date of death (or the alternate valuation date), and your half keeps its old basis. Spouses who owned as tenants by the entirety or as joint tenants with right of survivorship are each treated as owning one-half. Pennsylvania isn't one of the community property states Pub 523 lists, which follow a different rule.

The IRS example: a jointly owned home with an adjusted basis of $50,000 and a fair market value of $100,000 on the date of death has a new basis of $75,000. That's $25,000 for half the old basis plus $50,000 for half the market value.

So a long-owned home can carry a bigger gain than you'd guess, or a smaller one once the new basis is counted. Ask your tax professional how to document the date-of-death value for your situation.

Pennsylvania has its own exclusion

Pennsylvania's personal income tax treats a home sale separately. The Department of Revenue's Personal Income Tax Guide says gain on the sale of a principal residence on or after January 1, 1998 is generally exempt if you owned it for 2 of the last 5 years and physically occupied and used it the most during 2 of the last 5 years before the sale. The Department describes this exemption without a dollar limit like the federal one. If you claimed it on another principal residence within the past 2 years, the second sale has to be reported unless it resulted from a change in circumstances beyond your control, such as a change in employment or health.

For a surviving spouse, the Department says you can claim the exclusion if your late spouse met both the ownership and use conditions before death and you haven't remarried. It also says the exclusion can't be claimed on the decedent's final return unless the sale closed before death, and the estate or trust can't take it on a PA-41 fiduciary return (PIT Guide; Department of Revenue answer 884, updated August 28, 2026). That matters if a home is sold out of an estate instead of by the surviving spouse.

Pennsylvania inheritance tax on the home

The Department of Revenue's inheritance tax page lists a 0% rate on transfers to a surviving spouse and says property owned jointly between spouses is exempt from inheritance tax. When the home later passes to children, the rates are different. Our PA inheritance tax and your home guide covers the rates by heir, joint deeds and adding a child to the deed.

If you already live in a 55+ community

Age policies look at who lives in the home, not only whose name is on the deed. If your late spouse was the household's 55+ occupant, read the community's written age policy and see how HUD's rules treat occupancy in our guides to what happens when a 55+ owner dies and how the 80% rule and age verification work.

Other help worth knowing about

Questions to bring to your tax professional

If you're weighing whether to sell now, later or not at all, I'm happy to give you a no-pressure picture of what the house could sell for and what 55+ homes nearby cost, so you have real numbers to bring to your tax professional. Call or text 717-510-1452.

Sources

IRS Publication 523 (2025), Selling Your Home (irs.gov/publications/p523: eligibility steps, surviving spouses, Worksheet 1, home inherited and surviving spouse basis, reporting your home sale, TCE); 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); Department of Revenue customer service answer 884, "Can the surviving spouse claim the exclusion for the sale of a home for a deceased homeowner on a joint property?" (revenue-pa.custhelp.com, updated 08/28/2026); Department of Revenue Inheritance Tax page (pa.gov). All read November 19, 2026. Tax rules change, so check the current edition of Pub 523 for the year you sell.

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 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, Selling Your Long-Time PA Home: Is the Profit Taxed?, 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.

Last updated November 19, 2026.

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.

Text NEW

Frequently asked questions

Can a widow or widower still get the $500,000 home sale exclusion?

Yes, if you sell within 2 years of your spouse's death, you haven't remarried, neither of you took the exclusion on another home sold in the prior 2 years, and you meet the 2-year ownership and residence tests (your late spouse's time can count). That's from IRS Publication 523. After 2 years the single limit is $250,000.

What's my basis in the house after my spouse dies?

Per IRS Publication 523, if you owned the home jointly, your spouse's half gets a new basis equal to its fair market value on the date of death, and your half keeps its old basis. Spouses owning as tenants by the entirety or joint tenants with right of survivorship are each treated as owning half.

Does Pennsylvania tax the gain when a surviving spouse sells the home?

Generally not if it qualifies as a principal residence. The Department of Revenue says a surviving spouse can claim Pennsylvania's exclusion if the late spouse met the ownership and use conditions before death and the surviving spouse hasn't remarried. The estate can't claim it on a PA-41.

Is there Pennsylvania inheritance tax on a house left to a spouse?

The Department of Revenue lists a 0% rate on transfers to a surviving spouse and says property owned jointly between spouses is exempt from inheritance tax.

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.

About the author. Josh SchoenlyJosh Schoenly is a REALTOR® with eXp Realty, LLC (PA License RS307071) with more than 20 years in Central Pennsylvania real estate. More about Josh.

Free, no obligation

Questions about 55+ communities in Central PA?

Tell me which towns or communities you're curious about. I can share what I know, help you compare HOA rules and fees, and help you plan the sale of your current home.

Josh Schoenly, eXp Realty agent
Josh Schoenly
eXp Realty, LLC
(717) 510-1452 · eXp Realty office: (888) 397-7352 x1034 · josh.schoenly@exprealty.com