Situations

Selling a house during a divorce

Applies to United States and Canada

By Sell My House Fast Editorial Team

Published Updated Last reviewed

Checked by our editorial process. How we write and check our guides.

The short answer

In the United States and Canada, a house can be sold during a divorce when the spouses agree or a court orders it, under the law where they live. The CFPB says a divorce decree does not change who owes the mortgage: a lender can still collect from anyone named as a borrower until a release or refinance removes them.

Key takeaways

  • Who keeps or sells the home, and whether a court order is needed, depends on the law of the state or province where the couple lives.
  • Removing a name from the title, or sending the lender the divorce decree, does not end a borrower's responsibility for the mortgage, according to the CFPB.
  • Under US federal law, a transfer of the home to a spouse, or to a former spouse incident to the divorce, generally produces no taxable gain or loss.
  • In Canada, a transfer of the home to a former spouse in settlement of rights from the marriage is deferred for tax unless the transferor elects otherwise, if both are resident in Canada.
  • A sale during a divorce moves at the pace the spouses' agreement or the court sets, so this guide gives no typical time.

Who decides whether the house is sold in a divorce?

The spouses decide by agreement, or a court decides for them. The rules on who keeps the home, whether it must be sold and how the proceeds are divided depend on the law of the state or province where the couple lives. This guide states no state’s or province’s family law except the Texas and Ontario rules on who must sign.

A divorce decree or property settlement can assign the home and its debts to one spouse, the Consumer Financial Protection Bureau (CFPB) says, but that does not change the lender’s rights. 1 In the United States, a couple who sells a jointly owned home each report their share of any gain, and the IRS says that share is set by the state’s law on property ownership. 2

A lawyer licensed in the state or province, or in Quebec a lawyer or notary, can explain what the family law there allows.

Do both spouses have to sign to sell the house?

It depends on where the house is. Two examples show how the law can require the other spouse’s signature, even when only one spouse owns the home.

Texas. Under the Texas Family Code, neither spouse may sell, convey or encumber the homestead without the joinder of the other spouse, except as that chapter or other rules of law provide. The rule applies whether the homestead is one spouse’s separate property or community property. 3

Ontario. Ontario’s Family Law Act bars a spouse from selling an interest in a matrimonial home unless the other spouse joins in the document or consents. The exceptions include a separation agreement in which the other spouse released those rights, and a court order that authorizes the sale or releases the property from that part of the Act. A matrimonial home is a property in which a spouse has an interest and that the spouses ordinarily occupy as their family residence, or occupied that way when they separated. In this part of the Act, a spouse is a person who is married, or who in good faith entered a marriage that is void or voidable. 4

Other states and provinces have their own rules.

Who owes the mortgage after a divorce?

Anyone named as a borrower, until the lender releases them or the loan is refinanced without them. The CFPB says a divorce decree or property settlement may allocate debts to one spouse, but a creditor can still collect from anyone whose name appears as a borrower. While state laws vary, a former spouse is generally responsible unless the creditor contractually released them or the other spouse refinanced the loan and removed their name. 1

Two steps that do not end the responsibility, according to the CFPB: taking a name off the home’s title, and sending the lender a copy of the divorce decree. 1

In a sale, as the CFPB describes it, the mortgage is paid in full from the sale price, the costs of selling are paid, and the sellers keep what remains. 15 The guide to selling a house with a mortgage explains the payoff, and the guide to net proceeds shows what is left to divide.

In the United States

When one spouse keeps the house in the United States

Federal law limits the lender here. For a home with fewer than five dwelling units, a lender may not use a due-on-sale clause to call the loan due because of a transfer under a divorce decree, legal separation agreement or property settlement by which the borrower’s spouse becomes an owner. 5

The spouse who receives the home that way is a “successor in interest” under Regulation X. Once the servicer confirms that spouse’s identity and ownership, the spouse is treated as a borrower for the federal servicing rules, without having to assume the loan first. Whether that spouse owes the debt under the loan contract is a question of state law. Several of these rules do not apply to small servicers or to reverse mortgages, and the procedures on early intervention, continuity of contact and loss mitigation apply only to a loan on a borrower’s principal residence. 6 7

How does US federal tax treat the house in a divorce?

In the United States

A transfer between spouses is not taxed when it happens. Under 26 U.S.C. § 1041, no gain or loss is recognized on a transfer of property to a spouse, or to a former spouse if the transfer is incident to the divorce. A transfer is incident to the divorce if it occurs within 1 year after the marriage ends or is related to the end of the marriage. The rule does not apply when the spouse receiving the property is a nonresident alien. 8

