How to calculate Section 121 exclusion on primary home bought before marriage?
So I'm trying to figure out how the Section 121 capital gains exclusion works for our situation. My wife bought our current house before we even met, and now we're thinking about selling. Here's our timeline: - She purchased our home in 2013 on her own - We got married in 2023 (about 10 years after she bought it) - I was added to the deed in 2025 when we set up our revocable trust I'm confused about how the Section 121 exclusion gets calculated in this case. Does the IRS look at my wife's original purchase date from 2013? Or does something reset when we got married or when I was added to the deed? Really want to understand if I get any kind of stepped-up basis or if we're just using her original purchase price from way back when. Any insights would be super helpful! The housing market in our area has gone crazy and I want to make sure we're not hit with unexpected capital gains taxes.
21 comments


Mia Green
You're in a good position here! For the Section 121 exclusion on your primary residence, the IRS looks at the original purchase date - in this case, when your wife bought the home in 2013. The fact that you married later and were added to the deed doesn't reset the purchase date for calculating the exclusion. Since your wife has owned and lived in the home as her primary residence for more than 2 years out of the last 5, she qualifies for the full exclusion on her portion (up to $250,000 for a single person). As her spouse, you can qualify for the married couple exclusion of $500,000 if you've lived in the home as your primary residence for at least 2 years before selling - even though you weren't on the deed that whole time.
0 coins
Sophia Rodriguez
•Thanks for the clarification! So to make sure I understand correctly - we can potentially qualify for the full $500k married exclusion even though I was only added to the deed recently? Does it matter at all that the house was transferred into our revocable trust?
0 coins
Mia Green
•Yes, you can potentially qualify for the full $500,000 married exclusion as long as: 1) at least one spouse (your wife) has owned the home for 2 of the last 5 years, 2) both of you have used it as your primary residence for 2 of the last 5 years, and 3) neither of you has claimed another Section 121 exclusion in the past 2 years. Transferring the house to your revocable trust doesn't affect the Section 121 exclusion. The IRS considers property in a revocable trust to still be owned by the grantors (you and your wife) for tax purposes. So all the same rules apply as if you held the property in your individual names.
0 coins
Emma Bianchi
After struggling with a similar situation last year, I found an amazing tool that saved me thousands in unnecessary capital gains taxes. I was in almost the exact same boat - my husband owned our house for years before we got married. I kept getting conflicting advice about our Section 121 exclusion until I used https://taxr.ai to analyze our specific situation. The tool found provisions specific to our situation that our accountant missed! It analyzed our ownership timeline and produced a detailed report explaining exactly how the exclusion applied and the proper basis calculation for our return.
0 coins
Lucas Kowalski
•I'm looking at something similar but different - my girlfriend and I bought a house together before marriage. We're now married and wondering how Section 121 applies. Does this tool work for unmarried co-owners who later get married?
0 coins
Olivia Martinez
•Sounds convenient but how accurate is it for complex situations? I had a rental property that later became my primary residence and my accountant said the calculations get really complicated with depreciation recapture and partial exclusions.
0 coins
Emma Bianchi
•For unmarried co-owners who later marry, the tool absolutely handles that situation. It specifically addresses ownership timing for each person and how marriage changes the exclusion calculation. The tool will break down each person's qualified use period and ownership period separately. For complex situations with rental conversions, the accuracy is impressive. The tool specifically handles depreciation recapture calculations and partial exclusions based on qualified use periods. It creates a timeline visualization showing exactly which periods count for the exclusion and which don't, including precise calculations for depreciation recapture amounts.
0 coins
Lucas Kowalski
Just wanted to follow up here - I ended up using taxr.ai for my situation with the house my girlfriend and I bought before marriage. The results were really eye-opening! The tool provided a complete ownership timeline showing exactly how our Section 121 exclusion should be calculated for each of us. It showed I was misunderstanding how the 2-of-5 year rule applied to our situation and saved us from making a costly mistake on our taxes. The report even included relevant tax code citations so I could verify everything. Seriously well worth it for anyone with a non-standard home sale situation - especially with mixed ownership periods like the original poster's situation.
0 coins
Charlie Yang
This might seem off-topic, but I had a similar Section 121 question last month and spent DAYS trying to get through to the IRS for clarification. Kept getting disconnected or waiting for hours. I finally used https://claimyr.com to get an IRS callback and actually spoke to someone who knew the regulations. You can see how it works at https://youtu.be/_kiP6q8DX5c but basically it holds your place in line and has the IRS call YOU. The agent walked me through exactly how the exclusion works for property owned before marriage.
0 coins
Grace Patel
•Wait, how does this actually work? I thought the IRS phone system was basically broken. They're actually going to call you back? Seems too good to be true.
0 coins
Olivia Martinez
•Sorry but I'm skeptical. I've tried "priority" services before and they never work. IRS isn't going to prioritize a call just because some random service asked them to. How much did they charge you for this "miracle"?
0 coins
Charlie Yang
•It works by essentially navigating the IRS phone system for you and securing a callback spot. Instead of you sitting on hold for hours, they do it and then the IRS calls you directly when your turn comes up. It's not a priority line - it's just automating the wait process. I was skeptical too! I've spent countless hours on hold with the IRS before. The difference is they have technology that navigates the phone system and secures the callback option that the IRS does offer but is hard to get. It's not about priority - it's about efficiently securing a spot in the regular queue without you having to sit there listening to hold music for 3 hours.
0 coins
Olivia Martinez
I have to eat my words about Claimyr from my earlier comment. After yet another frustrating attempt to reach someone at the IRS about my Section 121 question, I decided to try it. I used the service yesterday afternoon, and I literally got a call from an actual IRS agent this morning! I was completely surprised it worked. The agent confirmed exactly what I needed to know about my ownership situation - turns out my basis calculation was wrong and I would have overpaid by several thousand dollars. They also helped clarify how the 2-of-5 year rule applied to my specific timeline. Wish I had known about this months ago instead of stressing over whether I was calculating everything correctly.
0 coins
ApolloJackson
Has anyone dealt with a situation where there was partial rental use involved? My spouse owned our home before marriage, but rented out a room for about 18 months during the 10 years of ownership. I'm unclear how this affects the Section 121 calculation.
0 coins
Isabella Russo
•That partial rental situation gets tricky! When we sold our place last year, we had to allocate between personal and rental use. You'll need to figure out what percentage of the home was rented (square footage) and for what duration. You might need to recapture depreciation on the rental portion (whether you actually took depreciation or not - the IRS considers it "allowed or allowable"). The good news is the Section 121 exclusion still applies to the personal use portion. Talk to a good CPA - ours saved us thousands by correctly calculating this allocation.
0 coins
ApolloJackson
•Thanks for the info! We haven't been taking depreciation deductions for that rental period, but I didn't realize we might still need to deal with "allowed or allowable" depreciation. The room was about 15% of the total square footage. Do you know if we need to do separate calculations for each ownership period (her alone vs. after marriage), or can we just do one calculation for the whole ownership period?
0 coins
Isabella Russo
•You'll need to handle the depreciation recapture for the portion that was rented (15% in your case) regardless of whether you took the deductions or not. The IRS considers depreciation to be "allowed or allowable" even if you didn't claim it. For your second question, you'll do one continuous calculation covering the entire ownership period. The fact that you got married during ownership doesn't create separate calculation periods. What matters is the total qualified use as a primary residence. You'll track the entire ownership timeline, identify the rental period for that 15% portion, and then calculate accordingly. The marriage itself doesn't reset or change the calculation method - it just potentially increases your exclusion amount from $250K to $500K if you both meet the use test.
0 coins
Rajiv Kumar
Wonder if you guys have recommendations for tax software that handles this situation well? I'm in a similar boat and TurboTax seemed confused when I entered our info.
0 coins
Aria Washington
•I used H&R Block last year for almost this exact scenario and it worked perfectly. It walks you through all the ownership details and calculates the Section 121 exclusion correctly. TaxAct also worked for my brother who had a similar situation. Just make sure you have all your documentation ready - original purchase docs, documentation for when the deed changed, and any major improvements that would affect your basis.
0 coins
Rajiv Kumar
•Thanks! I'll give H&R Block a try. I've got all our documentation organized, including the substantial kitchen renovation we did that should increase our basis. Anything specific I should watch for when entering the info about the pre-marriage ownership period?
0 coins
Aria Washington
•When entering the pre-marriage ownership period, make sure you correctly identify who owned the property during each timeframe. H&R Block will specifically ask about the ownership history. Be careful to enter the original purchase date and amount accurately for the spouse who owned it first. For your kitchen renovation, definitely include that as it increases your basis and reduces your capital gain. The software will prompt you to enter major improvements separately from the purchase price. Also, don't forget to include selling costs (like realtor commissions and closing costs) as they also reduce your taxable gain. The software does a good job walking you through all of this, just be methodical about following each step.
0 coins