Hypothetical worked example
Replacing debt with cash in a 1031 exchange
A replacement mortgage does not have to match the old mortgage dollar for dollar. This example uses outside cash instead of some new borrowing.
The 1031 Source · AI-assisted · Not professionally reviewed · Sources and review status
Assumptions before the math
Each example assumes a valid, timely QI-facilitated exchange of U.S. investment real property by the same taxpayer, unrelated parties, no personal-use portion or non-like-kind assets, no ordinary-income recapture, and no selling or purchase costs. Adjusted basis already reflects depreciation. These are gain-and-basis illustrations, not tax-return calculations; tax rates, NIIT, §1231 lookback, state adjustments, and actual closing costs are not modeled.
The numbers, step by step
Hypothetical figures in U.S. dollars; no transaction costs. A zero recognized-gain result below depends on all stated eligibility and recapture assumptions.
- Sale price
- $800,000
- Adjusted basis
- $300,000
- Old mortgage
- $300,000
- Replacement value
- $800,000
- New mortgage
- $200,000
- Additional cash
- $100,000
- Cash received
- $0
1. Realized gain
$800,000 sale − $300,000 adjusted basis
= $500,000
2. Exchange equity
$800,000 sale − $300,000 loan payoff
= $500,000
3. Equity reinvested
$500,000 equity − $0 cash received
= $500,000
4. Replacement funding
$500,000 reinvested + $200,000 new debt + $100,000 outside cash
= $800,000
5. Net debt relief
Greater of zero or $300,000 − $200,000 − $100,000
= $0
6. Total boot
$0 cash received + $0 net debt relief
= $0
7. Recognized gain
Smaller of $500,000 realized gain or $0 boot
= $0
8. Deferred gain
$500,000 realized − $0 recognized
= $500,000
9. Replacement basis
$800,000 replacement value − $500,000 deferred gain
= $300,000
Method: simplified IRS Form 8824 gain, boot, and basis framework; the numbered steps here are explanatory steps, not IRS form line numbers. Actual tax liability and depreciation schedules are not calculated.
Reconcile all three funding sources
The sale leaves $500,000 of exchange equity after the $300,000 loan payoff. The $800,000 replacement is funded with that $500,000, a $200,000 new loan, and $100,000 of additional investor cash. No cash is distributed to the investor.
The net-debt-relief calculation is $300,000 minus $200,000 minus $100,000, or zero. The simplified result defers the full $500,000 gain and leaves a $300,000 starting replacement basis. Adding cash does not erase the old deferred gain.
Additional cash must actually fund the exchange
This illustration assumes the cash is contributed to acquire the replacement, not used for unrelated expenses. Coordinate the funding and settlement statement with the QI and closing professional.
Compare this with the debt-relief example: the financing stays at $200,000, but the additional $100,000 of cash supports an $800,000 rather than $700,000 replacement. This is not a model for a cash-out refinance, circular distributions, or reimbursement of prior spending.