< Back to IRS

Hannah Flores

How are capital gains taxed on home sale during divorce proceedings?

So I'm going through a divorce and we're selling our family home. I've owned this house with my soon-to-be ex for about 9 years. We bought it for $320,000 back in 2016 and the market in our area has gone crazy - we're expecting to sell for around $620,000. I'm trying to figure out how the capital gains tax will work in our situation. We lived in the house together until about 6 months ago when she moved out. I heard there's some kind of exemption for primary residences, but does the divorce complicate things? Will we each get our own exemption? And does the fact that she hasn't lived here for the past 6 months affect anything? I'm also wondering if we should finalize the divorce before or after the sale for tax purposes. The house is our biggest asset and we're trying to split everything fairly. Any advice is greatly appreciated as I'm completely lost navigating all this tax stuff on top of the emotional stress.

You've got a couple things working in your favor here. The primary residence exclusion allows you to exclude up to $250,000 of capital gains ($500,000 for married filing jointly) if you've owned and used the home as your main residence for at least 2 of the 5 years before the sale. Since you've been there 9 years, you easily meet that requirement. The fact that your soon-to-be ex moved out 6 months ago shouldn't be an issue for the exclusion. The IRS generally looks at the full 5-year period, not just the moment of sale. Both of you should qualify for the exclusion. As for timing the divorce versus the sale - if you sell while still married (filing jointly), you could potentially exclude up to $500,000 of gain. If you divorce first and sell later, you'd each get a $250,000 exclusion on your respective portions. From what you've shared, either way seems like you'd be covered since your expected gain is about $300,000 total ($620,000 - $320,000).

0 coins

But what if the divorce decree assigns ownership of the house to one spouse before the sale? Would that mean only one person gets to claim the capital gains exclusion? And would that create a "gift" tax situation for the spouse giving up their share?

0 coins

If the divorce decree transfers full ownership to one spouse before the sale, that can get more complicated. The spouse who gets the house would still qualify for their $250,000 exclusion (assuming they meet the residency requirements), but they'd be responsible for the full gain on the sale. As for gift tax concerns, transfers between spouses as part of a divorce settlement are generally not subject to gift tax. This falls under Section 1041 of the tax code, which treats these transfers as neither taxable gifts nor resulting in gain/loss recognition.

0 coins

