Partial home sale exclusion for flood buyout before two years of ownership

Hoping someone here has dealt with this. We bought our house in March 2023 and a major flood event hit our neighborhood in fall 2024. The county made us an offer under a FEMA hazard mitigation buyout program and we accepted — closed in February 2025. So we owned and lived there for right around 23 months, not the 24 the IRS normally requires. I know the full exclusion is off the table since we don't meet the two-year ownership and use test. But I've read that a partial exclusion might be available if the main reason for the sale was an "unforeseeable event." I can't tell if a government flood buyout qualifies, or how to actually calculate what fraction of the exclusion we'd get. We did receive a Form 1099-S. Anyone gone through this?

33 comments

A government-ordered or government-initiated buyout tied to a declared disaster can qualify as an "unforeseeable event" for the partial exclusion under Publication 523. The IRS specifically lists a natural or man-made disaster resulting in a casualty to your home as an example of an unforeseeable event that supports a partial exclusion. Because you received a Form 1099-S, you must report the sale on Form 8949 regardless of how much gain is excluded. That goes in Part II (long-term — inherited property aside, you held more than 12 months), check box F since the 1099-S triggered reporting. Use code H in column (f) and enter the excluded portion as a negative number in column (g). The taxable gain, if any, flows to Schedule D.

Chris B.

Author

Does the county buyout letter or the disaster declaration need to be attached to the return, or just kept in records?

The fraction of the exclusion you can take is based on the shorter of two periods: how long you owned and used the home as your main residence during the 5-year lookback, divided by 24 months. So 23 months of ownership and use out of 24 gives you 23/24 of the full exclusion amount. Publication 523 lays out that worksheet. Check it because it also asks whether you excluded gain on another home sold in the prior two-year period — that could reduce or eliminate eligibility entirely.

Chris B.

Author

We haven't sold any other home in the last two years, so that part should be fine.

Worth noting: the fraction applies to the full exclusion ceiling, not to your actual gain. So 23/24 of the full amount is your cap, and if your actual gain is under that cap, the full actual gain is excluded.

Went through a buyout situation (not flood, wildfire) a couple years back. The unforeseeable event path works but make sure the disaster was federally declared — that's what ties your situation cleanly to the IRS examples in Pub 523. Keep the county's written offer, any FEMA program documentation, and the HUD-1 or closing disclosure showing the sale date. You won't attach them to the return but you'll want them if the IRS ever asks.

Chris B.

Author

That's reassuring. The FEMA program involvement should be easy to document.

The unforeseeable event rule is the right path here, and Publication 523 at irs.gov walks through the partial exclusion steps. When I was sorting out a similar ownership-period issue last year I uploaded my closing docs and the buyout letter to taxr.ai and had it map out which of the Publication 523 eligibility steps I actually satisfied and which ones I still needed to document. Saved me a lot of back-and-forth with myself. The partial exclusion fraction and the Form 8949 reporting with code H are both covered there — the site pointed me to exactly what lines to fill in.

Chris B.

Author

Did Taxr flag anything about the 1099-S reporting that you wouldn't have caught on your own?

It caught that I had entered the proceeds in column (d) and left column (g) blank — the excluded gain has to go in column (g) as a negative number or the full proceeds look like taxable income. Small thing but it would have flagged an error.

One thing to sort out early: your basis. Buyout proceeds are the "amount realized" on Schedule D, but your adjusted basis includes what you paid plus any improvements you made in those 23 months. Any amount the county paid specifically for a structure that was already damaged in the flood may need to be treated separately as a casualty, not part of the home sale. That's a fact pattern worth going over carefully or running by a CPA if the numbers are significant.

Chris B.

Author

Are casualty payments and home sale proceeds usually broken out on the buyout closing statement, or do we have to request that from the county?

In most FEMA buyouts the entire payment is for the land and structure together as a voluntary sale — not separately identified as a casualty payment — so it typically all flows through the home sale. But if the county sent a separate check or issued a separate form for storm damage, that piece is different. Worth reading the closing disclosure line by line.

Just to flag: the two tests — ownership and use — both need to hit 24 months for the full exclusion. For a partial exclusion you need to have met both for some period, not necessarily the same 24 months (they just each need to be satisfied for at least some time during the 5-year lookback). Since you owned and lived there from March 2023 to February 2025 continuously, both tests are satisfied for the same 23-month period, which is fine.

Does the continuous-use requirement mean anything for a couple of months we were displaced by the flood before the sale closed?

