Do I pay capital gains tax on a divorce home buyout?

Going through a divorce and my spouse and I agreed I would buy out their half of the house so I can keep it. We've owned it together for six years, lived in it the whole time. The house has gone up a lot in value since we bought it. My attorney said to just wire the money and it's done, but she didn't say anything about taxes. I'm trying to figure out do I pay capital gains tax on a divorce home buyout — meaning does my spouse owe tax when I buy them out, do I owe something now, or does the tax hit come later when I eventually sell? I've been reading around and I'm seeing mentions of Section 1041 and the main home exclusion but I'm not sure how they connect to my situation. Neither of us has an accountant and I'd rather not go in blind.

33 comments

Went through this two years ago. The short answer is that the transfer itself between spouses — including a buyout — is generally not a taxable event under Section 1041 of the tax code, as long as it's incident to the divorce. So your spouse doesn't owe capital gains tax when you buy them out. The tax question really moves to you, the person keeping the house, and when you eventually sell it.

Andre J.

Author

That's what I was hoping to hear about the transfer itself. So I'm not creating a taxable event for my spouse right now?

Correct, not on the transfer. The issue shifts to you: your spouse's basis carries over to their half, which affects your total basis and what you might owe when you sell later.

I uploaded my deed, the settlement agreement, and my original closing disclosure to taxr.ai and it mapped out the basis I'd carry on the full property after the buyout — including which portion came from my original purchase and which came from my spouse's transferred share. That document breakdown saved me a lot of confusion before I talked to my CPA. The Section 1041 carryover basis piece is easy to get wrong if you're just reading around.

Andre J.

Author

Did it flag anything about the exclusion limits or was that a separate conversation with your CPA?

It actually pulled out the ownership and use test requirements from Publication 523 and listed where I stood on each. The CPA confirmed it was laid out right. The exclusion question was the most important thing for me to understand before that meeting.

Worth clarifying the basis carryover point because it matters a lot down the road. When you receive your spouse's half under Section 1041, you take their adjusted basis in that half — not the fair market value at the time of the buyout. So if you paid them $200k for their share but their basis in that share was $80k, your basis for that half is $80k, not $200k. Your total basis in the house becomes your original half-basis plus their carried-over half-basis.

My divorce finalized last year and I kept the house. What people don't always mention is that the main home exclusion can still apply when you eventually sell, but the ownership and use tests have some nuances for divorced people. Publication 523 at irs.gov covers a situation where a spouse is granted use of the home under a divorce instrument — the owner spouse can count the other spouse's time living there toward the use test. Worth reading carefully if that applies to you.

Andre J.

Author

We both lived there the whole time we owned it so I think the use test is fine for me. My bigger question is whether the exclusion amount changes once I own the whole thing solo.

No, the exclusion amount doesn't change because you own the full property now. What matters is your filing status in the year you sell and whether you meet the ownership and use requirements at that point. Publication 523 walks through the exact eligibility test.

Before my settlement closed I had Taxr read through the draft agreement and both closing statements side by side. It flagged that the way the buyout was worded could affect how the basis allocation was documented, and it drafted a summary I could hand to my attorney to clarify the language. Useful for catching things that fall between the legal and tax sides of a divorce.

Andre J.

Author

That's exactly the kind of thing I'm worried about — the legal doc says one thing and the tax treatment assumes another. Good to know that's something you can check before it's signed.

Section 1041 covers transfers between spouses and former spouses if the transfer is incident to the divorce, which generally means within a year of when the marriage ends, or related to the divorce under a written instrument. If your buyout is happening while the divorce is still pending, you're almost certainly covered. If it somehow drags years past the divorce decree with no written instrument tying it back, that's where it gets complicated.

Andre J.

Author

Ours is happening as part of the settlement, so we have it in writing. Good to know the written instrument matters.

Yes, keeping that settlement agreement is important. It's what ties the transfer back to the divorce for Section 1041 purposes.

