Mortgages in a 1031 Exchange: Boot, Debt Replacement, and Financing Rules

Mortgages add an important layer of complexity to 1031 exchanges: when the debt on your replacement property is less than the debt you left behind, the difference is taxable boot—even if you received no cash at closing.

1031 Exchange Mortgage Guide
Quick Answer In a 1031 exchange, if you carry a mortgage on the relinquished property and take on less (or no) mortgage on the replacement, the net debt relief is taxable boot. To defer all gain, the replacement property's purchase price must be at least equal to the relinquished property's selling price, and you must finance at least as much debt on the replacement as you had on the relinquished—or offset the difference with added cash.
IRS Rule Under Treasury Regulation §1.1031(b)-1(c), liabilities assumed by the other party—or liabilities to which the property is subject at the time of exchange—are treated as money received by the taxpayer. Net debt relief (when debt relieved exceeds debt assumed) is "mortgage boot" and is taxable to the extent of the realized gain under IRC §1031(b).

Understanding mortgage boot

Most investment property owners carry mortgages. When you sell a property in a 1031 exchange, the mortgage on that property is paid off at closing—you are "relieved" of that debt. Debt relief is economically similar to receiving cash: if someone pays off your $200,000 loan, you are $200,000 better off. The IRS treats net debt relief in a 1031 exchange as taxable boot, subject to tax to the extent of realized gain.

The key is net debt relief. What matters is the comparison between the debt on the relinquished property and the debt assumed on the replacement property:

No boot: Debt assumed on replacement ≥ debt relieved on relinquished. No mortgage boot arises.

Mortgage boot arises: Debt assumed on replacement < debt relieved on relinquished. The difference is mortgage boot—taxable up to the realized gain.

Mortgage boot can be offset dollar for dollar by adding cash to the exchange. So if you are relieved of $200,000 of debt and only assume $150,000 on the replacement, you can add $50,000 of cash to the exchange (by writing a check or financing the $50,000 gap some other way) to eliminate the $50,000 of mortgage boot.

The debt replacement rule in practice

To fully defer gain in a 1031 exchange, two conditions must both be met:

1. The replacement property price must equal or exceed the relinquished property's selling price. If your relinquished property sold for $500,000, your replacement must cost at least $500,000.

2. The total equity invested (exchange funds + added cash) plus debt assumed on the replacement must equal the replacement property's purchase price. There must be no leftover exchange funds returned to you, and net debt relief must be zero or you must add cash to offset any net debt relief.

Worked example: $200,000 mortgage must be replaced

An investor sells a rental property for $500,000. At the time of sale, the outstanding mortgage is $200,000. Net equity after mortgage payoff: $300,000, which the QI receives.

The investor wants to buy a $600,000 replacement property. To avoid all boot:

Required financing analysis:

Replacement property price: $600,000.
Exchange funds available from QI: $300,000.
Remaining amount to fund at closing: $300,000.
Mortgage on replacement property: must be at least $200,000 to replace the debt relieved.
Cash added by investor: $300,000 − $200,000 mortgage = $100,000 cash from investor's own pocket.

In this scenario: exchange funds ($300,000) + mortgage ($200,000) + investor cash ($100,000) = $600,000 replacement price. Debt relieved ($200,000) = debt assumed ($200,000). No mortgage boot. No cash boot. All gain is deferred.

What if the investor only takes a $100,000 mortgage? Then: debt relieved ($200,000) − debt assumed ($100,000) = $100,000 net debt relief = $100,000 of mortgage boot. This $100,000 is taxable to the extent of the realized gain, even though no cash was received. The investor would need to add an extra $100,000 of cash to eliminate this boot.

Common Mistake Many investors focus only on the total property price (making sure to "buy up") but forget about the debt replacement requirement. An investor who sells a $500,000 property with a $200,000 mortgage and buys a $550,000 replacement with no mortgage has received $200,000 of mortgage boot—even though they bought a more expensive property. Always analyze both the price and the debt structure.

Offsetting mortgage boot with cash

