Home Sale Exclusion After a Divorce Transfer
When a home is transferred to one spouse in a divorce settlement, that spouse can count the other spouse’s prior years of ownership and use toward the IRS Section 121 principal residence exclusion. This means a person who never lived in a house can still exclude up to $250,000 of gain if their ex-spouse lived there for two of the past five years before the sale.
This article addresses the intersection of divorce property transfers and the principal residence exclusion under IRC Section 121. It does not cover state community property rules, which vary widely. Consult a tax advisor for transfers in community-property states (California, Texas, Arizona, etc.).
The Basic Rule: Tacking Ownership and Use
Section 121 of the Internal Revenue Code allows a taxpayer to exclude up to $250,000 of capital gains from the sale of a principal residence, provided the seller owned and lived in the home for at least two of the five years preceding the sale.
When a home is transferred from one spouse to another through a divorce, the transferee spouse can “tack”—count as their own—the prior owner-spouse’s period of ownership and use. This is a statutory courtesy to honor the marital relationship and prevent a windfall tax bill when property is divided in a dissolution.
Example:
- Alice and Bob buy a house together in 2015, both living there.
- They divorce in 2022; the decree awards the home to Alice alone.
- Alice sells the home in 2024 (7 years after purchase).
- Alice’s own use: 2 years (2022–2024).
- Bob’s use (tacked): 7 years (2015–2022).
- Combined ownership & use: far exceeds the 2-in-5 test.
- Alice excludes $250,000 of gain from the sale.
Without this rule, Alice—who only owned the home 2 years personally—might fail the ownership & use test if the divorce transfer delayed her acquisition date. The tacking rule prevents that trap.
Requirements for the Transfer
For tacking to apply, several conditions must be met:
The transfer must occur via a divorce decree or property settlement agreement. The IRS requires a formal legal instrument—a divorce judgment, stipulated agreement, or Qualified Domestic Relations Order (QDRO) if the home is part of a retirement-account division. Informal transfers or handshakes do not qualify.
The home must have been the principal residence of both spouses during marriage. If only the transferring spouse lived in the home, the non-resident spouse’s “ownership” alone does not create use. Both ownership and use must be proven.
The transfer must occur before or very close to the sale. The IRS permits tacking if the transfer is on or shortly before the sale, interpreted as within a few weeks. A divorce decree issued decades before a sale may not suffice; the property interest must be transferred while the connection to the marital use is still fresh and intentional.
Practical Implications
The rule creates a powerful advantage for the spouse receiving the home. Even if that spouse moves away after the divorce, they can sell years later and still exclude gain—as long as the combined ownership and use (including the ex’s) exceeds two years.
Conversely, the transferring spouse (the ex who owned it longest) loses the exclusion benefit for that home. They cannot later claim the exclusion if they sell it again. Each person is limited to one exclusion per two-year period. Once Alice uses the exclusion on a 2024 sale, she cannot exclude gain on another home sale until 2026.
The rule also protects the receiving spouse who never lived in the home. If Charlie and Diana divorce, Diana receives a vacation property in the settlement that she never inhabited, and she sells it a year later, she can still exclude gain if Charlie lived there for two of the five prior years. This is a direct consequence of tacking.
When Tacking Does Not Apply
Tacking applies only to property divided in divorce. If one spouse sells a home after a separation but before the divorce is final, or if the home remains in the transferring spouse’s name post-divorce, tacking may not be available. The IRS requires a clear transfer of title incident to the divorce decree.
Tacking also does not apply if the home was not the principal residence during marriage. If the property was a rental or investment property, and one spouse moves in post-divorce, that new residency is not tacked to the ex’s prior ownership. The purchaser must satisfy the ownership and use test based on their own occupancy.
If the spouses are still married at year-end, they may be able to file a joint return and claim the full $500,000 exclusion (if both meet the test). However, once the divorce is final, each spouse is limited to $250,000 individually. Timing of the sale relative to the divorce decree is therefore important.
Impact of Multiple Transfers
If a home was transferred between spouses more than once—for example, Wife owned it, transferred it to Husband during marriage, then they divorced and Husband transferred it back to Wife—the tacking analysis becomes complex. Generally, only the most recent transfer incident to divorce supports tacking.
Consult a tax advisor if a home has changed hands multiple times within the marital relationship or around a separation and divorce.
State Community Property Considerations
In community-property states (Arizona, California, Idaho, Louisiana, Nevada, New Mexico, Texas, Washington, Wisconsin), marital property is owned equally by both spouses. A divorce transfer is sometimes treated as merely formalizing title to what was already owned jointly, not creating a new ownership change.
The IRS and courts have held that in community-property states, tacking still applies because the couple held the property as joint owners during marriage, and the transfer merely clarifies individual title post-divorce. However, the analysis can be state-specific. Common-law states (most others) treat the transfer as a true conveyance, and tacking is more straightforward.
Estate Planning and Inherited Homes
If a home is inherited rather than transferred via divorce, different rules apply. An heir receives a “stepped-up basis” at the deceased’s death, and the principal residence exclusion generally does not apply to inherited property. The tacking rule in Section 121 is specific to marital transfers and does not extend to estates.
See also
Closely related
- Long-Term Capital Gain Tax (Investor) — The tax rate that the Section 121 exclusion avoids
- Cost Basis (Investor) — The starting point for calculating gain on a home sale
- Depreciation Recapture (Investor) — How depreciation taken on rental properties reduces exclusion eligibility
- Tax Lot — How individual securities (and home segments, if applicable) are tracked for tax purposes
- Form 8949 — Schedule used to report the sale and the exclusion claim
Wider context
- Estate Tax — Broader rules for property transferred at death vs. during life
- Real Estate Cycle — Market context for home holding periods and sale timing
- Residential Real Estate — Overview of home taxation and owner-occupancy benefits
- Marginal Tax Rate (Investor) — How the exclusion reduces the taxpayer’s marginal rate on the gain