Section 1031 Like-Kind Exchanges and Carryover Basis: Form 8824

In a 1031 like-kind exchange, carryover basis is the rule that transfers the adjusted tax basis of the property you gave up onto the replacement property, decreased by any money you received and increased by any gain you were forced to recognize.1Office of the Law Revision Counsel. 26 USC 1031 – Exchange of Real Property Held for Productive Use or Investment That is the mechanism that makes the deferral work. You do not pay tax at the time of the swap, but you also do not get a fresh basis equal to the new property’s price. The old basis, and every dollar of gain baked into it, follows the new property until you sell in a taxable transaction.

How Carryover Basis Is Calculated

Section 1031(d) gives the formula in plain terms. Start with the adjusted basis of the property you gave up. Subtract any money you received. Add any gain you had to recognize on the exchange. The result is your basis in the replacement property.1Office of the Law Revision Counsel. 26 USC 1031 – Exchange of Real Property Held for Productive Use or Investment

Adjusted basis is not what you paid on day one. It is what you paid, plus capital improvements, minus every dollar of depreciation you claimed or were entitled to claim over the years you held the property. That single number carries the full tax history of the relinquished property into the new one.

A straightforward example shows the effect. You bought a rental years ago for $200,000 and claimed $60,000 in depreciation, so your adjusted basis is $140,000. The property is now worth $400,000, and you exchange it straight across for a replacement worth $400,000. No cash changes hands and no debt shifts. Your basis in the new property is $140,000, not $400,000. The $260,000 spread is the deferred gain, and it is waiting for the day you sell without another exchange behind it.2Internal Revenue Service. Like-Kind Exchanges Under IRC Section 1031

Trading up adds to your basis. If you contribute an additional $50,000 in cash and acquire a $450,000 property, your basis becomes $190,000: the $140,000 carryover plus the $50,000 of new investment. Any qualified acquisition costs you pay on the replacement side, such as broker commissions and recording fees, also fold into that basis.

How Boot and Debt Relief Change the Math

Boot is anything you receive in the exchange that is not like-kind real property. Cash is the obvious form, but net debt relief counts too. You are taxed on boot only up to the amount of your realized gain. Receive $50,000 of boot on a $200,000 realized gain, and you recognize $50,000. Receive $250,000 of boot on that same $200,000 gain, and you recognize $200,000.

Mortgage boot is where investors get caught. Suppose you owed $300,000 on the relinquished property and take on only $200,000 of debt on the replacement. The $100,000 of net debt relief is treated as money received, exactly as if you had walked away with $100,000 in cash.1Office of the Law Revision Counsel. 26 USC 1031 – Exchange of Real Property Held for Productive Use or Investment You can offset it by putting fresh cash into the deal so total investment in the new property matches or exceeds your old equity.

Money received reduces your basis. Gain you are forced to recognize on that boot gets added back, which prevents the same dollars from being taxed twice.2Internal Revenue Service. Like-Kind Exchanges Under IRC Section 1031 The net effect: boot triggers a partial tax bill today and leaves you with a basis that still carries the remainder of the deferred gain forward.

Which Closing Costs Affect Basis

Not every closing cost is treated the same way. Costs directly tied to buying or selling the real estate reduce your recognized gain or increase your replacement property’s basis. Broker commissions, recording fees, transfer taxes, title fees, qualified intermediary fees, survey costs, environmental inspections, and attorney fees for the exchange itself all fall in this category.

Commissions on the relinquished side reduce gain and offset boot. Commissions and direct acquisition costs on the replacement side increase basis. QI fees increase the replacement property’s basis as well.

Loan costs are different. Origination fees, discount points, mortgage insurance premiums, and lender-required appraisals are financing expenses, not acquisition costs. A useful test: if the expense would not exist in an all-cash purchase, it is probably a loan cost. Paying loan costs out of exchange funds can generate taxable boot rather than reducing gain or lifting basis.

Documentation matters here more than it might seem. The basis you record today is the basis you or your heirs will need to defend years from now, on the next sale or the next exchange. Missing receipts are where audit trouble usually begins.

Depreciation Carries Over Too

Carryover basis is not just about capital gains. It also carries your depreciation history. When you eventually sell the replacement property in a taxable transaction, you owe tax on the total depreciation claimed across every property in the exchange chain. That amount is unrecaptured Section 1250 gain, taxed at a maximum rate of 25%. The rest of the gain is taxed at ordinary long-term capital gains rates of 15% or 20%.