If your replacement property will carry less debt than the relinquished property, you can eliminate the resulting mortgage boot by adding cash to the exchange. The rules allow cash and debt to substitute for each other on the replacement side—adding $1 of cash offsets $1 of mortgage boot.

This is common in scenarios where an investor deliberately wants to reduce leverage in their portfolio. For example, if you have $200,000 of debt on the relinquished property and want to buy the replacement free and clear, you can use the $300,000 from the QI plus $200,000 of your own cash at closing. The $200,000 of mortgage boot is fully offset by the $200,000 of added cash. No boot, no current tax—the entire gain is deferred.

Note that the cash offset only works in one direction: cash added reduces mortgage boot, but you cannot use excess debt assumption to offset cash boot. If you receive $50,000 of cash boot, taking on an extra $50,000 of mortgage on the replacement does not eliminate that cash boot.

Refinancing near the exchange date: risks to know

Some investors consider cash-out refinancing the relinquished property before a 1031 exchange, hoping to extract equity tax-free while still using the remaining proceeds in the exchange. The IRS has scrutinized this strategy.

A refinance completed well in advance of the sale (months or years) and clearly not done in anticipation of a specific exchange is generally safe. The refinance proceeds are simply a loan—not a taxable event—and the exchange is treated separately. However, a refinance that is done immediately before a sale, particularly as part of a pre-planned exchange sequence, risks being collapsed into the exchange under the "step transaction" doctrine. If the IRS recharacterizes the refinance proceeds as boot received in the exchange, they become taxable.

The same concern applies to refinancing the replacement property immediately after the exchange closes. Treasury Regulation §1.1031(k)-1 does not explicitly prohibit post-exchange refinancing, but the IRS has in some cases challenged refinances done very shortly after an exchange where the investor clearly planned to extract equity all along.

Best practice: if you need equity access, discuss the timing and structure with a qualified tax advisor before proceeding.

Lender considerations for exchange properties

Financing a replacement property in a 1031 exchange works like any other investment property loan, but lenders who are unfamiliar with exchange mechanics may raise questions. Key points:

Buyer identification: During the exchange, the qualified intermediary is technically the buyer in exchange documents, though title vests directly in the taxpayer's name at closing. Lenders need to understand this and title should be taken in the same name/entity that sold the relinquished property.

Source of funds: Lenders will verify the source of the down payment, which will be the QI wire. The QI's closing statement and exchange agreement should be provided to document the source of funds.

Timeline pressure: The 180-day deadline is firm. If you are financing the replacement property, engage your lender as early as possible—underwriting delays can push closing past the deadline. Always plan for a closing at least two to three weeks before the 180-day limit to allow for unexpected delays.

Frequently asked questions

Does a mortgage on the relinquished property create boot in a 1031 exchange?

If the mortgage on your relinquished property is larger than the mortgage you take on the replacement property, the difference—net debt relief—is treated as mortgage boot and is taxable to the extent of realized gain. To avoid boot, take on at least as much debt on the replacement or add cash to offset the net debt relief.

Can you pay off debt boot with cash in a 1031 exchange?

Yes. Cash added to the exchange offsets mortgage boot dollar for dollar. If you are relieved of a $200,000 mortgage and only take a $150,000 mortgage on the replacement, you can add $50,000 of personal cash at closing to eliminate the $50,000 boot. This is called offsetting boot.

Can you refinance before a 1031 exchange?

Refinancing shortly before a 1031 exchange is risky and may be challenged by the IRS under the step-transaction doctrine—the IRS may treat the cash-out proceeds as boot received in the exchange. A refinance that closes well in advance of a planned sale is generally considered separate, but this is a gray area and the specific facts matter. Consult a tax advisor.

Do lenders treat 1031 exchange purchases differently?

Some lenders unfamiliar with 1031 exchange mechanics may have questions about the buyer being listed as the QI in exchange documents. Key points: title vests in the taxpayer's name at closing, and the QI's closing statement documents the source of down payment funds. Working with a lender experienced in investment property avoids delays.

Educational information and estimates only. Not tax advice. Tax rules change and vary by situation; consult a qualified tax professional before acting.

Related