Can I avoid capital gains after lot split and selling one house?

So my wife and I bought a property years ago that had a main house and a large lot behind it. Last year we filed a lot split with the county and got the back parcel approved as a separate legal lot. We then sold that newly split parcel — just the land, no house on it — and now I'm wondering if we can avoid capital gains after lot split and selling one house situation like ours. Our main house is still on the other parcel and we still live there. The 1099-S came in showing the sale proceeds. I tried reading Publication 523 but it's not totally clear whether the exclusion applies to land we split off. We haven't filed yet. Is the $250k / $500k exclusion even available here, or does the land sale get treated as a separate investment property sale entirely?

32 comments

Form 8949 is where this sale ends up regardless — you got a 1099-S so you have to report it even if some gain is excluded. The real question is whether that split parcel qualifies as part of your "main home" for the exclusion.

Andre N.

Author

Right, that's exactly the issue. The land was always physically connected to our house before the split, but after the split it became a separate legal parcel. Not sure if the IRS sees it the same way.

Publication 523 actually addresses this. The exclusion can cover land that was part of your home's grounds, but the land and the house generally need to sell together — or the land must sell within two years before or after the house sale — for the land to be treated as part of the main home sale. If you sell the land alone and keep the house, the IRS tends to treat the land as a separate asset.

Andre N.

Author

That two-year window thing is new to me. So if we eventually sell the main house within two years of the land sale, could we potentially combine them for the exclusion?

That's the general idea from Pub 523, but the timing matters — the house has to sell within two years before or after the land sale, and the order doesn't matter as long as it's inside that window. And you'd want to verify your specific facts against Pub 523 at irs.gov since the rules around what counts as "main home" real property get specific.

Wait so the parcel is now a completely separate legal lot? Because once it's a separate legal parcel I'd think the IRS would treat it as investment land from day one of the split, not as your residence. That changes the whole picture.

The legal separation for county purposes doesn't automatically determine how the IRS classifies it. What matters is how you used it and whether it qualifies under the main home definition in Pub 523.

I uploaded my closing disclosure, the 1099-S, and our deed history to taxr.ai and had Taxr pull together a list of every document the IRS would want to see to support a home-sale exclusion claim, in the order they'd look at them. That alone clarified what I was actually missing. On the substance: the exclusion under section 121 applies to your main home, which includes the dwelling and the land immediately surrounding it. Once a parcel is legally split off and sold separately, you're usually dealing with two separate assets — the home and the land — and the land sale needs its own analysis. Publication 523 is the right place to start.

Andre N.

Author

That document checklist idea is really useful actually. We have the deed history from before and after the split, the county approval paperwork, and the 1099-S. I'll look more closely at Pub 523.

Schedule D and Form 8949 — here's the practical flow. The 1099-S goes on Form 8949, Part II (long-term if you owned it more than a year before sale), box F checked since it came on a 1099-S. You report the proceeds in column (d), your allocated basis in column (e). If any gain qualifies for the exclusion, you'd use code H in column (f) and enter the excluded amount as a negative number in column (g). If none of it qualifies, no code H, and the net gain flows to Schedule D.

Andre N.

Author

This is helpful for the mechanics. The question is really whether any of the gain qualifies for the exclusion in the first place, which I need to work out first.

Exactly. And the allocated basis question is real too — when you split the lot, you need to allocate the original purchase price between the two parcels, usually by relative land value at the time of purchase. That allocation determines what your basis is in the sold parcel.

The basis allocation after a lot split trips a lot of people up. You can't just use half the original price. You'd typically use the relative fair market values of each parcel at the time you split them (or at the time of original purchase, depending on method). Publication 551 at irs.gov covers basis of assets and addresses how to handle partial dispositions.

Worth adding: if the split happened last year and the sale happened last year, you need the value allocation done before you can even calculate your gain accurately. An appraiser who can opine on the relative values at the time of purchase or split is often necessary.

