Form 8949 code H — where exactly does it go and what number do I put in column (g)?

Sold my main home this past spring and I know most of the gain is excluded under the ownership and use tests. My closing agent filed a Form 1099-S so I know I have to report this even though I owe nothing. I've been reading the Form 8949 instructions and I see that code H is involved, but I'm confused about two things: which Part and which box do I check, and what exactly goes into column (g)? Do I enter the excluded gain as a positive or a negative? I tried entering it as a positive and my tax software showed a huge taxable gain which is obviously wrong. Already verified I meet the ownership and use tests — owned and lived there well over 24 months. No 1031 exchange involved.

41 comments

Did you get a Form 1099-S from the closing agent, or did they just mention they filed one? Because the reporting path is a little different if you never actually received it yourself.

Claire L.

Author

Yes, I have the actual Form 1099-S in hand. The gross proceeds are listed on it.

Went through this last year. I uploaded my 1099-S and my closing disclosure to taxr.ai and it identified every line I needed — which Part, which box, what code, and what number to enter in column (g) as a negative. Saved me a lot of second-guessing. For the rule itself: since you received a Form 1099-S, the instructions for Form 8949 say the sale goes in Part II, box F checked, with code H in column (f), and the excluded gain entered as a negative number (in parentheses) in column (g).

Claire L.

Author

That matches what I was hoping to hear. So the negative in column (g) is what offsets the proceeds and brings the taxable gain down to zero or whatever is left?

Yes, exactly. The adjustment in column (g) reduces the gain. If your entire gain is excluded, the net in column (h) ends up at zero or close to it.

Is Part II right here even if you owned the home only a couple of years? I thought long-term needed more than a year.

The holding period rule still applies — more than 1 year is long-term, 1 year or less is short-term. If you owned it over 24 months as the poster said, that's well into Part II territory. The home exclusion itself requires at least 24 months of ownership and use, so if you qualify for the exclusion you almost certainly belong in Part II.

Claire L.

Author

Owned it about 6 years so definitely long-term. Part II makes sense.

What column (d) amount do you enter — the gross proceeds from the 1099-S or what you actually netted after closing costs?

The instructions say to enter the proceeds shown on the 1099-S in column (d). Closing costs and selling expenses affect your gain calculation separately — they adjust your basis or reduce your realized amount on your own worksheet, but column (d) reflects what the form shows.

Does box F mean basis was not reported to the IRS? I always mix up which box goes with which situation for home sales.

For Form 8949, Part II: box D is for 1099-B transactions with basis reported to the IRS, box E is basis not reported, and box F is for transactions where there is no Form 1099-B at all. A main home sold at a gain that must be reported goes in Part II with box F checked — that's what the 1099-S situation calls for, per the Form 8949 instructions.

Ah right, 1099-S is not a 1099-B so no basis reporting to the IRS. That makes sense.

Could a home sale with the exclusion ever land in Part I instead?

Only if you had a short-term holding period — meaning you owned it 1 year or less. In practice that is extremely rare with a home sale exclusion because the exclusion itself requires 24 months of ownership. A partial exclusion for a qualifying reason could theoretically apply to a shorter-held property, but the main full exclusion won't apply to anything short-term.

Last year I had the same 1099-S situation and was unsure how to compute the excluded gain number for column (g). I ran my numbers and my closing disclosure through Taxr and it built out the full gain calculation — proceeds minus basis minus selling costs — then formatted the column (g) entry as a negative for me to review. Really useful for getting the parentheses right. The rule is that only the gain actually eligible for exclusion goes in column (g) as a negative; if any gain is taxable it still flows to Schedule D.

Claire L.

Author

How did you determine your basis for the calculation? I improved the home a few times and I want to make sure I'm adding those in correctly.

Basis is purchase price plus closing costs at acquisition plus the cost of permanent improvements. Publication 551 covers basis of assets in detail. Each improvement you can document adds to your basis and reduces your realized gain.

Wait — if the entire gain is excluded and the column (h) result is zero, do you still have to send Form 8949 and Schedule D?

Yes. Because you received a Form 1099-S, the instructions say you must report the sale on Form 8949 even if you have no taxable gain. The form flows to Schedule D as usual. Skipping it when you have a 1099-S in hand is not the right move.

Good to know. I assumed a zero-gain situation meant no reporting required, but the 1099-S changes that.

Does the excluded gain in column (g) have to exactly match the computed exclusion, or can you round?

The IRS generally rounds to the nearest dollar on tax forms, same as everywhere else on a return. Your column (g) number should be the exact excluded gain rounded to the nearest dollar, entered as a negative (in parentheses).

What if only part of the gain is excluded — say you had a partial exclusion because the sale was for a job change? Does code H still apply, and how does column (g) work then?

Code H still applies. You enter the portion of the gain that qualifies for the partial exclusion as a negative number in column (g). Whatever gain remains above the partial exclusion amount flows through column (h) as a taxable long-term gain on Schedule D. Publication 523 covers partial exclusion eligibility — a qualifying reason like a workplace location change can support a reduced exclusion.

So the taxable remainder just shows up in column (h) and carries to Schedule D line 10 automatically?

Yes, that's the flow, except box F totals land on Schedule D line 10, not 8a. Column (h) is what lands on Schedule D, and from there it's treated as any other long-term capital gain.

Can you use the Exception 1 shortcut for home sales and put this straight on Schedule D line 8a instead of filling out Form 8949?

No. Exception 1 applies only to transactions where basis was reported to the IRS and there are no adjustments needed. A home sale with code H requires an adjustment in column (g), so it cannot use that shortcut — it goes on Form 8949.

Is the exclusion amount limited? I sold a property with a large gain and I want to know if any of it is definitely taxable before I even start.

The exclusion has a cap that depends on your filing status. The amount and how it's calculated are in Publication 523 — check that page for the specific figures that apply to your situation, since the answer differs for single filers versus married filing jointly.

Noted, I'll pull up Publication 523 at irs.gov. I want to make sure I'm not assuming a full exclusion when part of my gain is taxable.

What about depreciation recapture if you ever rented part of the home? Does code H cover that too?

No. Depreciation taken or allowable on the home-use or rental portion is not eligible for the home sale exclusion. That gain is recaptured as ordinary income or as unrecaptured section 1250 gain and does not get code H treatment. If you had any rental use, the gain calculation becomes more complex and a CPA or enrolled agent familiar with mixed-use properties would be worth consulting.

Yeah I had a rental room for two years so I'll need to look into this more carefully. Thanks for flagging it.

Just to make sure I follow — after all of this, the final number in column (h) on Form 8949 flows directly to Schedule D Part II, and from there to Form 1040. Is there anything extra to attach?

The Form 8949 goes with your return and Schedule D summarizes it. No separate statement is required just because you used code H. If you had a large gain above the exclusion, Schedule D would show the taxable amount and it carries to Form 1040. Keep your documentation — closing disclosures, improvement records — in case the IRS asks.

Does any of this change if the 1099-S had an incorrect proceeds amount?

The instructions say to always enter the proceeds shown on the 1099-S in column (d). If the amount is wrong, you'd need to work with the closing agent to get a corrected form. Using a number different from what the IRS received on the 1099-S without explanation can create a mismatch notice.

Pulling this together for the poster: Part II, box F, code H in column (f), excluded gain as a negative in column (g), remaining taxable gain if any in column (h), flows to Schedule D. That's the whole path.

Claire L.

Author

Yes, that's exactly the summary I needed. I had the code right but was entering it as a positive — that's why my software showed phantom taxable income. Switching it to a negative in parentheses fixed it immediately.