Partial home sale exclusion if I sell months before a work-related move

Situation: my employer announced a relocation and I need to move from Ohio to Texas. The issue is I've only owned and lived in my house for 14 months, so I don't meet the full 2-year ownership and use test. I'm planning to sell before I physically start working in Texas — probably 3 or 4 months before the job starts there. I know there's a partial exclusion for work-related moves but I can't find a clear answer on whether selling before the move actually qualifies, or whether the IRS looks at when the new job starts vs. when I actually relocate. My gain would be meaningful so this matters a lot. Already read Publication 523 on irs.gov but the "primary reason" language is confusing me. Does the timing of the sale relative to the job start date kill the partial exclusion?

35 comments

Selling before the job starts does not automatically disqualify you. Publication 523 says a partial exclusion may apply if the primary reason for the sale was a change in workplace location — it does not require that you've already started working at the new location. What matters is that the sale is reasonably connected to that change. Having a formal relocation order from your employer in writing strengthens that connection considerably.

Beth K.

Author

That's reassuring. I do have a written relocation offer letter with a start date and a required reporting location. Does keeping that documentation matter at audit?

Absolutely keep it. The letter, any employer relocation policy, and anything showing the Ohio home is no longer practical for the new workplace all support the "primary reason" standard if the IRS ever asks.

The partial exclusion calculation is straightforward once you confirm eligibility. You take the number of months you used and owned the home as your main residence, divide by 24, then multiply that fraction by the full exclusion ceiling. Publication 523 has the worksheet. Since you're at 14 months your fraction would be 14/24.

Worth noting: the fraction applies separately to both the ownership test and the use test — you have to meet both, so whichever period is shorter drives your fraction.

Beth K.

Author

Both are 14 months for me since I bought and moved in the same week. So 14/24 of the full exclusion ceiling for a single filer is what I'd be working with?

Correct, and the full exclusion ceiling for your filing status is in Publication 523 — I won't guess at the dollar figure because it depends on whether you file single or jointly and you should confirm it there rather than from a forum post.

One thing that tripped me up in a similar situation: the IRS does not require you to have already started the new job, and if the new workplace is at least 50 miles farther from the old home than the old workplace was, the sale automatically counts as work-related under a safe harbor (missing it doesn't kill the exception, you'd just have to show the move was the primary reason on the facts). That distance test from the moving expense rules gets incorporated by reference into the work-related move exception in Publication 523. Make sure your Texas workplace clears that threshold from the Ohio address.

Beth K.

Author

Ohio to Texas is several hundred miles so the distance is definitely not an issue. Good flag though, I hadn't re-read that part carefully.

I uploaded my closing disclosure and the employer relocation letter to taxr.ai and had it walk through the Publication 523 partial exclusion worksheet line by line for my own documents. It flagged that my gain calculation needed to reflect the basis adjustments I'd made for a new roof — something I had entered in the wrong place. Helped me get the numbers right before I handed everything to my preparer. On the substance: since you're selling before the Texas job starts, make sure you can document that the sale itself was driven by the relocation requirement and not by an unrelated reason. If a portion of your gain ends up taxable, that taxable piece goes on Form 8949 and flows to Schedule D in the normal way.

Beth K.

Author

The basis adjustment point is a good reminder — I added a deck last year. I need to make sure that cost is added to my basis before I figure the gain.

Exactly. Capital improvements add to basis; routine repairs don't. Publication 523 Worksheet 2 is where you build up the adjusted basis, and that number directly reduces your gain.

Does the exclusion apply if you received a Form 1099-S? Asking because my situation last year involved one and I wasn't sure if that changed the reporting obligation.

Receiving Form 1099-S means you must report the sale on Form 8949 regardless of whether you have taxable gain. Without a 1099-S, if the gain is fully excluded you don't need to report it at all. The 1099-S changes the reporting rule, not the exclusion eligibility itself.

Got it, that clarifies it — I did receive one so I had to report even though my excluded gain was zero after the partial exclusion.

Went through a partial exclusion situation two years ago for a health-related move, different reason but same math. The fraction approach is real and the IRS does honor it. My return was accepted without issue. The key was having a clear paper trail showing why the sale happened when it did.