Consider what accumulates. If you originally bought a property for $500,000, claimed $150,000 of depreciation, exchanged into a replacement, and then claimed another $80,000 of depreciation on that replacement, you are carrying $230,000 of recapturable depreciation. On the eventual sale, that $230,000 slice is taxed at up to 25% before the remaining appreciation is taxed at capital gains rates. Investors who exchange repeatedly over decades can build significant recapture exposure without ever seeing a tax bill along the way.

Going forward, the replacement property’s basis is split for depreciation purposes. The portion carried over from the relinquished property continues on the old depreciation schedule. Any additional basis from new cash you put in starts a fresh schedule with a new recovery period. Tax software does not always handle this split cleanly, especially after several exchanges, so tracking the two pieces by hand is worth the effort.

What Happens If You Keep Exchanging

Nothing in Section 1031 limits how many exchanges you can string together. Each new exchange rolls the carryover basis into the next replacement property. Deferred gain and accumulated depreciation build up, and the gap between market value and basis widens with every swap.

The IRS is not losing track of that gain. It is embedded in a basis that grows smaller relative to fair market value each cycle. When a taxable sale finally happens, the full accumulated gain, including all the depreciation recapture from every property along the way, comes due at once.

The Step-Up at Death

One provision resets the whole picture. Under Section 1014, when a property owner dies, their heirs receive the property with a basis equal to its fair market value at the date of death.3Office of the Law Revision Counsel. 26 USC 1014 – Basis of Property Acquired From a Decedent The deferred gain from years of 1031 exchanges and the accumulated depreciation recapture effectively disappear.

Take an investor who bought a property for $200,000 forty years ago, worked through a series of 1031 exchanges, and now holds a replacement worth $2,000,000 with a carryover basis of $50,000. Selling during their lifetime means tax on $1,950,000 of gain. Dying while holding the property means heirs inherit with a $2,000,000 basis and can sell the next day with no tax on the prior appreciation. This strategy is sometimes called “swap till you drop.” Congress has periodically considered limiting or eliminating the step-up, so it is not permanent by design, but under current law it stands.

Reporting Basis on Form 8824

Every like-kind exchange goes on IRS Form 8824, attached to your federal return for the year you transferred the relinquished property.4Internal Revenue Service. Instructions for Form 8824 (2025) If the exchange straddles two tax years because you sold in one and closed on the replacement in the next, it still goes with the return for the year of the first transfer.

The form asks for the transfer, identification, and receipt dates; fair market values of everything exchanged; the adjusted basis of the property you gave up; and any cash or other boot received.5Internal Revenue Service. IRS Form 8824 – Like-Kind Exchanges Part III walks through the gain calculation and produces the carryover basis for the replacement property, which is the number you carry into every future depreciation calculation and eventual sale.

Recognized gain from boot is reported separately. For most investment real estate, the Section 1250 recapture portion goes on Form 4797 and the remaining capital gain on Schedule D.4Internal Revenue Service. Instructions for Form 8824 (2025) Individuals file Form 8824 with Form 1040. Partnerships and corporations attach it to Form 1065 or Form 1120.

When the Carryover Never Happens

Carryover basis only matters if the exchange qualifies. Two situations put the whole deferral at risk.

If you miss the 45-day identification deadline, fail to close on a replacement within 180 days, or take actual or constructive receipt of the sale proceeds along the way, the exchange is disqualified entirely.6Internal Revenue Service. Sales Trades Exchanges 2 The full gain becomes taxable in the year of the transfer, not a prorated slice. A $300,000 gain that fell apart on day 46 is a $300,000 taxable gain, and the replacement property, if it eventually closes, gets a normal cost basis rather than a carryover basis.

Related-party exchanges bring their own trap. Exchanges with siblings, parents, children, grandchildren, or entities where you hold a significant ownership interest are allowed, but if either party disposes of the exchanged property within two years, the deferred gain snaps back and becomes taxable in the year of that later disposition.1Office of the Law Revision Counsel. 26 USC 1031 – Exchange of Real Property Held for Productive Use or Investment The statute also lets the IRS disqualify the exchange outright if it finds the structure was designed to sidestep the two-year rule. Exceptions apply for death, involuntary conversion, and situations where the taxpayer can show neither leg of the transaction was motivated by tax avoidance.

One boundary worth naming: since the Tax Cuts and Jobs Act, only real property held for investment or business use qualifies for Section 1031 at all.7Internal Revenue Service. Like-Kind Exchanges – Real Estate Tax Tips Personal property, personal residences, developer inventory, and swaps between U.S. and foreign real estate are outside the rules, so the carryover basis mechanism does not apply to them regardless of how the paperwork is structured.