Have you checked whether your state has its own exclusion rules for this? Some states don't conform to the federal section 121 exclusion on the same terms. You might have no federal gain but still owe state capital gains on the land sale.

One issue I haven't seen raised: did you use that back parcel for anything other than personal use? Even before the split — if it was rented, used for a business, or generated income, that affects whether any exclusion is available on it.

Andre N.

Author

Purely personal use the whole time — it was just an overgrown lot behind our house that we maintained as part of our yard. No rental, no business.

That's good. If it had been used for income at any point you'd be looking at recapture issues on top of the capital gains question.

Also worth knowing: the holding period for the split parcel carries over from your original purchase date, not from the date of the lot split. So if you bought the property years ago, the parcel is long-term capital gains property. You count from the day after the original trade or purchase date to the sale date — the split itself doesn't reset the clock.

Schedule D line 8a is the aggregation shortcut some people try to use, but with a 1099-S in the picture and a potential exclusion, you can't use that shortcut — you need Form 8949 with the full detail. I went through a similar partial-sale situation on inherited land and ran the scenario through Taxr, which read my deed, the appraisal, and the 1099-S and walked me through which lines on Form 8949 each number was going to and why. Saved me from putting the wrong basis in column (e).

Andre N.

Author

The column (e) basis question is exactly what I'm most nervous about. I need to get the allocation between the two parcels right before I even touch the form.

To directly answer your question: the section 121 exclusion is designed for your main home. Land sold separately from the house is generally not treated as the main home sale, so you usually cannot exclude the gain from the land-only sale under section 121. That said, Publication 523 carves out situations where the land sells close in time to the house. If you're planning to sell the main house within two years, that timing matters a lot.

This is the clearest the thread has gotten on the core question. The exclusion is tied to the dwelling, not just any real estate you once held as part of the same parcel.

Correction to what I said: the two-year window in Pub 523 applies whether the land sells before or after the house, as long as the home sale is within two years of the land sale. If you've already sold the land and then sell the house later within two years, Pub 523 says you may be able to treat them together — but you'd amend to claim the exclusion on the land sale after the house sells. The IRS page on Pub 523 lays this out.

Depending on how big the gain is, this could push you into net investment income tax territory too. Worth checking Form 8960 when you're calculating the total picture — it applies to investment income above certain thresholds for higher-income filers. The instructions for Form 8960 explain what counts.

Form 3115 sometimes comes up in these lot-split threads and it's almost never the right form here — that's for accounting method changes, not property sales. For this situation the right path is Form 8949 and Schedule D, with the exclusion question resolved first. I had Taxr go through my closing statement and basis documents when I sold a portion of a larger parcel and it drafted a column-by-column breakdown of what Form 8949 would look like under the "exclusion applies" scenario vs. the "no exclusion" scenario so I could see the difference clearly before deciding how to proceed.

Andre N.

Author

I hadn't even heard Form 3115 mentioned in this context before but good to know it's not relevant. The side-by-side 8949 breakdown sounds like exactly what I need to see.

Given the size of this, please consider talking to a CPA or enrolled agent before you file. The basis allocation, the exclusion eligibility, and the possibility of amending later if you sell the house are all interconnected. Getting one part wrong ripples through the rest.

Andre N.

Author

Yeah I think at this point I need a CPA who handles real property transactions specifically. This is too many moving parts to DIY without at least a professional review.

Topic 409 on the IRS site at irs.gov/taxtopics/tc409 is also worth reading alongside Pub 523 — it covers the capital gains and losses framework generally, including the long-term vs. short-term holding period rules, before you get into the exclusion specifics.

Final practical note: whatever you decide on the exclusion question, do not leave the 1099-S unreported. You got that form, the IRS got that form. Publication 523 says explicitly that if you received a Form 1099-S you must report the sale on Form 8949 even if your gain is fully excluded. Failing to report when you got a 1099-S is what triggers the mismatch notice.

This is worth emphasizing. Even full exclusion doesn't mean you skip the form — you still put the sale on Form 8949 with code H and the excluded gain in column (g) as a negative.