Form 8949 example filled out home sale — where do I enter the exclusion?

Trying to fill out a form 8949 example filled out home sale situation and I keep getting stuck on the exclusion part. Here's my setup: sold my main home in 2025, owned it for 6 years, lived there the whole time. I received a Form 1099-S from the closing, so I know I have to report the sale even though my gain is under the exclusion limit for a single filer. My tax software is asking me to open Form 8949 but the column layout is confusing me. I've read through the IRS instructions once but the part about code H and column (g) didn't click. I'm not sure which box to check at the top of Part II, what to enter in column (e) for basis, or how to enter the excluded gain in column (g). Do I just leave the taxable gain as zero on Schedule D after that?

36 comments

Part II is where home sales go because real property held more than a year is long-term. Since you got a Form 1099-S, check box F at the top of Part II — that's the box for long-term transactions not reported to you on Form 1099-B, which is the standard situation for a home reported on a 1099-S.

Wes L.

Author

Box F makes sense — my sale came on a 1099-S with just the gross proceeds, not on a 1099-B. So I check F and move forward from there.

Column (d) gets the gross proceeds from the 1099-S exactly as shown. Column (e) is your adjusted basis — what you paid plus closing costs when you bought, plus any capital improvements you made over the years. Don't forget to subtract any depreciation you took if you ever used part of the home for business.

Wes L.

Author

Depreciation — I did have a home office for two years. I need to look up what I actually claimed. That piece might reduce my basis, right?

Correct. Any depreciation you were allowed or allowable on the home office portion reduces your adjusted basis. Publication 551 on the IRS site walks through basis adjustments. The unrecaptured depreciation portion is also taxed differently, so worth tracking separately.

The key column for the exclusion is column (f) and column (g) together. Enter code H in column (f). Then in column (g) enter the excluded gain as a negative number — in parentheses as the instructions say. That reduces your gain to whatever is actually taxable, which in your case sounds like it'll be zero or close to it.

Wes L.

Author

So if my total gain is, say, below the full exclusion for a single filer, I'd put the entire gain in column (g) as a negative, and the number in column (h) ends up at zero?

Exactly. Column (h) is proceeds minus basis plus the column (g) adjustment. If the excluded amount fully offsets the gain, column (h) is zero. That zero flows to Schedule D line 10 but adds nothing to your taxable income.

Form 8949, Part II, box F — I filled this out last spring for my own home sale and uploaded the 1099-S and my closing disclosure to taxr.ai. It read both documents, matched the proceeds figure, identified the basis adjustments I had missed on the closing disclosure, and drafted the column-by-column entries for me to review. I still verified each line myself before entering it in my software, but it saved me from a wrong basis number. The IRS instructions for Form 8949 at irs.gov/instructions/i8949 are also worth bookmarking for the code H explanation.

Wes L.

Author

Good to know the closing disclosure has numbers I might be missing. I dug mine out and there are some items I hadn't counted in my basis. Will go through those carefully.

The settlement statement is underrated for basis. Title insurance you paid, transfer taxes, recording fees — all of that can add to your original cost basis and lower the eventual gain, though loan origination fees don't.

The 1099-S tripped me up the first time: it shows gross proceeds, but that is not the same as your gain. Your gain is proceeds minus your adjusted basis. Code H only excludes the gain, not the gross proceeds. Some people accidentally put the full proceeds in column (g) which is wrong.

Wes L.

Author

That's a really easy mistake to make reading fast. The negative in column (g) should equal my actual gain, not the sale price.

Right. If your gain is $80,000 and it's fully excludable, column (g) is ($80,000). Column (h) then shows zero. The gross proceeds in column (d) stay as reported on the 1099-S.

Worth double-checking the ownership and use test before you claim the full exclusion. You need 24 months of ownership and 24 months of use as your main home within the 5 years before the sale — the 24 months don't have to be consecutive. You said six years lived there, so you're clearly fine, but anyone reading this who moved sooner should check Publication 523 on the IRS site.

