The short answer
Full deferral requires three targets to be met at the replacement closing: buy real estate worth at least your net sale price (contract price less allowable exchange expenses), reinvest every dollar the intermediary holds, and replace the debt paid off at your sale with new debt or cash from outside the exchange. Cash you keep and net debt you shed are boot, and §1031(b) taxes gain up to the smaller of the boot or your realized gain. The netting runs one way: cash you add offsets debt you drop, but extra debt never offsets cash you take.
At a glance
| Gain recognized | The smaller of boot received or realized gain (§1031(b); Form 8824 line 20) |
|---|---|
| Debt relief | Liabilities the buyer assumes or pays off are money received (Reg. §1.1031(d)-2) |
| Netting rule | Cash paid offsets liabilities relieved; liabilities assumed never offset cash received |
| Exchange expenses | Commissions, transfer taxes and title fees reduce line 15 and are added on line 18 |
| Example targets | $940,000 value, $540,000 cash and $400,000 debt on a $1,000,000 sale with a $400,000 loan |
Three tests at one closing: price, cash and debt must all clear
The regulations never say 'equal or up'; they say gain is recognized to the extent of money and other property received, and that liabilities you are relieved of count as money (Reg. §1.1031(b)-1(c) and §1.1031(d)-2). The three tests are the working translation, and Asset Preservation, Legal 1031 and IPX1031 all state them the same way: value at or above the relinquished value net of costs, all net equity reinvested, and debt replaced or offset with cash.
Passing the value test alone is not enough, because you can buy a bigger building with a much bigger loan and still walk away with cash, and that cash is taxed. Passing the cash test alone is not enough either, because shedding debt is money received even when no dollar reaches you.
The realized gain caps the damage: with a $540,000 gain, boot of $700,000 taxes only $540,000, and Form 8824 line 20 records the smaller of line 15 (boot) and line 19 (realized gain).
Worked example: a $1,000,000 sale with a $400,000 loan sets targets of $940,000, $540,000 and $400,000
Hypothetical: contract price $1,000,000, mortgage payoff $400,000, commissions, transfer tax and title fees of $60,000, adjusted basis $400,000. The intermediary receives $540,000, the realized gain is $540,000 after expenses ($1,000,000 less $60,000 less $400,000), and the exchange expenses reduce the boot computation on Form 8824 line 15 while being added to basis on line 18.
Targets for full deferral: replacement real estate of at least $940,000, all $540,000 of intermediary cash into it, and at least $400,000 of new debt or the same amount of cash from outside the exchange. Any replacement that clears all three recognizes no gain; each scenario below fails a different test.
- Scenario A, a $1,000,000 purchase with a $460,000 loan and the $540,000 of exchange cash: all three targets met, no boot.
- Scenario B, a $900,000 purchase with a $360,000 loan and all $540,000 of cash: value short by $40,000 and debt short by $40,000, so $40,000 of net debt relief is boot and $40,000 of gain is recognized.
- Scenario C, a $1,100,000 purchase with a $700,000 loan and only $400,000 of exchange cash: value and debt tests are exceeded, but $140,000 comes back from the intermediary and is taxed, because extra debt does not offset cash.
- Scenario D, a $940,000 purchase for cash using the $540,000 plus $400,000 of your own money: no loan and no boot, because your cash replaced the debt.
- Scenario E, a $700,000 all-cash purchase using the $540,000 plus $160,000 of your own money: value short by $240,000, so the $400,000 of debt relief is offset only by the $160,000 you added and $240,000 of gain is recognized.
Debt can be replaced with cash, but cash cannot be replaced with debt
Reg. §1.1031(d)-2 Example 2 is the source of the asymmetry: consideration given as cash is offset against consideration received as an assumption of liabilities, so paying in outside money cures a smaller loan. Liabilities you take on are offset only against liabilities you are relieved of, never against cash you receive, which is why Scenario C taxes $140,000 even though the new loan is $300,000 larger than the old one.
The same principle makes a seller-carried note from your buyer, an earnest money refund to your personal account, or a lender's cash-out at the replacement closing into boot: each puts cash in your hands that debt cannot absorb. Whether a bigger replacement loan offsets cash you keep and carrying a note for your buyer take up the two common versions.
Reducing debt is a strategy rather than a mistake when you fund the reduction with cash; deleveraging safely with a 1031 shows how to size the outside money.
Closing a gap to the dollar with DST slices
A single direct purchase rarely lands exactly on three targets, and a DST interest can absorb the remainder because it is sold in fractional amounts and carries a fixed share of the trust's loan; DST minimums and sizing explains the mechanics and DST like-kind status the qualification.
Continue the example with a direct purchase of $850,000 using a $350,000 loan and $500,000 of exchange cash, which leaves $40,000 in the intermediary's account, a $90,000 value gap and a $50,000 debt gap. A hypothetical zero-cash-flow DST at 80% loan-to-value turns the $40,000 into $200,000 of property with $160,000 of allocated debt, lifting the totals to $1,050,000 of value and $510,000 of debt, and the exchange is fully deferred.
The same $40,000 in a hypothetical 50% loan-to-value DST buys $80,000 of property with $40,000 of debt, leaving the value $10,000 short and the debt $10,000 short, and $10,000 of gain is recognized. Each trust's loan-to-value is disclosed in its offering documents, so pick the slice by the gap it must close; cash-out DSTs and zero-cash-flow structures cover the high-leverage version.
Exchange expenses that lower the targets, and costs that do not
Reg. §1.1031(k)-1(g)(7)(ii) disregards transactional items that appear on a typical closing statement as the buyer's or seller's responsibility, such as commissions, prorated taxes, recording or transfer taxes and title company fees, and the Form 8824 instructions let those exchange expenses reduce line 15. Paying them from exchange funds does not create boot, and they lower the net sale price you must match.
Loan costs, prorated rents, security deposits and tax escrows are not exchange expenses, so paying them from intermediary funds is cash received. Which closing costs can be paid from exchange funds, loan fees and points and security deposits and prorations list the treatment item by item.
Personal property that is incidental to the real estate, up to 15% of the replacement's value, is disregarded for the safe-harbor test under paragraph (g)(7)(iii) but is still other property received and is taxed under §1031(b).
Sizing mistakes that create boot nobody planned
Run the three targets on paper before the sale contract is signed, then again when the replacement contract is drafted, and have your CPA confirm the Form 8824 figures; the pre-sale checklist has the worksheet. When some boot is intended, the intentional boot strategy shows how to take it cleanly.
- Matching the gross price rather than the net price, which overstates the target by the exchange expenses, or matching the gain rather than the proceeds, which understates it by your basis.
- Forgetting the debt test when a low-rate loan is paid off and the replacement is bought with less financing.
- Letting the replacement lender fund more than the purchase requires, so that exchange cash is left over at closing.
- Buying furniture, equipment or a business with exchange funds, when only real property counts toward the targets.
- Refinancing the relinquished property shortly before the sale, which can be recharacterized as cash boot; see refinance timing.
- Identifying properties whose combined price cannot reach the value target, which leaves no path to full deferral after day 45.
Related questions
Do I have to reinvest the whole sale price or just my gain?
The whole net sale price, plus replacement of the debt; reinvesting only the gain leaves your basis coming back as cash, which is boot up to the gain. Reinvest the whole price or just the gain has the short version.
Can I add my own cash to buy a larger replacement?
Yes, and added cash both raises the value you can buy and offsets any debt reduction; it enters the replacement's basis under §1031(d).
Do closing costs on the replacement purchase count toward the value target?
Transactional costs on the purchase are exchange expenses that can be paid with intermediary funds without creating boot; the value test is measured by the price of the real property itself.
If I buy two replacements, do the tests apply to each one?
No, to the totals: combined value, combined cash invested and combined debt across every replacement closed by day 180.
Sources
Checked against these publications on September 19, 2026. Rules and figures change; confirm the current version with your CPA or attorney before you act. This page is general information, not tax or legal advice.
- 26 U.S.C. §1031(b) and (d) (Cornell LII)
- Treas. Reg. §1.1031(b)-1 (receipt of other property or money; liability offset)
- Treas. Reg. §1.1031(d)-2 (treatment of assumption of liabilities, Examples 1 and 2)
- Treas. Reg. §1.1031(k)-1(g)(7) (transactional items and incidental personal property)
- IRS Instructions for Form 8824 (lines 15, 18, 19, 20 and 25)
- Asset Preservation, Inc.: The Exchange Equation
- Legal 1031: Balancing the exchange
- IPX1031: Top 1031 misconceptions for 2026
