Selling before completing the usual residence and ownership periods does not settle the tax question on its own. The reason for the move and the dates of ownership, use and any prior exclusion determine whether a reduced amount may apply.

How a reduced exclusion is considered

If you sell before meeting the two year tests because of a work move, a health move, or an unforeseeable event, IRS Publication 523 allows a reduced exclusion. It is a fraction of $250,000 for each person, set by the shortest of your time living in the home, your time owning it, and the time since you last used the exclusion, divided by 730 days or 24 months.

The full exclusion, in one paragraph

The full version is covered in the note on capital gains tax when you sell your house: up to $250,000 of the gain on a main home, or up to $500,000 on a joint return, for an owner who has owned and lived in it at least 24 months of the five years before the sale, and who has not used the exclusion in the two years before. Publication 523 defines the residence requirement as a total of 24 months, or 730 days, during that five year period.

This note is about the owner who falls short of it.

The three reasons that qualify

A work move. Publication 523 says you may qualify if you took or were transferred to a new job in a work location at least 50 miles farther from the home than your old work location. The publication's own example: the old job was 15 miles from the home and the new one is 65. The comparison is from the house to each job, not from the old job to the new one.

It also counts if you had no previous work location and the new job is at least 50 miles away, and it counts if the move was for a spouse, a co-owner, or anyone else whose residence the home was.

A health move. You may qualify if you moved to obtain, provide or facilitate diagnosis, cure, mitigation or treatment of disease, illness or injury for yourself or a family member, including moving to provide medical or personal care for a family member, or because a doctor recommended a change of residence for health reasons.

An unforeseeable event. The publication lists them: the home was destroyed or condemned; a casualty loss from a natural or man-made disaster or an act of terrorism, whether or not the loss is deductible; the death of you, your spouse, a co-owner or another resident; a divorce, legal separation, or a separate decree requiring support payments; two or more children from the same pregnancy; becoming eligible for unemployment compensation; a change in employment status that left you unable to pay basic living expenses for the household; and an event IRS published guidance determines to be unforeseeable.

Outside those lists, the publication allows a facts and circumstances test: whether the primary reason for the sale was work, health or an unforeseeable event. Among the factors it names are that the situation arose while you owned and lived in the house, that you sold soon after it arose, that you could not reasonably have anticipated it when you bought, and that the home became significantly less suitable for a specific reason. That test is a judgment, and it is your CPA's judgment, not mine.

The arithmetic, from the worksheet

Publication 523's Worksheet 1, Part B, runs in four steps. First, find the shortest of three periods: your time of residence in the home during the five years before the sale, your time of ownership before the sale, and the time since you last sold a home on which you took the exclusion, if there was one. Second, divide that period by 730 if you count days, or by 24 if you count months; the worksheet lets you use either.

Third, multiply the result by $250,000. Fourth, on a joint return, repeat the first three steps for your spouse and add the two results.

Worked through on round numbers, with the worksheet's own steps, for an owner whose sale qualifies under one of the reasons above: an owner who owned and lived in the house for 12 of the last 24 months gets 12 divided by 24, which is one half, times $250,000, which is $125,000. A married couple who both lived there those same 12 months add two of those, $250,000. An owner at 18 months gets three quarters, $187,500.

It is a ceiling, not a cut

The worksheet produces the most you may exclude. It does not shrink your gain by a percentage. If the house was bought eighteen months ago and the gain is $40,000, a ceiling of $187,500 still covers all of it. Whether the ceiling covers an owner's gain depends on the actual figures and eligibility.

Why this matters most on a relocation

An executive transfer is the case the work move test was written for, and it is also the case where the other money is moving at the same time: a relocation package, a buyout offer from a relocation company, an employer paying closing costs. How the employer's side is taxed is a separate question, covered in whether an employer paid move is taxable income. The exclusion is about the gain on the house.

Keep the two in separate folders, and give both to your CPA.

Before delaying a move solely to reach a two-year date, ask the CPA whether a reduced exclusion applies. Compare the actual tax effect with the mortgage, utilities, insurance and other costs of keeping the house.

Ask the CPA to review the reason for the sale, ownership and residence dates, any rental or home-office period, and the effect on the Indiana return. That review should take place early enough to inform the sale timetable.

The notes on which improvements raise your basis and which records to keep cover the other half of the gain, and the sellers page sets out how a listing is prepared here.

Source: IRS, Publication 523 (2025), Selling Your Home, for use in preparing 2025 returns: the eligibility test and its 24 month (730 day) residence requirement, the once in two years rule, the work related, health related and unforeseeable event conditions for a partial exclusion, the facts and circumstances factors, and Worksheet 1, Part B. Read at source October 21, 2026. The worked figures are the worksheet's steps applied to round numbers, not an IRS example. Internal Revenue Code section 121 and Regulations section 1.121-3 were not read at source for this note.

This note is general. It is not tax or legal advice, and whether any part of the exclusion applies to your sale depends on facts only your CPA can assess.