The IRS treats a transfer as related to the end of the marriage when it is made under the divorce or separation instrument and occurs within 6 years after the marriage ends. The IRS adds that the transfer may have to be reported on a gift tax return. 2

The spouse who receives the home takes the other spouse’s adjusted basis in it, which counts when the home is later sold. 8

Selling the house during or after the divorce

A gain on a sale to a buyer falls under the home-sale exclusion rules. A single filer can exclude up to $250,00016 of gain on a main home, and a married couple filing jointly up to $500,00017, when the ownership and residence tests are met. 9

Two federal rules help a spouse who has moved out or received the home from the other spouse. 10

  • A spouse who moved out. An owner is treated as using the home as a principal residence during any period of ownership while the spouse or former spouse is granted use of the home under a divorce or separation instrument.
  • A spouse who received the home. The period the transferring spouse owned the home counts toward the receiving spouse’s ownership. The receiving spouse must still meet the residence requirement on their own, IRS Publication 523 adds. 9

The guide to capital gains tax on a home sale explains the exclusion in full. What is owed in a particular case is a question for a tax professional: a CPA, an enrolled agent or a tax attorney.

How does Canadian tax treat the house in a separation?

In Canada

A transfer to a former spouse is deferred for tax. Section 73 of the Income Tax Act covers capital property transferred to a spouse or common-law partner, or to a former spouse or common-law partner in settlement of rights arising out of the marriage or partnership. That property is deemed to be sold at its adjusted cost base, unless it is depreciable property, for which the Act sets a different amount. The receiving spouse takes the property at that amount. The rule applies when both are resident in Canada, unless the transferring spouse elects on their return that it not apply. 11

The principal residence exemption is limited to one home per family unit for each year after 1981. The CRA says a spouse or common-law partner is not part of the family unit for a year when, throughout that year, they lived apart and were separated under a judicial separation or written separation agreement. 12 The guide to the principal residence exemption explains the designation.

A gain on a home owned for less than 365 consecutive days14 is deemed to be business income, not a capital gain. The Income Tax Act lists events that take a sale outside the rule. One is the breakdown of a marriage or common-law partnership where the seller has been living separate and apart from the spouse or partner for at least 90 days before the sale. 14

What tax is owed in a particular case is a question for a tax professional, such as a chartered professional accountant (CPA) or a tax lawyer.

How long does selling a house during a divorce take?

This guide gives no typical time, because the timetable depends on three things.

  1. Agreement or an order. The spouses agree to sell, or a court orders it under the law where they live.
  2. The sale. Once both sides are ready to sign, the sale follows the same steps as any other. The guides to selling with a real estate agent and selling to a cash home buyer set out what each route costs and how long it takes.
  3. Dividing the proceeds. The mortgage and the costs of selling are paid from the price, and what remains is divided as the agreement or the order provides.

A spouse who is behind on the mortgage while the divorce is under way has other options to weigh. The guide to selling a house before foreclosure covers them.

Frequently asked questions

Can the lender still come after me for the mortgage if the divorce decree gave the house to my ex?

It can, while that spouse is still named as a borrower. The CFPB says a decree or property settlement may assign the debt to one spouse, but a creditor can still collect from anyone named as a borrower. A former spouse is generally responsible unless the lender released them in a contract or the other spouse refinanced and removed their name, though state laws vary. A divorce lawyer can explain what a particular decree means.

In the US, is it taxed when one spouse buys out the other's share of the house?

Generally not at the time. Federal law recognizes no gain or loss on a transfer of property to a spouse, or to a former spouse when the transfer is incident to the divorce. The spouse who keeps the home takes over the other's adjusted basis, which matters when the home is later sold. The rule does not apply when the receiving spouse is a nonresident alien.

In the US, can I still use the home-sale exclusion if I moved out and my ex lives in the house?

Moving out does not by itself rule it out. Federal law treats an owner as using the home as a principal residence during any period of ownership while a spouse or former spouse is granted use of it under a divorce or separation instrument. The other conditions of the exclusion, such as the ownership test and the limit of one exclusion in 2 years, still apply.

In Canada, can the spouse who transfers the home choose not to defer the tax?

The Income Tax Act lets the spouse who transfers the property elect, on their return for the year of the transfer, that the deferral in section 73 not apply. Without that election, a transfer to a former spouse in settlement of rights arising out of the marriage, with both resident in Canada, is deemed to take place at the adjusted cost base. Whether an election suits a particular case is a question for a tax professional.