I was in a similar situation last year and found this amazing tool called taxr.ai (https://taxr.ai) that really helped me figure out the capital gains exclusion during my divorce. I was super confused about how the whole thing worked with timing the sale vs. finalizing the divorce. The tool analyzed our specific situation and gave me a detailed breakdown of different scenarios and potential tax implications. It helped me understand that part of the capital gains exemption depends on whether you're still legally married at the end of the tax year when you sell the house. Their system asked questions about when we purchased, how much we paid including improvements, and our timeline for divorce finalization. Really helped me make an informed decision.

0 coins

How accurate was the information? Did it match up with what your accountant told you? I'm going through something similar but worried about relying on online tools for something this important.

0 coins

Does it take into account state-specific divorce laws? My lawyer mentioned that some states have different property division rules that could affect how capital gains are calculated.

0 coins

The information was surprisingly accurate - my accountant actually complimented how well I understood the situation when I brought him my report from taxr.ai. He made a few minor adjustments based on some recent updates to tax law, but the core analysis was spot on. Yes, it does take state-specific rules into account. You select your state during the initial setup, and it factors in things like community property vs. equitable distribution states. It won't replace legal advice for the divorce proceedings themselves, but it handles the tax implications of property transfers really well.

0 coins

Just wanted to follow up about that taxr.ai site someone mentioned. I was skeptical at first (like I mentioned in my question), but I decided to try it out for my situation. I'm so glad I did! It walked me through my specific divorce scenario with the house sale and showed me that in my case, we'd actually save about $12,000 in taxes by finalizing the divorce AFTER selling the house. The analysis it provided showed exactly how the capital gains exclusion would apply in each scenario and even factored in some home improvements we'd made that increased our cost basis. The documentation was clear enough that both our attorneys understood exactly what we were talking about. Definitely helped us make a more informed decision during an already stressful time.

0 coins

If you're trying to contact the IRS to get clarification on your specific divorce/home sale situation, good luck getting through to an actual person! I was in the same boat last year and spent HOURS on hold only to get disconnected. Finally found this service called Claimyr (https://claimyr.com) that got me through to a real IRS agent in less than 20 minutes when I'd been trying for weeks. They have this system that basically holds your place in line and calls you when an agent is about to pick up. You can see how it works here: https://youtu.be/_kiP6q8DX5c I had specific questions about how my divorce settlement affected my capital gains exclusion, and getting those answers directly from the IRS gave me so much peace of mind. They clarified that transfers between ex-spouses as part of a divorce are usually tax-free under Internal Revenue Code section 1041.

0 coins

Wait, are you seriously suggesting paying a service to call the IRS? That sounds like a scam. Couldn't you just keep calling yourself?

0 coins

How much does this cost? Seems weird to pay someone to make a phone call for you when you could just keep trying yourself.

0 coins

I understand the skepticism - I felt the same way at first! But it's not just "making a call for you" - they use technology to navigate the IRS phone system and hold your place in line. You only connect when an actual agent is about to pick up, which saved me literally hours of holding time. It's not free, but considering I had already wasted over 8 hours trying to get through on my own (while trying to work and deal with my divorce), the time savings was absolutely worth it. They don't list pricing on their site, but you can see exactly what you'll pay before committing to anything.

0 coins

I need to publicly eat my words from my earlier comment where I called Claimyr a potential scam. After struggling for THREE DAYS trying to get through to the IRS about my divorce/capital gains situation, I gave in and tried the service. Holy crap, it actually worked exactly as promised. I got a call back when an IRS agent was ready, and I finally got clear answers about how the timing of my home sale relative to my divorce would affect capital gains tax. For anyone dealing with this specific situation - the IRS agent confirmed that if you meet the ownership and use tests, a divorce doesn't disqualify you from using the capital gains exclusion, even if one spouse moves out before the sale. Turns out the capital gains exclusion rules have some special provisions for divorce situations that I never would have figured out otherwise. Definitely worth it.

0 coins

Don't forget to factor in any capital improvements you've made to the house during those 9 years! Things like a new roof, kitchen renovation, finishing a basement, etc. can all be added to your cost basis, which reduces your capital gain. My ex and I kept terrible records of our improvements and probably paid more tax than we needed to when we sold after our divorce.

0 coins

Good point about the improvements! We actually did a kitchen renovation about 4 years ago that cost around $45,000, and we replaced the HVAC system last year for about $12,000. I still have all the receipts. How exactly do I factor these in? Do I just add them to our original purchase price?

0 coins

Yes, exactly! You add the cost of those improvements to your original purchase price to determine your adjusted basis. So in your case, you'd take the $320,000 purchase price, add the $45,000 kitchen renovation and the $12,000 HVAC system, giving you an adjusted basis of $377,000. When you calculate your capital gain, you'd subtract this adjusted basis from your selling price: $620,000 - $377,000 = $243,000 capital gain. That's below the $250,000 individual exclusion and well below the $500,000 married filing jointly exclusion, so you might not owe any capital gains tax at all depending on your specific situation. Just make sure you have documentation for those improvements in case of an audit!

0 coins

Has anyone been through this situation in a community property state? I'm in California, and I'm not sure if that changes how the capital gains are divided. My lawyer keeps telling me it's different here.

0 coins

I went through this in Washington (also community property). The main difference is that in community property states, you each are considered to own 50% of the whole property rather than each owning a distinct share. But for the capital gains exclusion, it doesn't change much - you each can still claim up to $250k exclusion on your respective halves as long as you both meet the ownership and use tests. The divorce decree can allocate the asset differently than 50/50, but the default is equal division in community property states. Hope that helps!

0 coins

Thanks for explaining that! Makes more sense now. Did you have to file any special forms or documentation with your tax return when you claimed the exclusion after your divorce?

0 coins

Just wanted to add some reassurance based on your numbers - it looks like you're in a really good position tax-wise! With your original purchase price of $320,000 and expected sale of $620,000, your gain is $300,000. Even if you end up divorced and each claiming the $250,000 individual exclusion, you'd only have about $50,000 of taxable gain total to split between you. One thing I haven't seen mentioned yet - make sure you document which spouse lived in the house during what periods. The IRS requires that you used the home as your main residence for at least 2 of the 5 years before the sale. Since your ex moved out 6 months ago, she still easily meets this test, but keeping good records helps if there are ever questions. Also, don't forget about closing costs when you sell - those can be subtracted from your sale proceeds, which further reduces your taxable gain. Things like realtor commissions, title insurance, and transfer taxes all count. You're dealing with enough stress right now - at least the tax situation looks manageable!

0 coins

This is really helpful - thank you for breaking down the numbers so clearly! I hadn't thought about the closing costs being deductible too. We're expecting about $35,000 in realtor fees and other closing costs, so that would bring our taxable gain down even more. It's such a relief to hear that the tax situation might not be as complicated as I feared. Between the improvements we made and the closing costs, plus the capital gains exclusions, it sounds like we might not owe much (if anything) in capital gains tax. One less thing to stress about during this whole process!

0 coins

I'm going through something very similar right now and your post really resonated with me. One thing I learned from my tax attorney is that you should also consider whether either of you has used the capital gains exclusion on another property within the past 2 years. The IRS has a rule that you can only use the $250,000 (or $500,000 if married filing jointly) exclusion once every 2 years. Also, since you mentioned this is your biggest asset, make sure you coordinate with your divorce attorney about how the tax implications fit into your overall property settlement. Sometimes it makes sense for one spouse to take a slightly smaller share of other assets to account for any tax burden from the house sale. Given your numbers ($300k gain minus improvements and closing costs), you're likely looking at minimal or no capital gains tax regardless of when you finalize the divorce. But having that conversation with both your divorce attorney and a tax professional can help you optimize the overall settlement. Hang in there - it does get easier once all the paperwork is finalized!

0 coins

This is such great advice about the 2-year rule! I hadn't even thought about that. Fortunately, this is the first (and hopefully only) time either of us will be selling a primary residence, so we should be good on that front. Your point about coordinating with the divorce attorney is really smart too. We're still working out the details of our settlement agreement, and it makes sense to factor in any potential tax implications when dividing up our other assets. Even if the tax burden ends up being minimal, having that conversation upfront could save us headaches later. Thanks for the encouragement - some days it feels overwhelming trying to navigate all the legal, financial, and emotional aspects of this process simultaneously. It helps to hear from others who've been through it successfully.

0 coins

I'm so sorry you're going through this difficult time. Divorce is stressful enough without having to worry about tax implications too. Based on what you've shared, it sounds like you're in a pretty good position tax-wise, which should be one less thing to stress about. From the numbers you provided, your capital gain would be around $300,000 ($620,000 sale price minus $320,000 purchase price). But as others have mentioned, don't forget to add any qualifying home improvements to your cost basis - that kitchen reno and HVAC replacement you mentioned could reduce your taxable gain significantly. One thing I'd recommend is getting everything documented now while you still have access to all the records. Make copies of the original purchase documents, receipts for major improvements, and any other relevant paperwork. During my own divorce, things got scattered between lawyers and moving, and it was much harder to track everything down later. The good news is that with the capital gains exclusions available and the improvements you've made, you'll likely owe little to no capital gains tax regardless of whether you finalize the divorce before or after the sale. Focus on what makes the most sense for your overall settlement rather than just the tax implications. Wishing you the best through this process!

0 coins

Thank you for such a thoughtful and comprehensive response! Your advice about documenting everything now is spot-on - I can already see how easy it would be for important paperwork to get lost in the shuffle of everything else going on. I'm going to make copies of all our improvement receipts and purchase documents this weekend while I still have easy access to everything. It's really reassuring to hear from so many people that the tax situation likely won't be as complicated as I initially feared. Between the improvements we've made and the capital gains exclusions, it sounds like we should be in good shape regardless of the timing. That definitely takes some pressure off and lets us focus on what makes the most sense for the overall divorce settlement rather than trying to optimize just for taxes. I really appreciate everyone who took the time to share their experiences and knowledge - this community has been incredibly helpful during a really challenging time.

0 coins

IRS AI

Expert Assistant
Secure

Powered by Claimyr AI

T
I
+
20,132 users helped today