Published February 05, 2026Updated November 01, 2026

What Is a 1031 Exchange and How Does It Work

A 1031 exchange is a tax deferral strategy under Internal Revenue Code Section 1031 (IRC Section 1031) that lets a real estate investor sell investment property and postpone capital gains tax by reinvesting the proceeds into like-kind replacement property. The tax is deferred rather than erased, and the deferral holds only if the sale and the purchase are structured as a single exchange instead of two separate transactions. That one structural difference is what the rest of the process exists to protect.

This article explains what a 1031 exchange is in plain terms, walks the mechanism in order from sale to deferral, describes what a Qualified Intermediary (QI) actually does, identifies which property qualifies, and states plainly what “tax deferred” means for the money you keep. The full process, from planning the sale to reporting the exchange on Form 8824, is covered in our complete guide to 1031 exchanges.

What is a 1031 exchange?

A 1031 exchange is a tax deferral strategy that lets an investor sell one investment property and buy another while postponing the capital gains tax, because IRC Section 1031 treats the transaction as a continuation of the same investment rather than a cash-out sale. The investor’s capital moves from one property into another without stopping in a taxable account along the way.

The logic of the tax code here is straightforward. IRC Section 1031 provides that no gain or loss is recognized on the exchange of real property held for productive use in a trade or business or for investment when it is exchanged solely for real property of like kind to be held the same way. An investor who trades a duplex for a retail building has not converted an investment into spendable cash, so the tax code does not treat the moment as a taxable event. The gain still exists. It travels forward into the new property.

Alan Fruitman reduces the definition to one sentence in The NNN Triple Net Property Book: “You are able to sell investment property, purchase other investment property, and defer the applicable taxes.” Both halves of that sentence carry a requirement, because the property sold and the property bought must each be held for investment or for use in a business.

Like-kind is a broad standard for real estate. Real properties are generally like-kind to one another whether improved or unimproved, so raw land can be exchanged for an apartment building, and a rental house can be exchanged for a single-tenant NNN property through a 1031 exchange into NNN property. A primary residence and a fix-and-flip held for resale do not qualify, real estate in the United States is not like-kind to real estate abroad, and each requirement is set out in our guide to 1031 exchange rules.

You can read the statutory language yourself in the full text of IRC Section 1031, and the IRS summarizes the like-kind standard in its guidance on like-kind exchanges of real estate.

How does a 1031 exchange work in 5 steps?

A 1031 exchange works in five steps: you sell the relinquished property, a QI holds the proceeds, you identify replacement property in writing within 45 days, you close on the replacement property within 180 days, and the gain is deferred instead of taxed for the year of the sale.

Step What Happens Who Is Involved
1. Sell You close on the relinquished property, the investment property you are giving up. You and your closing team
2. Funds held The sale proceeds go to the QI, never to you. Your QI
3. Identify You name the replacement property in a signed written notice within 45 days. You and your QI
4. Purchase You close on the replacement property within 180 days, funded by the QI. You and your QI
5. Deferred No capital gains tax is due on the exchanged gain for the year of the sale. Your CPA

Two details do most of the work. The first is that you never take possession of the money. Under Treasury Regulation 1.1031(k)-1(a), a sale followed by a purchase does not qualify, no matter how quickly the second closing follows the first, so the proceeds move from the closing table to the QI directly. The second is that identification is a written act, not an intention, and Treasury Regulation 1.1031(k)-1 requires the replacement property to be unambiguously described in a signed written document delivered before the identification period ends.

The 180-day deadline can arrive early. Under Treasury Regulation 1.1031(k)-1(b)(2)(ii), the exchange period ends on the earlier of the 180th day or the due date of the tax return for the year of the sale, including extensions, so a sale late in the year can lose days unless the return is extended.

How do two separate closings count as one 1031 exchange?

Two separate closings with two different parties count as one 1031 exchange because a Qualified Intermediary stands in the middle of both. Under Treasury Regulation 1.1031(k)-1(g)(4), the QI is treated as acquiring the relinquished property from the investor, transferring it to the buyer, acquiring the replacement property from the seller, and transferring it to the investor.

The QI does not need to take title to do this. The investor signs an ordinary purchase agreement with each counterparty, assigns its rights under each agreement to the QI, and notifies every party to that agreement in writing on or before the closing, which is the condition in Treasury Regulation 1.1031(k)-1(g)(4)(v). The deeds then pass directly from the investor to the buyer and from the seller to the investor, and the buyer of the old property and the seller of the new one never deal with each other.

The same arrangement keeps the sale proceeds out of the investor’s hands, because the exchange agreement must limit the investor’s right to receive, pledge, borrow, or otherwise benefit from the money the QI holds. The exchange agreement and the assignment of the sale contract, with written notice to the buyer, must be in place no later than the day the relinquished property closes, so a QI hired after the sale cannot turn it into an exchange. Fund protections, fees, and who is disqualified from serving are covered in our guide to the 1031 qualified intermediary.

