When you decide to sell your primary residence, IRS Section 121 is often your most valuable ally in protecting your equity. Under standard rules, homeowners can exclude up to $250,000 of profit from their taxable income—a figure that jumps to $500,000 for married couples filing jointly. The catch? You generally need to have owned and occupied the property as your main home for at least two out of the five years preceding the sale. However, life rarely follows a perfectly linear schedule. Many homeowners find themselves needing to sell long before that two-year anniversary arrives.
Fortunately, the tax code is not entirely rigid. The IRS recognizes that certain life events necessitate an earlier-than-planned move. If your sale is driven by employment changes, health considerations, or specific unforeseen circumstances, you may be eligible for a partial exclusion. This pro-rated tax break allows you to keep a significant portion of your gains tax-free, even if you fall short of the standard residency requirements.
The most frequent trigger for a partial exclusion is a job-related move. If your employer transfers you or if you accept a new position that requires a change in residence, you may qualify for a safe harbor. To meet this standard, your new place of work must be at least 50 miles farther from your current home than your previous workplace was. For those who were previously unemployed or working from home, the new job site must simply be 50 miles away from the home you are selling.
Who qualifies for this exception? The rule is broader than many realize. It doesn’t just apply to the primary taxpayer. You can claim the exclusion if the job change impacts:
The taxpayer or their spouse.
A co-owner of the residence.
Any other individual for whom the home was their primary place of residence.

A move is considered health-related if its primary purpose is to facilitate the diagnosis, treatment, or mitigation of a specific medical condition. This also extends to moves made to provide essential care for a family member. It is critical to distinguish this from moves for "general well-being," such as relocating to a sunnier climate to improve your mood. To secure this exclusion, you typically need a physician’s recommendation stating that the change in residence is medically necessary.
The scope of qualified individuals: The IRS allows for a wide definition of family when it comes to health moves. This includes the taxpayer’s spouse, parents, children, siblings, and even extended family members 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 simply deciding you no longer like the neighborhood doesn't count, the IRS provides a robust list of specific events that automatically qualify for relief:
The Safe Harbor List: This includes involuntary conversions (like property condemnation), natural disasters or acts of terrorism, and the death of a qualified individual. It also covers divorce, legal separation, or becoming eligible for unemployment benefits. Furthermore, a change in employment status that renders you unable to pay basic living expenses—or even multiple births from a single pregnancy—can trigger the partial exclusion.
The partial exclusion isn’t an all-or-nothing benefit; it is calculated as a fraction of the maximum $250,000 or $500,000 limit. To find your number, you look at the shortest of these three periods: your total ownership time, your total residency time, or the time elapsed since you last claimed a Section 121 exclusion. You then divide that number of days (or months) by 730 days (or 24 months).
Example: Imagine you are a single filer who moved into a new home but had to relocate for a job 100 miles away after only 12 months. Because you met 50% of the 24-month requirement, you can exclude 50% of the standard $250,000 gain. This means $125,000 of your profit remains tax-free.
Determining whether your specific situation meets the IRS threshold for "facts and circumstances" can be a nuanced process. If you are preparing for a move or have recently sold a home before hitting the two-year mark, reach out to our firm. We can help you document your move correctly and ensure your exclusion is calculated accurately to protect your financial interests.
Establishing a robust documentation strategy is the final step in securing this tax benefit. To successfully claim a partial exclusion, you should maintain a detailed file containing physician letters for health-related moves, official employment transfer orders for career changes, or clear evidence of financial hardship if the sale was prompted by sudden economic distress.

Without a clear paper trail, the IRS may recharacterize your gain as fully taxable, potentially leading to significant liabilities. Furthermore, for situations that fall outside the standard safe harbors—such as a material change in neighborhood safety or other significant life shifts—the IRS evaluates the specific "facts and circumstances" surrounding your move. In these cases, the burden of proof rests on the taxpayer to demonstrate that the sale was a necessary response to an event that could not have been reasonably predicted at the time of purchase. By keeping precise records and aligning your relocation with these specific provisions, you can confidently transition to your next home while protecting the equity you have worked hard to build.
Sign up for our newsletter.