After we separate in Canada, can each of us claim our own home as a principal residence?

For years after 1981, only one home per family unit can be designated. The CRA's folio says a spouse or common-law partner is not part of the family unit for a year when, throughout that year, they lived apart and were separated under a judicial separation or written separation agreement. Whether that applies in a particular year is a question for a tax professional.

How each selling option fits this situation

Each rating is a general one, with the reason for it. Whether an option suits a particular sale depends on facts this page cannot know.

  • Offers the house to the open market, which tests the price both spouses share. Both owners usually sign the listing and the sale, so it moves at the pace the spouses or the court set.

  • A buyer who pays without a mortgage brings no lender steps, which can fit a date in a settlement. One buyer's offer has not been tested against others, and both spouses bear that price.

  • Saves a listing commission, but the spouses must agree on the price, the showings and the paperwork between themselves.

Sources

The documents this page relies on, in the order they are first used, with the date each was last checked.

  1. Can a debt collector contact me about a debt after a divorce?. Consumer Financial Protection Bureau. Primary source. Checked .
  2. Publication 504 (2025), Divorced or Separated Individuals. Internal Revenue Service. IRS Publication 504. Primary source. Checked .
  3. Texas Family Code § 5.001, Sale, Conveyance, or Encumbrance of Homestead. Texas Legislature. Tex. Fam. Code § 5.001. Primary source. Checked .
  4. Family Law Act, R.S.O. 1990, c. F.3. Government of Ontario, e-Laws. R.S.O. 1990, c. F.3. Primary source. Checked .
  5. 12 U.S.C. § 1701j-3, Preemption of due-on-sale prohibitions. Office of the Law Revision Counsel, U.S. House of Representatives. 12 U.S.C. § 1701j-3. Primary source. Checked .
  6. 12 CFR § 1024.31, Definitions (Regulation X). Consumer Financial Protection Bureau. 12 CFR § 1024.31. Primary source. Checked .
  7. 12 CFR § 1024.30, Scope (Regulation X). Consumer Financial Protection Bureau. 12 CFR § 1024.30. Primary source. Checked .
  8. 26 U.S.C. § 1041, Transfers of property between spouses or incident to divorce. Office of the Law Revision Counsel, U.S. House of Representatives. 26 U.S.C. § 1041. Primary source. Checked .
  9. Publication 523 (2025), Selling Your Home. Internal Revenue Service. IRS Publication 523. Primary source. Checked .
  10. 26 U.S.C. § 121, Exclusion of gain from sale of principal residence. Office of the Law Revision Counsel, U.S. House of Representatives. 26 U.S.C. § 121. Primary source. Checked .
  11. Income Tax Act, section 73 (inter vivos transfers by individuals). Department of Justice Canada, Justice Laws Website. Income Tax Act, R.S.C. 1985, c. 1 (5th Supp.), s. 73. Primary source. Checked .
  12. Income Tax Folio S1-F3-C2, Principal Residence. Canada Revenue Agency. Income Tax Folio S1-F3-C2. Primary source. Checked .
  13. Principal residence. Canada Revenue Agency. Primary source. Checked .
  14. Income Tax Act, section 12 (flipped property, subsections 12(12) to (14)). Department of Justice Canada, Justice Laws Website. Income Tax Act, R.S.C. 1985, c. 1 (5th Supp.), s. 12(12)-(14); Income Tax Act, s. 12(12), (13). Primary source. Checked .
  15. Avoid foreclosure. Consumer Financial Protection Bureau. Primary source. Checked .
  16. Internal Revenue Code, 26 U.S.C. § 121. 26 U.S.C. § 121(a), (b)(1). Primary source. Checked .
  17. Internal Revenue Code, 26 U.S.C. § 121. 26 U.S.C. § 121(b)(2)(A). Primary source. Checked .

Please note

General information, not legal, tax or financial advice

This page describes the rules in general terms as they stood on November 16, 2026. It does not apply them to your circumstances, and the rules can change. For a decision about your own sale, speak to a lawyer licensed in the state or province where the property is, a qualified tax professional, or a licensed financial adviser. Read the full disclaimer.

Key facts

Applies to
United States and Canada
Last reviewed
November 16, 2026
Sources cited
17
Listed above, each with the date it was last checked.

Get connected with a local investor

Not sure which route fits?

Choose where the property is and what best describes your situation. On the next page you can ask to be put in touch with a local real estate investor, who may contact you about buying your home.