What does tax deferred mean in a 1031 exchange?

Tax deferred means the capital gains tax on the sale is postponed rather than forgiven, and the postponement lasts until the investor sells the replacement property without completing another exchange. The gain does not disappear. It carries forward into the basis of the property you buy, which makes a 1031 exchange a timing strategy rather than a loophole.

That timing is worth real money. Every dollar that would have gone to tax this year buys real estate instead, which supports a larger asset and more income from the first day of ownership. Note that the replacement property carries the old basis forward, so an exchange increases purchasing power rather than creating a fresh depreciation schedule on the full purchase price. The carryover ends at death, because heirs who inherit the replacement property generally receive a stepped-up basis equal to its fair market value under IRC Section 1014, which removes the deferred gain from their income tax.

The deferral reaches more than federal capital gains tax. As Alan Fruitman writes in The NNN Triple Net Property Book, “When you follow the specific rules, you are able to defer 100% of your Depreciation Recapture Tax, State Capital Gains Tax and Federal Capital Gains Tax.” Any 3.8 percent net investment income tax that would apply to the gain is deferred along with them, because no gain is recognized in the year of the sale. Recapture on personal property components, such as items reclassified in a cost segregation study, can still be taxed under IRC Section 1245(b)(4).

Consider a hypothetical $1.5 million sale that produces a $400,000 gain. Depending on your bracket and your state, the tax bill a 1031 exchange defers on that gain can exceed $100,000, and that is capital that stays invested in the next property instead of leaving the portfolio this year. Figures are illustrative only. Your CPA will calculate your actual number.

Your CPA will report the completed exchange on IRS Form 8824, Like-Kind Exchanges, for the tax year in which the relinquished property was sold.

Frequently asked questions about 1031 exchanges

Is a 1031 exchange the same as a like-kind exchange?

Yes, a 1031 exchange and a like-kind exchange are the same transaction under IRC Section 1031, and it is reported on Form 8824, Like-Kind Exchanges. It is also called a tax-deferred exchange, and a delayed exchange is often called a Starker exchange after Starker v. United States, the 1979 Ninth Circuit decision that allowed a non-simultaneous exchange. A delayed exchange must also meet the 45-day and 180-day requirements of IRC Section 1031(a)(3).

What do relinquished property and replacement property mean in a 1031 exchange?

Relinquished property is the business or investment property you transfer, and replacement property is the business or investment property you receive in its place, the two terms Treasury Regulation 1.1031(k)-1(a) uses to define a deferred exchange. The 45-day identification period and the 180-day exchange period both start on the date the relinquished property transfers, and the replacement property must be received within the exchange period for the gain to stay deferred.

How long have 1031 exchanges been part of the tax code?

Like-kind exchanges have been part of the federal income tax since the Revenue Act of 1921, according to the U.S. Treasury’s Office of Tax Analysis. The section number 1031 comes from the Internal Revenue Code of 1954, the 45-day and 180-day deadlines were added by the Deficit Reduction Act of 1984, and the Tax Cuts and Jobs Act limited the provision to real property for exchanges completed after December 31, 2017.

Should you use a 1031 exchange if you are selling property at a loss?

Usually not, because IRC Section 1031 defers losses as well as gains, so a loss on exchanged property is carried into the replacement property’s basis instead of being deducted in the year of the sale. An investor selling at a loss generally sells outright so the loss can be deducted under the rules that apply to that property, and a CPA should confirm the treatment before the sale closes.

What basis does the replacement property get in a 1031 exchange?

The replacement property generally takes an exchanged basis, often called a carryover basis, which works out to its purchase price minus the gain that was deferred under IRC Section 1031(d). An investor who sells for $1,500,000 with a $1,100,000 adjusted basis, defers the $400,000 gain, and buys a $1,800,000 replacement starts with a $1,400,000 basis, so a later taxable sale at $2,000,000, before any further depreciation, produces a $600,000 gain.

About the Author

Alan Fruitman is the founder of 1031tax.com and President & Managing Broker of Real Estate Foundation, Inc. Alan began his real estate career in 1993 and has closed more than 1,000 properties valued at several billion dollars. He is the author of The NNN Triple Net Property Book and is a nationally recognized authority on single tenant net leased property and IRC Section 1031 exchanges. With more than 30 years of experience, Alan advises investors on identifying, underwriting, and acquiring absolute NNN leased assets with corporate guarantees, including banks, quick service restaurants, pharmacies, dollar stores, convenience stores, and auto related retailers. Alan holds Colorado real estate license ER1322889 and helps buyers and sellers nationwide.

This article is for general informational purposes only and does not constitute legal, tax, financial, or real estate advice. Every exchange and tax situation is unique. We strongly encourage you to work with qualified professionals, including a qualified intermediary, CPA, and real estate attorney, before making any decisions related to a 1031 exchange. 1031tax.com is a service of Real Estate Foundation, Inc.