Short-term displacement from your main home due to a casualty doesn't break the use requirement under Pub 523. You're still counted as using it as your main home during that period. The IRS looks at the overall pattern, not whether you were physically present every night.

Pub 523's partial exclusion section also covers the "change in place of employment" and "health" reasons, but for a flood buyout the unforeseeable event path is the strongest fit. The IRS examples include a home that becomes uninhabitable due to a natural disaster. I had a complicated situation last year where the county and FEMA payments overlapped and I wasn't sure how to split them on Form 8949. I had Taxr read through all my closing documents and it laid out each payment source, flagged which ones belonged in column (d) as proceeds, and drafted a summary I could hand to my CPA for the final review.

Chris B.

Author

That overlap between county and FEMA money is exactly what I'm worried about. Good to know there's a way to get it organized before handing it to a preparer.

Publication 551 is also worth a look for basis questions. If FEMA or your insurer paid you anything for the flood damage before the buyout, that could reduce your adjusted basis in the property — an insurance reimbursement for a casualty loss that you didn't spend on repairs lowers your basis. That in turn could increase your gain, which matters if even a partial exclusion leaves some taxable amount.

Chris B.

Author

We had a small insurance payout for interior damage that we mostly spent on repairs. Does money spent on repairs add back to basis?

Repairs don't add to basis — only permanent improvements do. So if the insurance money went to restore things to their original condition rather than to add something new, it doesn't increase your adjusted basis. A flooring replacement that restores is a repair; upgrading to new flooring that improves the property could be an improvement. The line matters here.

For the Form 8949 mechanics: proceeds in column (d), your adjusted basis in column (e), code H in column (f), and the excluded gain as a negative number in column (g). The result in column (h) is what actually flows to Schedule D line 10. If the exclusion wipes out the full gain, column (h) is zero or blank — you still have to file the row because you got a 1099-S.

Is the partial exclusion amount the same for a single filer vs. married filing jointly? Because the ceiling before you apply the fraction is different between those two statuses.

Yes, the full exclusion ceiling differs by filing status, and the fraction (your months divided by 24) applies to that status-specific ceiling. Publication 523 has the numbers. So the fraction stays the same regardless of status, but what you multiply it against depends on how you file.

Don't overlook the lookback rule: if you excluded gain on a different home sold within the two-year period before this sale, you're not eligible for the exclusion at all — not even the partial one. You mentioned you haven't, so you're clear, but it's the first thing to check under the Publication 523 eligibility test before spending time on the fraction.

One thing I'd double-check: Publication 523 says the sale needs to be of your "main home." If you had a second property or the flooded house was treated as a rental at any point during those 23 months, eligibility could be affected. Sounds like yours was clearly your primary residence the whole time, but the IRS looks at facts and circumstances if it's ever questioned.

Chris B.

Author

It was definitely our only home and primary residence the whole time. Never rented any part of it.

A detail that tripped me up: the holding period on Form 8949 for a home sold after more than 12 months is long-term, so Part II. But the box you check in Part II depends on whether the 1099-S reported basis to the IRS. Form 1099-S doesn't report basis — so technically basis isn't reported to the IRS from that form, which would point to box E or F depending on your read. The instructions say to use box F when you received a Form 1099-S, so go with box F in Part II.

That's consistent with what the 2025 Form 8949 instructions say — box F in Part II for a 1099-S sale. And code H with the excluded gain negative in column (g) handles the exclusion. The taxable remainder, if any, is what shows in column (h).

Also worth flagging: a section 1031 exchange in the prior 5 years would disqualify the home from the exclusion entirely. Pub 523 added that rule and it catches people. Since you bought this in 2023 as a straight purchase it shouldn't apply, but good to confirm.

If your gain after the partial exclusion is still large enough to leave taxable income, check whether the net investment income tax applies — that's a separate analysis from the regular capital gains rate and it doesn't go on Schedule D. The instructions for Form 8960 cover it. Mentioning it because buyout proceeds can sometimes be larger than expected relative to a purchase price from only 23 months earlier.

Chris B.

Author

Hadn't thought about that at all. We'll have our CPA run the numbers on Form 8960 too.

Pulling it all together for anyone finding this later: check the unforeseeable event path in Publication 523, calculate your fraction of qualifying months over 24, apply it to the ceiling for your filing status, report the sale on Form 8949 Part II box F with code H and the excluded gain as a negative in column (g), and document everything about the buyout and disaster declaration. If the numbers are significant or the county and FEMA payments are tangled, a CPA or enrolled agent is worth the consult.