Do married couples pay capital gains tax when selling their primary home?

We're closing on our house next month and our realtor mentioned something about a capital gains exclusion for married couples. We bought the place about 8 years ago and lived here the whole time, so I assumed we'd be fine, but now I'm second-guessing everything. We'll clear a decent profit. I tried reading through some IRS pages but couldn't find a clear yes or no on whether married couples pay capital gains tax when selling primary home or if the exclusion just wipes it all out. Do we report anything at all if our gain is under the exclusion limit? And does it matter that we're filing jointly? We didn't receive a Form 1099-S from the title company.

28 comments

Publication 523 at irs.gov covers this exactly. For a married couple filing jointly, you can exclude up to $500,000 of gain on your main home if you meet the ownership and use tests. The ownership test requires at least one spouse to have owned the home for 24 months of the 5 years before the sale. The use test requires both spouses to have lived in it as a main residence for at least 24 months of that same 5-year window, though the 24 months don't need to be consecutive.

Omar G.

Author

We both lived there the full 8 years so we definitely meet the use test. And we're filing jointly this year. That's reassuring.

Also worth knowing: you can't have excluded gain from another home sale in the 2-year period before this sale. If you haven't sold another home recently, that condition won't be an issue for you.

Form 1099-S is key here. If the title company didn't issue one, and your gain falls entirely within the exclusion, you don't need to report the sale on your return at all. But if a Form 1099-S was issued, you're required to report it on Form 8949 even if every dollar of gain is excluded, with code H and the excluded amount entered as a negative in column (g).

Omar G.

Author

We didn't get a 1099-S, so it sounds like we may not need to report anything. Good to know the code H rule exists though in case anything changes before closing.

Yes, that's right. The IRS instructions for Form 8949 spell out the code H adjustment specifically for the main home exclusion. No 1099-S and gain under the limit means no entry needed.

Before we filed last year we were in a similar spot and I uploaded our closing disclosure and Schedule D draft to taxr.ai. It read through both documents, confirmed our gain calculation against the exclusion, and flagged that we hadn't answered the 1099-S question correctly on our worksheet. Saved us from filing something we didn't need to. For the actual exclusion math, Publication 523 has a worksheet that walks through basis adjustments step by step.

Omar G.

Author

A second look like that is something I want before we close. I'll look at Publication 523 and probably run our numbers through Taxr as well.

One thing to sort out before you celebrate: basis matters a lot here. Your gain isn't just sale price minus what you paid. You subtract selling costs, and you add to your basis any capital improvements you made over the years. Upgraded the kitchen, added a deck, replaced the roof? Those increase your basis and reduce your gain. Keep the receipts.

Omar G.

Author

We did a full kitchen remodel and added a bathroom. I have most of the contractor invoices. Those go into basis, right?

Yes. Capital improvements that add value or extend the useful life of the home get added to your original purchase price plus closing costs to give you your adjusted basis. Routine repairs don't count.

Schedule D is where capital gains ultimately land, but if your gain is fully excluded and there's no Form 1099-S, Schedule D won't have an entry for this sale either. You'd only use Form 8949 and Schedule D if you're reporting the sale at all.

What if the gain is bigger than the exclusion? Does the couple pay regular income tax on the excess or is it at capital gains rates?

Capital gains rates apply to the amount over the exclusion, not ordinary income rates, since the home was held more than a year. The specific rate depends on your taxable income for the year. The Schedule D instructions cover the rate structure.

Got it, so it's long-term capital gains treatment on whatever spills over. That's better than I expected.

The holding period rule for real estate: if you've held it more than 1 year, any taxable gain is long-term. Publication 550 says the holding period starts the day after you acquired the property and the day you sell is included. Eight years is clearly long-term, so even if you had taxable gain above the exclusion, you'd get long-term rates.

Form 8949 confused me when I sold my place two years ago because I wasn't sure which box to check or whether to even file it. I uploaded the closing statement and the draft 8949 to Taxr and it walked me through what each column was asking for and confirmed I didn't need to file it at all given my situation. For anyone who does have to file, Part II box F is what applies when the sale came with a Form 1099-S, long-term with no basis reported to the IRS.

Omar G.

Author

No, we didn't get a 1099-S, so Part II box F doesn't apply to us. But I'll keep that in mind just in case the title company sends something before year end.

Section 1031 exchange note for anyone reading this later: if you acquired your home through a like-kind exchange within the past 5 years, the main home exclusion is not available to you. That's in Publication 523. Doesn't sound like it applies here but it trips people up.

Does the exclusion amount get prorated at all if you only owned it for, say, 3 years instead of 5?

Only if you're claiming a partial exclusion based on a qualifying reason like a job relocation, health issue, or unforeseen circumstance. If you just chose to sell early and don't meet the 24-month tests, you don't get the full exclusion. Publication 523 covers partial exclusion eligibility in detail.

Okay so it's not automatic, you have to have a qualifying reason. That's a meaningful distinction.

Worth pointing out: a home acquired through a 1031 exchange and later used as a primary residence isn't eligible for the exclusion if the 1031 happened within the 5 years before the sale. That rule catches people who convert a rental to a primary home.

Schedule D line 1a and 8a can hold certain transactions that don't require Form 8949 entries under Exception 1, but main home exclusions reported on Form 1099-S don't qualify for that shortcut. If you're filing 8949 for the home sale, it needs its own line.

Correct. Exception 1 only covers covered securities with basis reported and no adjustments needed. The home sale exclusion always involves an adjustment in column (g), so it stays on Form 8949.

The Schedule D instructions are probably the fastest overview of how holding periods and capital gains rates interact, while Topic 409 on irs.gov covers the loss limit and carryover. Pairs well with Publication 523 for the home-sale-specific rules.

To pull it together for the original question: married couple filing jointly, lived in the home for 8 years, no Form 1099-S received. If the gain is within the exclusion amount for a joint filer, no tax owed and no return entry needed. If somehow the gain exceeded the exclusion, the excess would be reported on Form 8949 Part II and flow to Schedule D as long-term capital gain. The adjusted basis calculation is the most important step before you assume you're under the limit.

Omar G.

Author

This sums it up well. I'm going to calculate our adjusted basis carefully with the improvement receipts, verify we're under the exclusion, and confirm we didn't get a 1099-S from the settlement. If those all check out, it sounds like we're good without any special filing.