The $250,000 Question: Capital Gains When You Sell the Home You’ve Owned for 30 Years

If you’ve owned your Bucks County home since the 1990s, the gain on its sale may be one of your biggest financial questions. Federal law may let you exclude up to $250,000 of gain if you’re single or $500,000 if you’re married filing jointly. Generally, you must have owned and used the home as your principal residence for at least two of the five years before the sale.

Those numbers are important. But they don’t tell the whole story. Pennsylvania has a separate home-sale exclusion with no dollar cap if you meet its requirements. And federal rules include provisions for some sellers who move to a care facility and for surviving spouses.

Here’s a plain-language overview for homeowners considering a move, including people exploring 55 plus communities in Bucks County, PA. The rules are detailed, so use this as a starting point, not as a tax calculation for your individual situation.

The federal rule: up to $250,000 or $500,000

Under Internal Revenue Code §121, eligible sellers may exclude up to:

  • $250,000 of gain for a single filer.
  • $500,000 of gain for a married couple filing jointly.

To qualify, you generally must have owned the home and used it as your principal residence for a total of at least two years during the five years ending on the sale date. The two years don’t have to be one continuous period.

There’s also a once-every-two-years rule: the exclusion generally isn’t available if you used it on another home sale during the two years before this sale.

For married couples filing jointly, only one spouse needs to meet the ownership test, but both spouses must meet the residence test for the full joint exclusion.

The IRS explains the tests and calculations in Publication 523, Selling Your Home.

The practical consequence for a long-held home is worth saying out loud: the two-of-five test is almost never the problem for someone who has lived in the same house for thirty years. The dollar cap is. A single seller whose gain clears $250,000 is the one who needs a conversation with a tax professional before listing, not after.

Three federal provisions worth asking about

1. Time in a care facility may count toward the residence test.
If you become physically or mentally incapable of self-care, and you owned and used the home as your principal residence for at least one year during the five-year period, time you own the home and reside in a qualifying, state-licensed care facility may count as time using the home as your principal residence for the federal test.

This is a federal rule. Pennsylvania’s state exclusion uses different requirements, discussed below. If you or your spouse has moved into assisted living or a nursing home, check both sets of rules with a CPA.

2. A surviving spouse may have a two-year window for the $500,000 exclusion.
A widow or widower who is unmarried on the sale date may generally qualify for the full $500,000 federal exclusion if the home is sold no later than two years after the spouse’s death, the required ownership and use tests were met immediately before the death, and neither spouse used the exclusion on another home sale within the prior two years.

The deadline matters. After that two-year period, the surviving spouse generally may qualify for the single-filer exclusion of up to $250,000, if eligible. The $500,000 rule requires the survivor to be unmarried when the home is sold. A CPA can review the timing and other requirements before you set a sale date.

3. A reduced exclusion may be available when circumstances force an earlier sale.
If you don’t meet the ownership or use test because of a qualifying change in employment, health, or unforeseen circumstances, you may still be eligible for a reduced federal exclusion. The amount is generally prorated based on the time you meet the relevant requirements. Ask a tax professional to review your specific facts.

Pennsylvania’s surprising difference: no dollar cap

Pennsylvania has its own principal-residence gain exclusion. It does not simply copy the federal $250,000 or $500,000 limits. According to the Pennsylvania Department of Revenue’s REV-625 guide, the state exclusion generally applies if all four conditions are met:

  1. The sale occurred after December 31, 1997.
  2. You used the home as your principal residence for at least two years total during the five years before the sale.
  3. You owned the home for at least two years total during that five-year period. The ownership and use periods don’t have to overlap.
  4. You did not sell another principal residence within the two years before this sale.

There is no $250,000 or $500,000 state-level cap. If you satisfy Pennsylvania’s requirements, the gain may be excluded from Pennsylvania taxable income in full, even if it exceeds the federal exclusion limit.

Pennsylvania’s principal-residence test also focuses on where you physically lived and personally spent the most time. Moving furniture into a home, by itself, doesn’t establish that it was your principal residence.

There’s an important wrinkle for couples: if spouses file a joint Pennsylvania return and at least one qualifies for the state exclusion, both may qualify. If they file separately, each spouse must qualify individually. The Department of Revenue’s example discusses a spouse in assisted living while the other spouse continues living in the home. Don’t assume the federal care-facility rule applies to Pennsylvania’s physical-occupancy test. Talk with your CPA about the right filing approach.

Pennsylvania also allows relief from the two-year prior-sale rule in some cases involving an unforeseen change in employment, health, or severe financial hardship. The REV-625 guide explains the state tests and reporting.

