top of page
Luxury Poolside Villa
Own Luxury Homes®

Partial Capital Gains Exclusion: When You Don't Qualify

Partial exclusion formula: (months qualifying ÷ 24) × full exclusion amount. 18 months + job relocation = $187,500 exclusion (single filer). 3 triggers: (1) job change 50+ mile test; (2) health relocation; (3) unforeseen: divorce, death, disaster, job loss. Non-qualified use: rental BEFORE primary use reduces exclusion; rental AFTER primary use does not (if sold within 3 years). Own Luxury Homes® 12-Point Agent Integrity Audit™ — CPA referral before listing.

Connect with the Best Local Realtors

Knowledge is power — the best agent is the most knowledgeable. Tell us your market, property type, price range, and whether you’re buying or selling, and we’ll match you with a specialist whose proven closing history fits your exact needs.

Partial Capital Gains Exclusion: When You Don't Meet the Full 2-Year Test and What You Can Still Exclude

18 ÷ 24
The partial exclusion formula: months you qualify ÷ 24 × full exclusion amount — a seller who lived in the home 18 months and relocates for work can still exclude $187,500
3 triggers
Three qualifying circumstances for partial exclusion: change in employment, health reasons, and IRS-defined unforeseen circumstances including divorce, death, and natural disaster
50 miles
The job-change trigger requires the new workplace to be at least 50 miles farther from the home than the prior workplace was — a precise test, not a general "had to move" standard
Rental risk
If you rented the home before using it as your primary residence, the rental period creates a non-qualified use period that can reduce your exclusion even if you meet the 2-year test

The full Section 121 exclusion requires 24 months of ownership and primary residence use within the 5-year window before sale. When life doesn't follow that schedule — a job relocation after 18 months, a health emergency that requires selling early, a divorce that forces a sale — the partial exclusion provides meaningful tax relief even without meeting the full test. Most sellers in these situations don't know the partial exclusion exists or how to calculate it.

Tax Disclaimer
Own Luxury Homes® is a licensed real estate brokerage, not a tax advisor. This guide explains the real estate mechanics of the partial exclusion. For your specific situation, consult a CPA or tax attorney. Verify current rules with IRS Publication 523 or a qualified tax professional.

The Three Qualifying Circumstances

Circumstance 1: Change in Employment

Your primary job changes and the new workplace is at least 50 miles farther from the home than your previous workplace was. Example: your previous job was 5 miles from the home. New job is 58 miles from the home. The 53-mile increase exceeds the 50-mile threshold. Qualifies. Also applies to: your spouse's new job meeting the test, a co-owner's new job, a change from employed to self-employed at a new location if the distance test is met. Does not apply to: voluntary job changes motivated by personal preference if the distance doesn't meet the 50-mile test; retirement unless the specific facts qualify under a separate IRS ruling.

Circumstance 2: Health

The home sale is primarily motivated by a health condition affecting you, your spouse, or a co-owner. The IRS definition: to obtain, provide, or facilitate diagnosis, cure, mitigation, or treatment of a disease, illness, or injury; or to obtain or provide medical or personal care for a qualified individual suffering from a disease, illness, or injury. Most useful with documentation: physician recommendation that the specific move is medically indicated or necessary. Moving closer to adult children who can provide care may qualify; moving for general lifestyle preference typically does not.

Circumstance 3: Unforeseen Circumstances

The IRS provides specific examples: involuntary conversion of the home (disaster, condemnation); natural or man-made disaster resulting in a casualty to the home; death of a qualified individual; divorce or legal separation; multiple births from the same pregnancy; loss of employment resulting in eligibility for unemployment compensation. The IRS also allows a "safe harbor" for other situations: if a specific event causing the sale would qualify, even if not explicitly listed, a CPA can evaluate whether it meets the standard.

The Partial Exclusion Formula

VariableValueNotes
Months satisfying ownership and use testsX monthsCount only months when BOTH tests were met
Maximum qualifying period24 monthsThe full test denominator
Partial exclusion percentageX ÷ 24Expressed as a decimal fraction
Single filer full exclusion$250,000Maximum available
Partial exclusion (single)(X ÷ 24) × $250,000Your actual exclusion amount
MFJ full exclusion$500,000Maximum available for married filing jointly
Partial exclusion (MFJ)(X ÷ 24) × $500,000Your actual exclusion amount
Months in HomeQualifying CircumstanceSingle Filer ExclusionMFJ Exclusion
12 monthsJob relocation (50+ miles)$125,000$250,000
15 monthsHealth relocation$156,250$312,500
18 monthsDivorce$187,500$375,000
20 monthsJob relocation$208,333$416,667
24 monthsFull test met — no qualifying circumstance needed$250,000$500,000

