Section 121 Exclusion Married Filing Jointly, Explained
TL;DR: Married couples can exclude up to $500,000 on a home sale — but the ownership and use tests aren't identical for both spouses. Here's the nuance.
_Last reviewed: July 2026 · 4 min read_
If you're married and selling a primary residence, the honest answer is: you can exclude up to $500,000 of gain from federal tax if both spouses meet the "use" test (2 of 5 years lived in the home), at least one spouse meets the "ownership" test (2 of 5 years on the deed), and neither has claimed the exclusion on another sale in the past 2 years.
That's it. Okoniq Property Hub keeps the ownership dates, marriage dates, and improvement records that back the claim. Here's each requirement in plain language.
Do both spouses have to be on the deed?
No — and this trips up a lot of couples. Only one spouse needs to meet the ownership test. If the house was originally in one spouse's name from before the marriage and was never re-titled, the couple can still claim the full $500,000 exclusion, provided the other requirements are met.
The use test, however, applies to both spouses. Both must have lived in the home as their principal residence for at least 24 months of the 5 years before sale. See the general Section 121 rules for any home sale for the basic framework this builds on.
Does the 2-year rule mean 24 consecutive months?
No. The 24 months can be any combination — a total, not a streak. A couple who lived in the home for 18 months, moved out for a year for a job, and came back for another 8 months would still meet the 24-month test.
The 24 months also do not have to overlap with the ownership months. One spouse could have owned the home for 3 years while both lived there for 2 — that's fine.
What if one spouse dies before the sale?
There's a special surviving-spouse rule: if you sell within 2 years of your spouse's death and you haven't remarried, you can still claim the full $500,000 exclusion (not $250,000), as long as the couple would have qualified had the sale happened before the death.
Additionally, the deceased spouse's share of the home typically gets a stepped-up basis to fair-market value at date of death — which often reduces taxable gain further. Our stepped-up basis explained with a real example walks through the numbers.
What about a divorce?
A few things change:
- If the home is transferred between spouses as part of the divorce, the transfer itself isn't a taxable event and the receiving spouse takes the other's basis.
- If one spouse continues to live in the home under a divorce decree while the other has moved out, the non-resident spouse can still count the resident spouse's occupancy toward their use test.
- Once divorced, each ex-spouse falls back to the $250,000 single-filer cap on future sales.
Keep ownership and filing records together
The Section 121 election is only as good as your paperwork: deed history, marriage certificate, dates you actually lived in the home, and receipts for improvements that raise basis. Okoniq Property Hub stores those alongside every other homeowner record so a sale doesn't become a scavenger hunt. See also the Taxes & Accounting hub and the IRS Publication 523 worked examples.
Frequently asked questions
Do both spouses have to have lived there together?
Yes. Both spouses must have used the home as their principal residence for at least 24 of the last 60 months, but those months don't have to be at the same time.
Can we take a $250K exclusion each and get $500K anyway?
Not on the same home. Section 121 gives you either $250K (single or MFJ with one qualifying spouse) or $500K (MFJ with both qualifying). You can't stack two $250K exclusions on one property.
If we sold a previous home last year, can we do it again this year?
No. The exclusion has a 2-year lookback: neither spouse can have claimed Section 121 in the 2 years before the current sale. This prevents flipping.
Not tax advice. Marriage, divorce, and death interact with Section 121 in ways that reward careful timing — confirm specifics with a licensed CPA before closing. Okoniq Property Hub helps homeowners keep the paperwork straight. Get started free.
FAQ
Can I claim the $500,000 exclusion if only my spouse is on the deed?
Yes. Only one spouse needs to meet the 2-year ownership test, but both must meet the 2-year use test. If your spouse owned the home before marriage and you both lived there together for at least 24 months, you qualify for the full $500,000 exclusion.
What happens to the Section 121 exclusion if my spouse and I separate but aren't divorced yet?
If you're still legally married when you sell, you can file jointly and claim the $500,000 exclusion if both meet the use test and one meets ownership. Once divorced, each person reverts to the $250,000 single-filer cap on future sales.
How long after my spouse dies can I still use the $500,000 exclusion?
You have 2 years from your spouse's death to sell and claim the full $500,000 exclusion, as long as you haven't remarried and the couple would have qualified before the death. After 2 years or if you remarry, you drop to the $250,000 single exclusion.
Do the 24 months I lived in the home have to be the same 24 months my spouse owned it?
No. The ownership and use periods don't need to overlap. One spouse can own the home for 3 years while both lived there for a different 2-year stretch within the 5-year lookback window.
A snapshot, not a living document
This article reflects the rules as we understood them on the review date shown above. We do not revise posts after publishing them. Tax law changes every year — thresholds, percentages, and deadlines here may since have been superseded, even though this page still comes up in search. Check the current figure on IRS.gov.
Keep reading
Get tax-season tips by email
Deduction checklists and filing-deadline guides for homeowners and landlords. No schedule, no spam — unsubscribe anytime.
Prefer to dive in? Get started free →