How investors and owner-users defer capital gains tax when they sell a warehouse and buy another property, what changed (and did not) in 2025, and the California rules that catch people off guard.
A 1031 exchange for commercial property lets an owner sell real estate held for business or investment and buy other U.S. real estate while deferring federal and California capital gains tax. You must identify replacement property within 45 days, close within 180 days and use a qualified intermediary. The 2025 federal tax law left Section 1031 unchanged, so these rules still apply in 2026.
Key takeaways
- Since 2018, Section 1031 covers only real property held for business or investment. Almost any U.S. real estate is “like-kind” to any other, so a warehouse can be exchanged for land, retail or a net-leased building.
- The 2025 federal tax law (Public Law 119-21) did not amend Section 1031, and the IRS’s 2025 Form 8824 instructions keep the same exchange rules.
- You have 45 days from the sale to identify replacement property in writing. You have 180 days, or until your return is due if that comes first, to close.
- To defer all of the gain, buy property of equal or greater value, reinvest all net proceeds and replace any debt you paid off. Anything left over is taxable “boot.”
- California tracks gain you defer into out-of-state property with Form FTB 3840, and a 1031 exchange does not stop a Prop 13 reassessment of the replacement property.
What is a 1031 exchange and what commercial property qualifies?
Section 1031 of the Internal Revenue Code lets you postpone tax on the gain when you swap real property used in a business or held for investment for other real property of like kind. The tax is deferred, not forgiven. Your postponed gain rides along in the replacement property as a lower tax basis (your starting point for measuring future gain and depreciation).
Like-kind is a broad test for real estate. The IRS says properties qualify when they share the same nature or character, even if their grade or quality differs. A Bakersfield warehouse can be exchanged for vacant industrial land in Shafter, a single-tenant net lease store or an apartment building.
Three limits matter most:
- Since Jan. 1, 2018, only real property qualifies, so equipment, trucks and racking do not.
- Property held primarily for sale, such as lots a developer is subdividing, does not qualify.
- U.S. real property is not like-kind to property outside the United States.
Owner-users qualify too. A Kern County business that owns its shop and sells it to buy a larger building can exchange, because it held the building for use in the business. For the tax-planning side of that choice, see our owner-user playbook.
Did the 2025 federal tax law change 1031 exchanges?
No. The federal tax law signed July 4, 2025 (Public Law 119-21, often called the One Big Beautiful Bill Act) did not amend Section 1031. The IRS’s 2025 Instructions for Form 8824, last updated April 30, 2026, list several items from that law under What’s New. They include a new Section 1062 election for qualified farmland sales and changes to Opportunity Zone rules. The like-kind exchange rules themselves are not among them.
The point matters because 1031 has been a recurring target in Washington. The Federation of Exchange Accommodators has said a proposed $500,000 cap on deferral would have effectively ended commercial real estate exchanges. That cap was not enacted. The 2025 law did change several depreciation rules, and bonus depreciation and cost segregation both interact with the carryover basis in the replacement property. Our overview of the 2025 law’s real estate provisions covers the rest.
What are the 1031 exchange deadlines and identification rules?
You have 45 days to identify replacement property and 180 days to close, both counted from the day you close the sale of the relinquished (sold) property. Both are calendar days and include weekends and holidays.
Identification must be a signed written document delivered to the qualified intermediary or another party to the exchange. It must describe the property unambiguously. A street address or legal description works. “A warehouse near Highway 99” does not.
| Rule | What it requires | Source |
|---|---|---|
| 45-day identification period | Identify replacement property in writing within 45 days after transferring the relinquished property | IRC 1031(a)(3); Treas. Reg. 1.1031(k)-1(b) |
| 180-day exchange period | Receive the replacement property by the earlier of 180 days or your tax return due date, including extensions | IRC 1031(a)(3); Treas. Reg. 1.1031(k)-1(b) |
| Three-property rule | Identify up to three properties of any value | Treas. Reg. 1.1031(k)-1(c)(4) |
| 200% rule | Identify any number of properties if their total value is no more than 200% of what you sold | Treas. Reg. 1.1031(k)-1(c)(4) |
| 95% exception | If you exceed both limits, you must acquire at least 95% of the value of everything identified | Treas. Reg. 1.1031(k)-1(c)(4)(ii) |
| Related-party rule | If you exchange with a related party, neither side can dispose of the property within two years without triggering the gain | IRC 1031(f) |
The tax return trap. If you sell in late October, day 180 falls in late April, after your return is normally due. Without an extension, the exchange period ends on the unextended due date.
How do you avoid boot in a 1031 exchange?
Boot is anything you receive that is not like-kind real property, such as cash or debt relief you do not replace. It is taxable up to the amount of your gain. Form 8824 limits recognized gain to the smaller of your boot or your realized gain.
To defer 100% of the gain, follow three guidelines:
- Trade equal or up in value. Buy replacement property priced at or above the net sale price of what you sold.
- Reinvest all net equity. Every dollar of net proceeds held by the intermediary goes into the replacement property. Cash you take out is boot.
- Replace the debt. If you paid off a $1.2 million loan at sale, carry at least that much new debt on the replacement or add outside cash to make up the difference.
What kinds of 1031 exchanges work for industrial property?
Most owners use a delayed exchange: you sell first, and a qualified intermediary (QI) holds the proceeds until you buy. The QI cannot be you or a “disqualified person,” which generally means someone who acted as your agent, such as your attorney, accountant or broker, in the prior two years. If the sale proceeds touch your bank account, the exchange fails.
| Structure | How it works | Best fit |
|---|---|---|
| Delayed (forward) exchange | Sell first; QI holds proceeds; buy within 45/180 days | Most investors and owner-users |
| Reverse exchange | An exchange accommodation titleholder buys and parks the replacement property first under Rev. Proc. 2000-37; you then sell the old property within the 180-day window | Tight industrial markets where the right building will not wait |
| Improvement (build-to-suit) exchange | The accommodator holds title while improvements are built with exchange funds; generally only work finished by day 180 counts toward value | Buying land or a shell and adding docks, power or a yard |
| Delaware statutory trust (DST) | Buy a fractional interest in a trust that owns real estate; Rev. Rul. 2004-86 treats it as qualifying replacement property | Owners who want passive ownership or a backup identification |
What California rules apply to a 1031 exchange?
California follows the federal 1031 rules but adds its own reporting and withholding. The state taxes capital gains as ordinary income with no lower rate, so the California share of the tax you defer is often large.
Out-of-state replacement property. If you trade California property for property in another state, you must file Form FTB 3840 for the year of the exchange and every year after until you recognize the California-source deferred gain. If you stop filing, the Franchise Tax Board can issue a Notice of Proposed Assessment for the deferred gain plus penalties and interest. A Kern County owner who trades into a Texas warehouse still owes California tax when that warehouse is eventually sold in a taxable sale.
Withholding. California normally requires withholding of 3 1/3% of the sales price on a real estate sale. A qualifying exchange is generally exempt at the initial transfer, but withholding applies to boot above $1,500. If the exchange fails, expect the withholding to apply to the sale, according to the Franchise Tax Board’s Form 593 instructions.
Prop 13. A 1031 exchange defers income tax only. The replacement property is reassessed at its purchase price for property taxes, so build the higher tax bill into your underwriting. Our guide to Prop 13 reassessment on commercial property explains how it works.
What happens to depreciation and basis after an exchange?
Your basis in the replacement property generally equals its purchase price minus the gain you deferred. That means you depreciate from a lower starting point than a cash buyer would. The exchange defers both the capital gain and the depreciation you have already claimed.
If you trade up and add new debt or cash, the added amount creates new depreciable basis. Many owners pair a trade-up with a cost segregation study on the replacement building to accelerate deductions.
The deferred gain stays with you until a taxable sale. Some owners exchange repeatedly and hold the last property until death, because heirs generally receive a stepped-up basis under current federal law. That is an estate planning decision for your CPA and attorney, and it is not a reason to buy the wrong building.
What should you do before you list the property?
Line up your intermediary, your contract language, your replacement search and your financing before escrow opens. Five steps cover most of it:
- Engage a qualified intermediary before the sale closes. The exchange agreement and assignment must be in place before escrow closes on the relinquished property. You cannot set it up afterward.
- Add exchange cooperation language to the purchase agreement. The sale contract and the replacement purchase contract should say the other party will cooperate with your exchange at no cost or liability to them. Our escrow timeline guide shows where these clauses fit.
- Start the replacement search early. In a tight industrial market, 45 days goes fast. Tour candidates while your sale is in escrow so your identification list is real.
- Talk to your lender. Replacing debt is part of avoiding boot, so get a financing quote on the likely replacement before the clock starts.
- Calendar day 45, day 180 and your return due date. File an extension if day 180 falls after the unextended due date.
How do Kern County industrial owners use 1031 exchanges?
Local owners use exchanges to upgrade, simplify or relocate. Common plays include:
- Trade up in quality. Sell an older, low-clear Bakersfield warehouse and buy a newer building with higher clear height, ESFR sprinklers and more dock doors.
- Trade management for passivity. Swap a multi-tenant industrial park with frequent turnover for a single-tenant net lease property with a long lease. Our single-tenant net lease guide covers the tradeoffs.
- Consolidate or diversify. Combine two small buildings into one larger I-5 or SR-58 corridor asset, or split one large sale into several properties using the three-property or 200% rule.
- Relocate an owner-user business. A Delano or Wasco ag processor sells its plant and exchanges into a larger facility. The building qualifies. Equipment and the business itself do not.
- Move into land. Exchange into industrial land for a future project, as long as you hold it for investment and not primarily for resale as a dealer. Outdoor storage sites are one example; see our IOS explainer.
What does a taxable sale cost compared with a 1031 exchange?
On a $5.2 million Bakersfield warehouse sale, a taxable sale could cost roughly $1.34 million in tax, while a full exchange defers all of it. The numbers below are illustrative and use top federal rates, so a CPA’s figures will differ.
A married couple bought a 40,000 SF warehouse in Bakersfield in 2010 for $2,000,000, with $1,600,000 allocated to the building. They have taken about $635,000 of depreciation, so their adjusted basis is $1,365,000. In 2026 they sell for $5,200,000 ($130 per SF), pay $200,000 in selling costs and pay off a $1,200,000 loan. That leaves $3,800,000 of equity with the QI.
Their gain is the $5,000,000 net sale price minus the $1,365,000 basis, or $3,635,000. In a taxable sale, an illustrative estimate looks like this:
- $635,000 of unrecaptured Section 1250 gain (depreciation recapture on real estate) at 25%: $158,750
- $3,000,000 at the 20% top capital gain rate: $600,000
- 3.8% net investment income tax on the full gain: $138,130
- California tax at an assumed flat 12.3%: $447,105
That totals about $1,343,985 before any deductions or credits. The estimate leaves out California’s 1% surcharge on taxable income above $1 million, the state’s treatment of depreciation, the SALT deduction and bracket phase-ins.
In a full exchange, the couple buys a $6,500,000 distribution building with the $3,800,000 of equity plus a $2,700,000 loan. All $3,635,000 of gain is deferred, and the new building’s basis is $6,500,000 minus $3,635,000, or $2,865,000.
In a partial exchange, they buy a $4,600,000 building with a $1,200,000 loan and keep $400,000 in cash. That $400,000 is boot and is taxable now. The remaining $3,235,000 is deferred, and the basis is $4,600,000 minus $3,235,000, or $1,365,000.
One cost the exchange does not avoid: the $6,500,000 replacement is reassessed for property tax. At the 2025-26 rate of 1.163785% for Bakersfield tax rate area 001-001, per the Kern County Auditor-Controller, that is about $75,646 a year.
| Item | Taxable sale | Full 1031 exchange | Partial exchange |
|---|---|---|---|
| Replacement property price | None | $6,500,000 | $4,600,000 |
| Cash taken out (boot) | $3,800,000 | $0 | $400,000 |
| Gain recognized now | $3,635,000 | $0 | $400,000 |
| Gain deferred | $0 | $3,635,000 | $3,235,000 |
| Estimated tax due now | About $1,344,000 | $0 | Tax on $400,000 |
| Basis in replacement property | Not applicable | $2,865,000 | $1,365,000 |
This is a simplified illustration, not tax advice.
Frequently asked questions
Can I exchange a warehouse for a different type of commercial property?
Yes. For real estate, “like-kind” refers to the nature of the property and not its use. A warehouse can be traded for land, retail, office, apartments or a single-tenant net lease building if both are U.S. real property held for business or investment and neither is held primarily for sale. Equipment and other personal property no longer qualify.
How long do I have to complete a 1031 exchange?
You get 45 calendar days to identify replacement property in a signed document, and you must close by the earlier of 180 days or your return due date, extensions included. Both clocks start at the same moment, the closing of your sale. Weekends and holidays count, with narrow relief such as IRS postponements after federally declared disasters.
Did the One Big Beautiful Bill Act change 1031 exchanges?
No. Public Law 119-21 left Section 1031 as it was. The IRS’s 2025 Form 8824 instructions, updated in April 2026, describe other new items from the law but keep the like-kind rules. Exchanges in 2026 still need real property held for business or investment, the 45- and 180-day deadlines and a qualified intermediary.
Can I sell California property and buy replacement property in another state?
Yes, because federal law allows exchanges between any U.S. states. California adds a filing duty: you submit Form FTB 3840 for the exchange year and each year after, until the deferred California-source gain is recognized. When you later sell the out-of-state building in a taxable sale, California taxes the gain tied to your original California property.
Can I do a 1031 exchange on the building my business occupies?
Yes, if the building is real property you hold for use in your trade or business. An owner-user that sells its shop and buys a larger one can defer the gain. The business, its equipment and its inventory do not qualify, and a personal residence is outside Section 1031.
What is boot in a 1031 exchange?
Boot is value you receive that is not like-kind real property. Most often it is cash taken at closing or debt relief you did not replace. Boot is taxable up to your gain. You avoid it by buying equal or greater value, reinvesting all net proceeds and replacing the debt you paid off.
Does a 1031 exchange avoid Prop 13 reassessment?
No. Section 1031 defers federal and California income tax only. Under Prop 13, buying the replacement property is a change in ownership, so it is assessed at your purchase price and not at the old property’s assessed value. Plan for that when you underwrite the purchase.
Can I buy the replacement property before I sell?
Yes, through a reverse exchange. Under Revenue Procedure 2000-37, an exchange accommodation titleholder takes title to the replacement property while you sell the relinquished property inside the 45- and 180-day framework. Reverse exchanges cost more, and the buyer usually has to fund or finance the purchase before the sale closes.
If you are thinking about selling an industrial building in Bakersfield or elsewhere in Kern County, start the exchange conversation with your CPA, your qualified intermediary and your broker before you list. Call Kern CRE at 855-KERN-CRE (855-537-6273) or contact us and we can help you line up replacement options so the 45-day clock is not a scramble. Get Kern County CRE news monthly: subscribe to the Kern CRE report.
Sources
- 26 U.S. Code 1031, Exchange of real property held for productive use or investment, Legal Information Institute, Cornell Law School.
- 26 CFR 1.1031(k)-1, Treatment of deferred exchanges, Legal Information Institute, Cornell Law School.
- 2025 Instructions for Form 8824, Like-Kind Exchanges, Internal Revenue Service, updated April 30, 2026.
- Like-kind exchanges: Real estate tax tips, Internal Revenue Service, May 2026.
- Revenue Procedure 2000-37 (reverse exchange safe harbor), Internal Revenue Service, 2000.
- Revenue Ruling 2004-86 (Delaware statutory trusts), Internal Revenue Service, 2004.
- Topic No. 409, Capital gains and losses, Internal Revenue Service, September 2026.
- Topic No. 559, Net investment income tax, Internal Revenue Service, September 2026.
- Capital gains and losses, California Franchise Tax Board, January 2026.
- 2025 California Tax Rate Schedules, California Franchise Tax Board, 2025.
- 2025 Instructions for Form FTB 3840, California Like-Kind Exchanges, California Franchise Tax Board, 2025.
- 2025 Instructions for Form 593, Real Estate Withholding Statement, California Franchise Tax Board, 2025.
- 1031 Builds America coalition site (statement on the proposed $500,000 cap), Federation of Exchange Accommodators.
- County of Kern Tax Rates and Assessed Valuations 2025-2026, County of Kern Auditor-Controller, 2025.
About this article
Kern CRE prepared this article with help from AI research and writing tools. An editor reviewed the draft, checked its facts against the sources linked above and edited it for accuracy and clarity. It is general information, not legal, tax, investment or financial advice; talk with a qualified professional about your situation.

