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. 1. Realized gain

    $800,000 sale − $300,000 adjusted basis

    = $500,000

  2. 2. Exchange equity

    $800,000 sale − $300,000 loan payoff

    = $500,000

  3. 3. Equity reinvested

    $500,000 equity − $0 cash received

    = $500,000

  4. 4. Replacement funding

    $500,000 reinvested + $200,000 new debt + $100,000 outside cash

    = $800,000

  5. 5. Net debt relief

    Greater of zero or $300,000 − $200,000 − $100,000

    = $0

  6. 6. Total boot

    $0 cash received + $0 net debt relief

    = $0

  7. 7. Recognized gain

    Smaller of $500,000 realized gain or $0 boot

    = $0

  8. 8. Deferred gain

    $500,000 realized − $0 recognized

    = $500,000

  9. 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.

Continue learning

Sources and editorial transparency

Published by The 1031 Source. AI-assisted educational content; not independently reviewed by a licensed tax professional. Primary sources checked .

The check date records this source check, not a guarantee of current law or professional approval. Source editions are identified above; use the applicable tax-year forms and check for later agency updates.

Editorial standard: distinguish legal rules from hypothetical assumptions, cite primary sources, and avoid unsupported tax outcomes. Dates change only after an actual content or source review.

Spot a possible error? Send a correction with the page title, passage, and supporting source; please do not send tax returns or sensitive financial records.

Educational information only, not legal, tax, or investment advice. Confirm your facts with your QI and qualified tax advisor. Read the legal disclaimer.