When selling a primary residence, the Section 121 exclusion is one of the most powerful tools in a homeowner’s tax strategy. Under this Internal Revenue Code provision, taxpayers can often shield up to $250,000 in gain—or $500,000 for qualifying married couples filing jointly—from capital gains taxation. Generally, the IRS requires you to have owned and utilized the property as your primary residence for at least two of the five years preceding the sale. However, life rarely follows a perfectly linear path. Many homeowners find themselves needing to sell earlier than planned due to career shifts, medical needs, or unexpected personal crises. Fortunately, the IRS offers a safety net: the partial exclusion. If your move is prompted by specific qualifying events, you may still be eligible for a significant tax break even if you haven’t hit that two-year milestone.
The most frequent catalyst for an early home sale is a career-related relocation. To qualify for a partial exclusion under this category, your move must meet a specific distance test. Specifically, your new place of employment must be at least 50 miles farther from your home than your previous workplace was. If you are entering the workforce for the first time or returning after a gap, the new job site must be at least 50 miles from the home you are selling.
Broad Eligibility: This exception isn’t limited solely to the primary taxpayer. You may qualify if the job change involves:
The taxpayer or their spouse.
Any co-owner of the property.
Any individual for whom the property was their primary residence.
A move is considered health-related if its primary purpose is to facilitate the diagnosis, treatment, or mitigation of a disease, illness, or injury. This also extends to moves required to provide essential care for a family member. It is critical to distinguish between medical necessity and lifestyle preference. Moving to a sunnier climate for ‘general well-being’ usually won’t pass muster; the IRS typically expects a doctor’s recommendation to support the transition.

Who counts as a ‘Qualified Individual’? The IRS definition is quite inclusive. It covers the owners and residents of the home, as well as an extensive list of family members, including parents, children, siblings, grandparents, and even extended family like aunts, uncles, or in-laws.
An ‘unforeseen circumstance’ is defined as an event that could not have been reasonably anticipated before you bought and moved into the home. While a simple change of heart regarding the neighborhood won’t qualify, the IRS identifies several ‘Safe Harbors’ that automatically grant eligibility for the partial exclusion:
Involuntary Conversion: Such as the destruction or condemnation of the home.
Disasters: Natural or man-made disasters resulting in a casualty loss.
Life Changes: Death, divorce, or legal separation of a qualified individual.
Financial Hardship: Eligibility for unemployment benefits or a change in employment status that makes it impossible to cover basic living expenses.
Family Growth: Multiple births resulting from the same pregnancy.

The partial exclusion isn’t an ‘all or nothing’ figure. Instead, it is a percentage of the maximum $250,000 or $500,000 limit. To find your fraction, determine the shortest of these three periods:
How long you owned the home in the 5 years before the sale.
How long you lived in the home as your primary residence in those 5 years.
The time elapsed since you last used the Section 121 exclusion.
You then divide that number of days or months by 730 days (or 24 months). For instance, if a single filer lived in their home for exactly 12 months before moving 100 miles for a new job, they have met 50% of the residency requirement. Consequently, they can exclude up to $125,000 of their gain from taxable income.
Determining whether your specific situation meets the IRS ‘facts and circumstances’ test can be complex. If you are facing an early sale, we recommend scheduling a consultation to review your documentation and ensure your exclusion is calculated accurately to minimize your tax liability.
When your situation falls outside the defined safe harbors, the IRS applies a rigorous ‘facts and circumstances’ analysis to determine your eligibility for a partial exclusion. This subjective evaluation considers several factors, including whether the event that prompted the sale was truly beyond your control and occurred after you purchased and occupied the home. For instance, if you were forced to sell because of a sudden and significant increase in the cost of living that was not present when you first signed the mortgage, or if a change in local zoning laws drastically altered the nature of your property, you might still have a case for relief. The key is proving that the primary reason for the sale was an external event rather than a voluntary lifestyle choice or a predictable change in your personal situation.
Maintaining a meticulous paper trail is paramount when claiming a partial exclusion on your tax return. For job-related moves, this includes offer letters, payroll records showing the new work location, and distance calculations from your previous residence compared to the new site. For health-related transitions, a signed letter from a licensed physician detailing why the move was medically necessary for a qualified individual is often the gold standard of evidence. In the case of unforeseen circumstances like divorce or the death of a co-owner, legal documents such as a divorce decree or a death certificate should be kept in your permanent tax files. Having these documents organized and ready can significantly reduce the stress and complexity of a potential inquiry from the IRS regarding the validity of your exclusion.

The interaction between the partial exclusion and the ‘one exclusion every two years’ rule is another area where taxpayers often require clarity. Under normal circumstances, you are barred from using the Section 121 exclusion if you used it for a different home sale within the preceding 24-month period. However, the same qualifying events—work, health, and unforeseen circumstances—that allow for a partial exclusion also serve as a waiver for this timing restriction. For married couples filing jointly, there are additional layers of complexity if one spouse meets the ownership and use requirements but the other does not, or if one spouse has used the exclusion more recently than the other. In these cases, the exclusion amount is calculated individually for each spouse and then combined, which can lead to a more favorable tax outcome than many homeowners expect. Navigating these overlapping rules requires a careful review of your specific timeline to ensure no part of your eligible exclusion is left on the table.
Sign up for our newsletter.