Skip to content
Mapleton, Utah
Morkel Financial & Tax Services

Job Move Home Sale Exclusion: The 50-Mile Partial-Exclusion Rule.

By Ewan Morkel, EA7 min read

A job move can unlock a partial IRC §121 exclusion before you have owned and lived in the home for two years. The clean safe harbor requires the new workplace to be at least 50 miles farther from the home, then prorates up to $250,000 per spouse.

Person packing household belongings into a moving box

A couple buys a home, lives there for 14 months, and sells after one spouse accepts a job in another city. Their gain is $360,000, and the usual advice says they missed the two-year ownership and residence tests, so all of it is taxable. That answer can be off by $291,667. The job move home sale exclusion can prorate both spouses' IRC §121 limits when the workplace relocation is the main reason for the sale.

The distance

Job move home sale exclusion measures the change in commute.

Treas. Reg. §1.121-3(c) provides the work-move safe harbor. Compare the distance from the home sold to the old workplace with the distance from that home to the new workplace. The second distance must be at least 50 miles greater. If the old office was 15 miles from the home, the new workplace must be at least 65 miles away. A new office 55 miles away fails because the increase is only 40 miles, even though the new commute itself exceeds 50.

When there was no prior workplace, the new one must be at least 50 miles from the home. The rule can apply to a new employer, a transfer with the same employer, or the start or continuation of self-employment. It can also be triggered by the qualifying work move of a spouse, co-owner, or another person for whom the property was a residence. IRS Publication 523 uses the same 50-mile comparison and treats it as evidence that the sale's primary reason was employment.

Married couple sells after 14 months because of a 2026 job move.
Gain after selling costs and adjusted basis
$360,000
Shortest qualifying period
14 months
Proration fraction (14 ÷ 24)
58.333%
Partial exclusion for each eligible spouse
$145,833
Combined partial exclusion
$291,667
Remaining taxable gain before other adjustments
$68,333

Tax year 2026. Assumes both spouses used the home as their principal residence for the same 14 months, one spouse's qualifying job move was the primary reason for sale, neither claimed a section 121 exclusion in the prior two years, and no depreciation or nonqualified-use adjustment applies.

The fraction

Fourteen months does not simply mean half of $500,000.

Publication 523's Worksheet 1 takes the shortest of three periods: residence during the five years before sale, ownership before sale, and time since the last home sale for which the taxpayer claimed an exclusion. Divide that period by 730 days or 24 months, then multiply by $250,000. On a joint return, repeat the calculation for the other spouse and add the results. The full $500,000 joint limit is not one shared bucket; it is generally two separately tested $250,000 limits.

In the example, 14 divided by 24 is 58.333%. Each spouse's partial limit is $145,833, for $291,667 combined. The couple excludes that amount and reports the remaining $68,333 of gain. If their gain were only $250,000, the same partial limit would shelter all of it. The fraction caps the exclusion, not the sale price and not the amount of cash received at closing.

The cause

The safe harbor still needs a primary reason for sale.

The regulation asks whether the employment change was the primary reason for the sale. The 50-mile safe harbor gives a clean answer when its facts are met. Outside the safe harbor, a seller can still qualify under all the facts and circumstances, including how close the sale was to the job change, whether the home became unsuitable, and whether the reason was foreseeable when the home was purchased. A longer commute that is merely annoying is a weaker file than an offer letter, relocation date, new work address, and sale listing created within weeks of each other.

The move does not have to be involuntary. Accepting a better job or beginning self-employment can qualify. Remote work is harder when the taxpayer's actual work location does not change. Calling a laptop's new room an office does not establish a workplace 50 miles farther away. Keep the offer or transfer letter, both workplace addresses, a map showing the distances measured from the home sold, moving records, and documents tying the listing decision to the employment event.

The leftovers

Some gain stays taxable even inside the limit.

Depreciation allowed or allowable for business or rental use after May 6, 1997, cannot be excluded under IRC §121. A seller with a home office may still owe tax on that amount under the home-office depreciation recapture rules. Periods of nonqualified use can also allocate gain outside the exclusion, particularly when a rental later becomes a residence. That separate calculation is covered in the rental-to-primary-residence rules. The job fraction does not wipe either issue away.

A seller who receives Form 1099-S generally reports the transaction even when the exclusion eliminates all gain. Taxable gain goes through Form 8949 and Schedule D, while separately allocable business gain may require Form 4797. Keep the closing statements, improvement records, and exclusion worksheet with the return. The distance test proves why a partial exclusion is available; it does not prove basis or calculate gain.

Frequently asked

Quick answers on this topic.

Can I avoid capital gains tax if I sell my home for a new job?

You may qualify for a partial IRC §121 exclusion in 2026 when a work-location change is the primary reason for sale. The clearest safe harbor applies when the new workplace is at least 50 miles farther from the sold home than the old workplace, but taxable gain can remain above the prorated limit.

How is the 50-mile rule measured for a home sale?

Measure both workplaces from the home sold. Under Treas. Reg. §1.121-3(c), the new workplace must be at least 50 miles farther from that home than the old workplace; if there was no old workplace, the new workplace must be at least 50 miles from the home.

How much is the partial home sale exclusion after 14 months?

Fourteen months divided by 24 is 58.333%, producing a 2026 maximum of about $145,833 for each eligible spouse. If both spouses qualify on a joint return, the combined limit is about $291,667, subject to depreciation and nonqualified-use rules.

Does a voluntary job change qualify for the partial exclusion?

It can. Treas. Reg. §1.121-3 does not require a firing or employer-mandated transfer; starting with a new employer, continuing with the same employer at a new location, or beginning self-employment can qualify when the move is the primary reason for sale and the distance test is met.

Will claiming a job-move home sale exclusion trigger an audit?

The partial exclusion is expressly authorized by IRC §121(c) and Treas. Reg. §1.121-3, so the claim itself is legitimate. Keep the offer or transfer letter, workplace addresses, distance calculation, sale timeline, closing statement, and basis records because those documents prove both the reason for sale and the amount excluded.

Real estate tax planning

Modeling the after-tax outcome before you buy.

If a cost segregation study or a 1031 exchange is on your radar, the most valuable conversation is the one before the closing. We model the numbers, coordinate the cost seg, and file the elections, so the strategy survives the IRS, not just the spreadsheet.

More from the journal