You can do a 1031 exchange from a commercial property to a residential one. The IRS treats all U.S. real estate as like-kind to other U.S. real estate, so trading an office building or strip mall for a rental house raises no classification problem under Section 1031. The catch is that the residential property has to be held for investment or business use, not for you to live in, and the same deadlines, intermediary rules, and boot traps that govern any 1031 exchange still apply.
Why the Swap Qualifies as Like-Kind
Federal tax law lets you defer capital gains when you exchange real property used in a business or held for investment for other real property you’ll also use for business or investment. The statute makes no distinction between commercial and residential real estate. A warehouse, a strip mall, a vacant lot, and a four-unit apartment building are all like-kind to one another.
Treasury Regulations clarify that “like kind” refers to the nature or character of the property, not its grade or quality.1Federal Register. Statutory Limitations on Like-Kind Exchanges Real property is like-kind to real property. What matters is not the type of building on the land but whether you hold it for the right purpose.
One hard exclusion: property held primarily for sale does not qualify.2Office of the Law Revision Counsel. 26 US Code 1031 – Exchange of Real Property Held for Productive Use or Investment If you flip houses as a dealer, those properties are inventory, not investments, and Section 1031 does not reach them.
The Investment Use Requirement
The residential replacement property must be held for investment or productive business use. Buying a beach house for personal vacations with exchange funds will blow up the whole transaction. The IRS draws a bright line between investment property and personal-use property, and landing on the wrong side means immediate taxation of your full gain.
Revenue Procedure 2008-16 provides a safe harbor that gives you a clear path to prove investment intent when the replacement is a dwelling unit.3Internal Revenue Service. Revenue Procedure 2008-16 Follow these rules and the IRS will not challenge whether the property qualifies:
- Own the replacement property for at least 24 months after the exchange.
- In each of the two 12-month periods after the exchange, rent the dwelling to someone else for at least 14 days at a fair rental rate.
- Keep your own use of the property to no more than 14 days or 10 percent of the days it was rented at fair market value, whichever is greater, during each 12-month period.
Keep rental agreements, income records, and a log of every day you personally use the property. The IRS can reconstruct your usage from utility bills, insurance policies, and mail delivery records, so paper documentation matters.
The Two Deadlines
A deferred 1031 exchange runs on two clocks, both starting the day you close the sale of your commercial property. Miss either deadline and the entire exchange fails. There are no extensions for financing delays, inspection problems, or anything else.
- You have 45 calendar days to formally identify potential replacement properties in writing.4Internal Revenue Service. Like-Kind Exchanges Under IRC Section 1031
- You must close on the replacement property within 180 calendar days of the original sale.4Internal Revenue Service. Like-Kind Exchanges Under IRC Section 1031
The identification must be specific: a full street address or legal description, not “some rental property in Phoenix.” Most investors use the three-property rule, which lets you name up to three potential replacements regardless of combined value. An alternative is the 200-percent rule, which allows any number of properties as long as their total fair market value does not exceed twice the value of what you sold. Sticking with three or fewer keeps things simple.
You Cannot Touch the Money
You cannot handle the sale proceeds at any point during the exchange. If the money hits your bank account, even briefly, the IRS treats the transaction as a taxable sale, not an exchange.5Internal Revenue Service. Revenue Procedure 2003-39 This is the constructive receipt rule, and it catches people who think they can hold funds “just for a few days” while lining up a replacement property.
A qualified intermediary holds the proceeds in a separate account and transfers the funds directly to the closing agent when you’re ready to buy the replacement. You cannot act as your own intermediary, and your agent, attorney, or accountant who has worked for you in the prior two years is generally disqualified from serving in this role.4Internal Revenue Service. Like-Kind Exchanges Under IRC Section 1031 There is no federal bonding requirement for intermediaries, so pick a reputable one; if they mishandle or lose your funds, recovery can be difficult.
The Boot Problem in Commercial-to-Residential
If the exchange isn’t perfectly balanced, the leftover value that doesn’t roll into the replacement is called “boot,” and it’s taxable. This is where commercial-to-residential exchanges often cause problems, because residential properties tend to carry smaller mortgages and smaller price tags than the commercial buildings they replace.
Boot shows up in two forms. Cash boot is any sale proceeds you don’t reinvest. If your commercial building sells for $800,000 but you spend only $700,000 on the replacement rental house, the leftover $100,000 is boot. Mortgage boot is the reduction in debt: sell a property with a $400,000 mortgage, buy one with a $250,000 mortgage, and you have $150,000 in mortgage boot.
Your recognized gain on boot is limited to the lesser of the boot received or your actual realized gain on the exchange.4Internal Revenue Service. Like-Kind Exchanges Under IRC Section 1031 You can offset mortgage boot by adding outside cash. In the example above, contributing $150,000 of your own funds eliminates the mortgage boot. The cleanest approach is to buy a replacement of equal or greater value with equal or greater debt, but when you’re moving from a large commercial building to a smaller residential rental, that takes deliberate planning.
Moving In Later
Many investors exchange into residential rental with an eye toward eventually moving in. Federal law allows this, but you have to clear two hurdles.
First, satisfy the Revenue Procedure 2008-16 safe harbor by renting the property for at least 24 months after the exchange.3Internal Revenue Service. Revenue Procedure 2008-16 Moving in during that window, or failing to rent at fair market value, risks the IRS recharacterizing the exchange as a purchase of a personal residence, which would make the full deferred gain immediately taxable.
Second, if you eventually sell and want to claim the Section 121 primary residence exclusion (up to $250,000 for single filers or $500,000 for married couples filing jointly), a special five-year rule applies to property acquired through a 1031 exchange. The exclusion is unavailable during the first five years after you acquire the property.6Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain from Sale of Principal Residence After five years, you still need to meet the standard Section 121 requirements: use the home as your primary residence for at least two of the five years before the sale.
The practical timeline: rent the property for two years, move in, live there at least three more years, and you satisfy both the five-year holding period and the two-year residence test. Minimum five years from the exchange date before you can sell and claim the exclusion.
Deferred, Not Eliminated
Section 1031 defers your capital gains tax; it doesn’t erase it. Every exchange carries the deferred gain forward into the replacement property’s tax basis. When you finally sell without doing another exchange, all the accumulated deferred gain comes due.
On top of long-term capital gains tax (0 to 20 percent depending on your income), you’ll owe depreciation recapture at a flat 25 percent on the portion of your gain attributable to depreciation deductions claimed over the years. That includes depreciation taken on prior properties in the exchange chain, not just the final one. Investors who have completed several successive exchanges over decades can face a substantial recapture bill when they eventually cash out.
Your basis in the replacement carries over from the property you gave up, adjusted for any boot paid or received. Keep clean records of every exchange, every improvement, and every depreciation deduction across the entire chain.
Costs and Reporting
A 1031 exchange has out-of-pocket costs you should budget for before listing the commercial property. Qualified intermediary fees typically run $600 to $1,200 for a straightforward exchange, with complex transactions costing more. Lenders usually require an appraisal on the replacement; commercial appraisals average around $2,500 nationally. Standard closing costs apply to both the sale and the purchase, including title insurance, recording fees, and attorney fees where customary.
Gather the adjusted basis of the commercial property before you list it: original purchase price, plus capital improvements, minus all depreciation claimed. You’ll also need the legal descriptions of both properties for the exchange agreement. Having these figures in hand avoids scrambling during the 45-day identification window.
You must report the exchange on IRS Form 8824 with your federal tax return for the year the commercial property was transferred. The form captures the description of both properties, the dates of transfer and identification, the relationship between the parties, and the calculation of any recognized gain from boot. If a related party is involved, you’ll also need to file Form 8824 for the two tax years following the exchange year.7Internal Revenue Service. 2025 Instructions for Form 8824 – Like-Kind Exchanges If you used a qualified intermediary, they should provide the transaction details you need to complete the form.