3 min read

Where the Gain Goes in a 1031 Exchange

How realized gain, recognized gain and replacement-property basis change in a 1031 exchange, with three worked examples.
Where the Gain Goes in a 1031 Exchange
Photo by Jakub Żerdzicki / Unsplash

A property owner can complete a qualifying §1031 exchange with no gain currently recognized and still carry substantial deferred gain into the replacement property. The difference appears in tax basis.

That distinction matters when comparing an exchange with a taxable sale. The amount reinvested, the gain reported now, and the basis used to calculate a later sale are different figures.

Three Amounts to Keep Separate

Realized gain measures the gain on the transaction. Recognized gain is the portion taken into account for federal income-tax purposes now. Deferred gain is the portion not currently recognized under the exchange rules. Recognition is not a calculation of the tax bill; character, rates and other applicable rules still matter. IRC §1001

Section 1031 generally permits nonrecognition when qualifying business or investment real property is exchanged for like-kind real property held for either purpose. Property held primarily for sale does not qualify. IRC §1031(a)

An Equal-Value Exchange

Consider an owner exchanging a parcel of unimproved U.S. investment land worth $500,000. Its adjusted tax basis is $200,000. The owner receives qualifying investment land worth $500,000.

Assume unrelated parties, no debt, no cash changing hands, no exchange expenses, and an exchange that satisfies all applicable requirements. All figures are hypothetical.

Item Amount
Value received $500,000
Adjusted basis given up $200,000
Realized gain $300,000
Recognized gain $0
Deferred gain $300,000
Basis in replacement land $200,000

The replacement land is worth $500,000, but the exchange does not give the owner a fresh $500,000 tax basis. The existing $200,000 basis carries over. The $300,000 difference preserves the deferred gain in the replacement property. Treas. Reg. §1.1031(d)-1(a)

If the owner later sells that land for $600,000 in a fully taxable cash sale, with no intervening basis adjustments or selling expenses, the gain is $400,000: the original $300,000 deferred gain plus $100,000 of subsequent appreciation.

Deferred gain is not a fixed future tax bill. Different sale proceeds, basis adjustments and applicable law can produce a different eventual result.

What Changes When Cash Is Involved?

Keep the same relinquished land, with a $500,000 value and $200,000 adjusted basis. Change only what the owner gives or receives at completion.

Receive $50,000 in cash. The owner receives replacement land worth $450,000 plus $50,000 cash. Total value received is still $500,000, so realized gain remains $300,000. On these assumptions, $50,000 is recognized and $250,000 is deferred. Receiving cash does not necessarily make the entire gain taxable. IRC §1031(b)

The replacement land's basis is $200,000: the old $200,000 basis, less $50,000 cash received, plus $50,000 gain recognized. Its $450,000 value exceeds that basis by the remaining $250,000 deferred gain.

Add $150,000 in cash. Instead, the owner contributes $150,000 to receive replacement land worth $650,000. With the other assumptions unchanged, the original $300,000 gain remains deferred and replacement basis becomes $350,000: the old $200,000 basis plus the additional $150,000 invested. Treas. Reg. §1.1031(d)-1(a)-(b)

These variations show why "carryover basis" should not be read as "the basis can never change." Additional investment, cash received and recognized gain affect the calculation.

Where Actual Transactions Require More Work

The examples deliberately use land and exclude debt and expenses. A rental building requires additional analysis.

Start with adjusted basis, not merely the original purchase price. Capital improvements and depreciation allowed or allowable can change that figure before the exchange. IRC §1016(a)(1)-(2)

Trace the liabilities on both sides. Mortgage relief can affect the exchange calculation even when the owner receives no cash; liabilities assumed and other consideration must also be considered. The simple cash examples are not a mortgage-offset formula. Treas. Reg. §1.1031(d)-2

For depreciable property, total replacement basis does not by itself settle depreciation treatment or potential recapture. The closing records, prior asset schedules and exchange calculation need to agree. Form 8824 provides the federal reporting framework for realized, recognized and deferred gain and replacement basis; completing it does not cure an ineligible transaction. IRS Form 8824 instructions

The Calculation Depends on a Qualifying Exchange

In a deferred exchange, replacement property generally must be identified within 45 days. Receipt must occur by the earlier of 180 days or the return due date, including extensions, for the year of the relinquished-property transfer.

Actual or constructive receipt of proceeds also matters. A qualified intermediary arrangement can provide a regulatory safe harbor when its requirements are met. Receiving sale proceeds and later buying another property is not enough, by itself, to establish a deferred exchange. Treas. Reg. §1.1031(k)-1(b), (f)-(g)

For the owner, the basis schedule is part of the investment decision. Deferring gain can leave more capital committed to the next property, but the replacement property's price, financing, operating prospects and liquidity still deserve their own analysis. The exchange's tax treatment is one part of that decision.

Revised from a Spring 2026 graduate accounting paper. All examples are hypothetical and simplified. This is a general explanation, not advice on a particular exchange.

New writing by email

Occasional essays on business ownership, tax, accounting, and capital.