Pasted my employer's relocation agreement and my HUD-1 into Taxr and had it cross-check my gain figure and check which Form 8949 boxes applied given that I received a 1099-S. It flagged that I needed code H in column (f) with the excluded gain as a negative in column (g) — which I confirmed against the Form 8949 instructions before filing. Saved me from putting the excluded amount in the wrong column. For your situation specifically: if you receive a 1099-S, Part II box F on Form 8949 is where the sale goes, then code H for the exclusion with the excluded amount as a negative in column (g). If no 1099-S and the gain is fully excluded, you don't report it at all.

Beth K.

Author

This is exactly the box-by-box breakdown I was looking for. I'll likely receive a 1099-S since the title company mentioned they report to the IRS. So Part II, box F, code H, excluded gain negative in column (g).

Right. And the proceeds in column (d) come from whatever the 1099-S shows — you don't substitute a different number there even if the form looks off. Adjustments go in column (g).

Something I want to flag: the full exclusion is not available if you excluded gain on another home sold within the 2-year period before this sale. If you sold a previous home recently and took the exclusion then, that prior-sale rule blocks the full exclusion here, though a work-related move can still get you a partial exclusion. Publication 523 covers this under the eligibility test.

Beth K.

Author

No prior home sale — this is my first home. So that prior-exclusion block doesn't apply to me.

What if the job falls through after you've already sold? Worth thinking through before you close, because if the relocation reason evaporates and you can't document it was the primary reason, the work-related exception may not hold. Not saying it will happen, just that the exception is tied to the reason being real and documented.

Fair point. Having the offer letter and any company relocation policy on file before closing is protection against exactly that scenario.

The 50-mile distance test mentioned earlier is worth double-checking in Publication 523 directly because the rule is that the new workplace must be at least 50 miles farther from the old home than the old workplace was — not just 50 miles from the old home. The two reference points are different and people sometimes calculate from the wrong starting address.

That's the correction I should have been clearer about — yes, the distance is the old home to the new workplace compared with the old home to the old workplace, and the first must be at least 50 miles longer. Thank you for being precise about that.

It matters a lot for people in suburbs where the old workplace was close by but the old home was farther out. How much farther the new workplace is from the home than the old workplace was is what Publication 523 uses for this exception.

Is the partial exclusion prorated the same way for a married couple filing jointly as for a single filer, just with a higher ceiling? Or does the fraction work differently?

The fraction — your months over 24 — works the same way. It's applied to the applicable exclusion ceiling for your filing status. For a joint return only one spouse needs to meet the ownership test but both must meet the residence test; Publication 523 spells out the joint-return rules specifically and it's worth reading that section if you're married.

Makes sense, we owned the home together so both tests were met for both of us. The fraction was the only thing limiting us.

One documentation point: keep a copy of anything showing the closing date of your Ohio sale and the start date of your Texas employment. Those two dates together are what establishes that the sale was before the job started but still connected to the relocation — the temporal gap is explainable with documentation but only if you have it.

If your gain after the partial exclusion still leaves a taxable amount, that portion is long-term capital gain since you held the home more than 12 months. The rate that applies depends on your taxable income for the year — the Schedule D instructions and Publication 550 at irs.gov walk through the qualified dividend and capital gain tax worksheet that determines the rate. Don't just assume it's your marginal ordinary rate.

Beth K.

Author

14 months owned so yes, long-term. I hadn't thought about the rate question separately from the exclusion question. Good to know I should run the capital gain worksheet rather than just assume.

If the taxable gain after the partial exclusion is large enough to meaningfully affect your tax bill, an enrolled agent or CPA who handles real estate transactions would be worth consulting before you close. The partial exclusion calculation, basis adjustments, and Form 8949 reporting all interact and a professional can review the numbers with your actual closing disclosure in hand.

Beth K.

Author

Agreed — I'll bring the documentation to a CPA once I have a firm closing date. This thread has given me a solid understanding of what to bring and what questions to ask.

Closing thought for anyone reading later: if you don't receive a 1099-S and your entire gain is excluded under the partial exclusion, Publication 523 says you don't need to report the sale on your return. But the moment a 1099-S exists, reporting on Form 8949 is required even if the taxable gain is zero. Those are two meaningfully different situations.