The Non-Qualified Use Trap: Prior Rental Reduces Your Exclusion

How Rental Before Primary Use Affects the Exclusion

If you rented the home before using it as your primary residence, the rental period is called "non-qualified use." Non-qualified use before the primary residence period reduces your exclusion proportionally: the fraction of gain attributable to non-qualified use is not eligible for exclusion. Example: bought in 2018, rented for 3 years (2018–2021), moved in and used as primary residence for 2 years (2021–2023), sold in 2023. Total ownership: 5 years (60 months). Non-qualified use: 36 months (rental). Non-qualified fraction: 36 ÷ 60 = 60% of gain not excludable. Important exception: non-qualified use AFTER your primary residence period (you moved out and rented) does NOT reduce the exclusion if the sale occurs within 3 years of the last primary use. The penalty applies to rental use BEFORE primary use, not after.

Divorce and the Section 121 Exclusion: Special Rules

How Divorce Affects the Tests

For the ownership test: if you used the home as your primary residence but your spouse held title, the divorce settlement typically transfers the ownership credit. Under the divorce rules: if one spouse is awarded the home in the divorce and the other spouse had previously used it as a primary residence, the non-owning spouse's use period can be credited to the owning spouse for purposes of the exclusion. For the $500,000 MFJ exclusion: must be claimed in the year the sale occurs while still married. If the sale occurs after divorce: each spouse files separately and can each claim up to $250,000 if both meet the use test. Timing the sale relative to the divorce finalization is a material tax decision that a CPA should evaluate.

“The partial exclusion situation I see most often: relocation buyers who are also selling. They've been in their current home 16 months, got a job offer across the country, and assume they owe full capital gains because they haven't hit the two-year mark. "Go talk to your CPA before we list." Typically they get the relocation partial exclusion and their effective tax exposure is a fraction of what they feared. It changes the net proceeds calculation significantly — and sometimes changes whether selling now makes sense vs waiting a few more months to hit a higher exclusion percentage.”

— Ryan Brown, Principal Broker & CEO, Own Luxury Homes®

What is the partial capital gains exclusion?

A reduced version of the Section 121 exclusion available when you don't meet the full 24-month ownership and use test due to a qualifying circumstance: job change (50+ mile relocation), health reasons, or IRS-defined unforeseen events (divorce, death, disaster, etc.). Formula: (months qualifying ÷ 24) × full exclusion amount. 18 months qualifying = 75% of the full exclusion.

Does selling my home after a divorce affect my capital gains exclusion?

Yes, with important timing considerations. If you sell while still married and file jointly: you may claim the $500,000 MFJ exclusion if both spouses meet the use test. If you sell after the divorce is final: each spouse files separately and may each claim up to $250,000 if each meets the individual use test. The divorce itself may qualify as an unforeseen circumstance for partial exclusion purposes if you don't meet the full test. Consult a CPA; the timing of the sale relative to divorce finalization is material.

What is non-qualified use and how does it reduce my exclusion?

Non-qualified use is any period when the home was not your primary residence while you owned it. Rental use before your primary residence period is the most common example. The fraction of gain attributable to non-qualified use is not excludable. Important: rental use AFTER your primary residence period does not reduce the exclusion if you sell within 3 years of your last primary use. The penalty applies to pre-primary-use rental, not post-primary-use rental.

Own Luxury Homes® — partial exclusion situations flagged and referred to CPA before listing. 12-Point Agent Integrity Audit™. Request a verified listing specialist ›

Find Your Perfect Real Estate Specialist

Knowledge is power — the best agent is the most knowledgeable. Tell us your market, property type, price range, and whether you’re buying or selling, and we’ll match you with a specialist whose proven closing history fits your exact needs.

"The introduction Own Luxury Homes® makes is to a specialist with documented closing history in your specific market — not the county, not the metro, the submarket you're actually selling or buying in. That's the standard we verify before your name goes anywhere."

— Ryan Brown, Principal Broker & CEO, Own Luxury Homes® (FL License BK3626873)

bottom of page