Publication 523 also covers partial exclusions if someone doesn't meet the full test — job change, health reason, or unforeseeable event. Worth a read even if you think you don't qualify for any exclusion.

Schedule D after you finish Form 8949: the zero from column (h) flows to Schedule D Part II line 10 (box F transactions). It adds nothing to the Schedule D totals, so your overall capital gain on line 15 of Schedule D is unaffected by the home sale. You still need to attach Form 8949 to your return.

Wes L.

Author

Line 10 on Schedule D — got it. I'll make sure Form 8949 is attached. My software says it auto-attaches but I want to double-check the PDF before I file.

If you had a home office, the depreciation recapture part of the gain is not excludable under the section 121 exclusion. The unrecaptured section 1250 gain from the home office portion has to be reported and taxed. That piece does not get code H treatment.

Wes L.

Author

Recapture on the home office worries me most. I need to figure out exactly how much depreciation I claimed on that home office over those two years.

Pull your old returns and find Schedule E or Form 8829 — that's where the home office depreciation was reported each year. Add up the amounts across all years you claimed it. That total is the recapture amount you can't exclude.

Form 8829 is what I ended up hunting for too. I had a similar home office situation and I uploaded several years of old returns to Taxr. It pulled every Form 8829 depreciation line in order, totaled the allowable depreciation, and listed which portion of my gain was subject to recapture versus which was excludable. Saved me from manually flipping through five years of PDFs.

Wes L.

Author

Form 8829 — I'll check each year I claimed the home office. Good idea to list them out in order so I don't miss a year.

Column (e), basis: don't forget what you paid in buyer's closing costs when you originally purchased — loan origination fees are generally not added to basis but title fees and certain other settlement costs are. Publication 551 on the IRS site has the full list of what counts.

Transfer taxes and recording fees on the purchase side are also basis. Easy to forget those if the closing disclosure is buried somewhere.

Exactly. Points paid by the seller on your behalf also reduce your basis, so read that closing disclosure both ways — purchase and sale.

Something I want to flag: if you ever did a section 1031 like-kind exchange to acquire this home in the past 5 years, the section 121 exclusion is not available. Sounds like that's not your situation, but worth confirming.

Wes L.

Author

No 1031 here, straightforward purchase. But good to know that would block the exclusion entirely.

The IRS page at irs.gov/publications/p523 lays out the reporting rules clearly: if you received a 1099-S, you must report the sale on Form 8949 even when the entire gain is excluded and no tax is owed. So don't skip the form just because you think you owe nothing.

Form 8949 requirement when a 1099-S is issued — this tripped up someone I know who assumed a zero-gain sale didn't need to be reported. Got a notice later.

One scenario that changes things: if you used your home for a vacation rental at any point and took depreciation on that rental use, the recapture rules apply to that portion too, same as the home office. The excludable gain calculation gets more complicated and might be worth taking to a CPA or enrolled agent if the numbers are large.

Wes L.

Author

No rental use, just the home office. I think I can handle the recapture piece once I dig up the old Form 8829 numbers.

Form 8949 column layout summary for anyone who lands here: (d) = gross proceeds from 1099-S, (e) = adjusted basis, (f) = H, (g) = excluded gain as negative in parentheses, (h) = taxable gain remaining. Part II, box F checked. Attach to return with Schedule D.

Wes L.

Author

That's the clearest walkthrough of the columns I've seen. Saving this for when I sit down to actually file.

Married filing jointly filers get a larger exclusion than single filers for the same test — only one spouse needs to meet the ownership requirement but both must meet the 24-month use requirement. For anyone reading who is joint filers, check Publication 523 for the ownership-versus-use distinction.

Stock holding periods run off the trade date — Publication 550 at irs.gov/publications/p550 confirms that in its holding period section — though for a home the closing date is what matters. The section 121 rules are in Publication 523. Keep both bookmarked if you have both stock and home sale transactions in the same year.