The details that can change the calculation

Even when a home sale qualifies for an exclusion, certain circumstances need special attention:

  • Rental use or a depreciated home office: Depreciation claimed, or that you were entitled to claim, after May 6, 1997, generally cannot be excluded from federal gain. Pennsylvania also treats some business or rental portions differently.
  • Rental periods before you return to living in the home: Under federal rules, some periods after 2008 when the property wasn’t used as a principal residence may count as “nonqualified use,” limiting the exclusion on a portion of the gain. The rule has exceptions, including for certain time after your last principal-residence use. Have a CPA review the dates.
  • A home sale after the owner’s death: Pennsylvania says an estate or trust generally cannot claim the principal-residence exclusion on a sale after the owner’s death. An authorized representative cannot claim it on the decedent’s final return unless the sale closed before death. A surviving spouse may qualify under separate rules. If you’re an heir, raise the issue with the estate’s attorney and accountant before closing.

An inherited home is a different tax situation. Its basis may generally be adjusted to its value at the date of death, so don’t assume the original owner’s purchase price is the right starting point. The IRS discusses inherited-home basis in Publication 523.

Illustrative Bucks County math

Suppose a home was purchased in 1994 for $180,000 and sold in 2026 for $600,000. The simple difference is $420,000 before accounting for improvements, selling expenses, or other adjustments.

  • For a single filer, the $250,000 federal exclusion would leave $170,000 potentially taxable federally, subject to the actual basis calculation and any special rules.
  • For a married couple filing jointly, the full $420,000 illustrative gain would be within the $500,000 federal cap, assuming they meet the requirements and no special rules apply.
  • For Pennsylvania, a seller who meets the state’s four tests may qualify to exclude the full gain from state taxable income, because the state exclusion has no dollar cap.

This is an illustration, not a prediction, valuation, or tax estimate. Your actual gain may be lower. Capital improvements can increase your home’s basis, and selling expenses can reduce the amount realized. Our Bucks County seller closing costs guide explains common sale costs. Confirm which costs and improvements apply with your CPA.

For a surviving spouse, consider a couple who owned and lived in their home for 30 years. If one spouse dies and the survivor sells within two years, the survivor may still be eligible for the federal $500,000 exclusion, if the requirements are met and the survivor is unmarried on the sale date. Mark the date of death and get professional advice early.

Receipts and home-improvement records being organized on a table

What to gather this year

Getting records together early gives your tax professional more time to check the numbers. Start with:

  1. Your original purchase price and any available purchase or settlement records.
  2. Receipts or other records for capital improvements, such as additions, a new roof, HVAC, windows, kitchen or bath remodels, a deck, driveway, septic system, or pool.
  3. An estimate of your selling costs, which may reduce the amount realized.
  4. A timeline of when you owned and used the home as your principal residence.
  5. If your spouse has died, the date of death and the potential two-year federal window.
  6. If you or your spouse has moved to a care facility, the dates of residence and facility admission.
  7. Details of any rental use or home-office depreciation.
  8. If you’re selling a parent’s home, contact the estate’s attorney and accountant before the sale closes.

The IRS’s Publication 523 explains how basis and gain are calculated. For help planning the timing of your sale and next purchase, see our Sell First or Buy First guide.

One practical note on timing, since the rules above are all about dates. Inventory in the 55 and over communities in Bucks County, PA is genuinely thin, and single-story housing is the scarcest part of it. Avenrowe has only 80 homes, built between 1999 and 2000, and no room for further development. That means the tax calendar and the housing calendar do not always cooperate: the sale date that suits your exclusion may not be the week the right home comes up. Worth knowing before you decide the order of operations.

We can help you organize the sale timeline and the home-sale numbers we can document. For your tax calculation, though, a CPA or tax attorney is the right person to confirm your basis, eligibility, and potential federal and Pennsylvania treatment. If you would rather not sort through a box of thirty-year-old receipts alone, we know people who do exactly that and we are glad to make the introduction.

Call us at (215) 757-7257 or email Info@BucksCountyBoomers.com. We are more than willing to help you plan the real estate side of your next move.

Questions about selling your long-held home? Call (215) 757-7257 or email Info@BucksCountyBoomers.com to start the conversation. We are not affiliated with any homeowners association, and we are not your tax adviser. But we have sat at a lot of these closing tables and we know which questions to ask and who to ask.

Important disclaimer: This article provides general information, not tax, legal, or accounting advice. The IRS, the Pennsylvania Department of Revenue, and the applicable statutes control. Rules and individual circumstances can change the result. Consult a CPA or tax attorney about your specific situation before you sell.

Scroll to Top