The capital gains question people really need to plan for is the sale down the road. When you eventually sell as a single filer, the main home exclusion is up to $250,000 of gain. For a married couple it's up to $500,000. If the house has appreciated a lot and you're now the sole owner filing single, the gap between your carryover basis and the sale price could exceed what you can exclude. Worth knowing before you agree to keep the house.

This is the part that can really blindside people. The tax cost of keeping the house over selling it now isn't always obvious until you do the math on the basis and what you'd net after exclusion.

Andre J.

Author

This is what I was trying to get at. The house has gone up significantly and I'm going to need to actually run the numbers on what I'd owe if I sold in five or ten years as a single filer.

I want to push back gently on one thing I've seen in this thread. Someone mentioned the exclusion amount — just to be precise, the figures in Publication 523 are what govern, and your filing status and whether you meet the ownership and use tests in the year of sale are what determine which limit applies. A remarriage before you sell, for example, could change things. Don't lock in assumptions now about a sale years away.

Practically speaking, the most important document you can have after this buyout is a clear record of your adjusted basis: what you paid originally, any improvements, any depreciation if you ever used part of the home for business, and then the carryover from your spouse's half. I'd put it all in a folder now while you have the closing docs in front of you. Finding that stuff after the fact is a headache.

Andre J.

Author

Good point. I still have the original closing disclosure and we've done some renovations. I should document those improvement costs now.

Yes, keep the contractor invoices and permits. Those additions to basis reduce your taxable gain when you sell. A lot of people forget about improvements made years earlier.

Does the state matter here too? I know the federal side is covered by Section 1041 but I'm in a community property state and I've heard that can interact weirdly with basis.

Yes, state law can matter, especially in community property states, because how the property was characterized during the marriage affects basis. The federal carryover basis rule still applies to the transfer itself, but the basis you're carrying over depends on how the property was held. This is one where a CPA familiar with your state's rules is worth it.

I sold the house the year after my divorce finalized rather than buying out my ex. For me the math worked out better — we both met the use and ownership tests, each of our shares of the gain was under the $250,000 exclusion we could each claim filing single the year we sold, and we each walked away with cash. Not saying that's the right call for everyone but it's worth running both scenarios.

Worth noting: if you ever rent out the house or use part of it as a home office after the buyout, that changes your basis calculation and can reduce your exclusion when you sell. Depreciation taken or allowed reduces your basis. Something to track if your living situation changes down the road.

Andre J.

Author

I hadn't thought about that angle. I have no plans to rent it but good to file away in case things change.

To anyone reading who is considering the buyout: get the basis documentation in writing as part of the settlement. The settlement agreement can and probably should state the agreed basis each spouse is carrying so there's no dispute later. I didn't do this and had to reconstruct it from old records.

Yes, this is underrated advice. The agreement itself can memorialize the basis figures so both parties are on the same page and you have a record if the IRS ever asks.

The IRS topic page tc409 at irs.gov covers capital gains and losses generally, and Publication 523 covers the home sale rules specifically. For the basis carryover mechanics on the divorce transfer, Publication 551 on basis of assets is the one to have bookmarked. The three together cover most of what you need to understand your position before you close.

Andre J.

Author

Thank you — I'm going to read through 523 and 551 this weekend before we finalize anything. Really appreciate everyone spelling this out.

One thing I want to correct from earlier in the thread: a few comments implied the exclusion amount is fixed regardless of situation, but Publication 523 also describes a partial exclusion for people who don't fully meet the ownership or use tests if the main reason for the sale was a change in workplace, a health issue, or an unforeseeable event. It's a narrower situation but it exists, so don't assume you get zero exclusion just because you haven't met the full two-year tests.

Honestly the biggest practical takeaway from this thread for anyone in the same spot: the buyout itself under Section 1041 is not a taxable event for your spouse, but your carryover basis and your single-filer exclusion limit are both things you need to model before you commit to keeping the house. The numbers can look very different ten years from now than they do today.