Hypothetical worked example

Full-deferral 1031 exchange: gain and replacement basis

A higher purchase price can support full deferral, but funding and exchange qualification matter too. This example tracks every dollar without confusing equity with gain.

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
$250,000
Replacement value
$900,000
New mortgage
$350,000
Additional cash
$0
Cash received
$0
  1. 1. Realized gain

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

    = $500,000

  2. 2. Exchange equity

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

    = $550,000

  3. 3. Equity reinvested

    $550,000 equity − $0 cash received

    = $550,000

  4. 4. Replacement funding

    $550,000 reinvested + $350,000 new debt + $0 outside cash

    = $900,000

  5. 5. Net debt relief

    Greater of zero or $250,000 − $350,000 − $0

    = $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

    $900,000 replacement value − $500,000 deferred gain

    = $400,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.

Why price is not the whole test

The $800,000 sale pays off $250,000 of debt, leaving $550,000 for the exchange. All $550,000 is reinvested and $350,000 of new financing funds the $900,000 replacement. No cash is distributed and there is no net debt relief.

The $500,000 gain comes from sale value less adjusted basis, not from the $550,000 equity balance. Because no boot is received in this qualifying example, current recognized gain is zero. The deferred gain reduces the starting basis of the replacement to $400,000.

What would change the result?

Receiving cash, including personal property in the purchase, failing the exchange deadlines, or having ordinary recapture can change the outcome. A purchase contract showing a higher price is not enough to establish deferral.

The $400,000 basis is not an immediate depreciation deduction. Allocation between land and improvements and the treatment of carryover and excess basis need a separate depreciation analysis.

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.