A 1031 exchange on a primary residence is not allowed under the tax code, because Section 1031 applies only to real property held for business or investment use. A home you actually live in fails that test. The workaround is to convert the home into a genuine rental property, hold it that way long enough to satisfy the IRS, and then exchange it. Before going down that road, check whether the Section 121 home-sale exclusion already solves your problem, because for most homeowners it does.
Why a Home You Live In Is Excluded
Section 1031 covers real property “held for productive use in a trade or business or for investment.”1Office of the Law Revision Counsel. 26 USC 1031 – Exchange of Real Property Held for Productive Use or Investment A residence serves a personal function, so it falls outside that definition. The IRS looks at objective evidence of how you actually use the property: voter registration, mailing address, where your children attend school, and the address on your driver’s license. If those point to a home, calling it something else on paper won’t change the answer. Property held mainly for resale (flipping) is also excluded, and after the 2017 Tax Cuts and Jobs Act, only real property qualifies at all.
Consider Section 121 First
Homeowners have their own tax benefit that is often better than a 1031 exchange. Under Section 121, you can exclude up to $250,000 of gain from selling your principal residence, or $500,000 if you’re married filing jointly, as long as you owned and used the home as your principal residence for at least two of the five years before the sale.2Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence The two years don’t have to be consecutive.
The difference matters. A 1031 exchange defers gain; Section 121 wipes it out. If your gain fits under the cap, you owe nothing and don’t have to reinvest anything. The conversion strategy below is worth the trouble only when your gain clearly exceeds $250,000 or $500,000, or when you actually want to keep holding investment real estate rather than cash out.
Converting the Home Into a Rental Property
The path from residence to 1031-eligible property requires a real change in use, not a relabeling. You need to move out, establish a different primary residence, and rent the property at market rates. The IRS wants to see rental income being generated and the property being managed as an investment.
Report the rental income on Schedule E of your federal return.3Internal Revenue Service. About Schedule E (Form 1040), Supplemental Income and Loss Keep signed leases, records of tenant payments, and expense receipts. A separate bank account for rental income helps show the property is being treated as a business asset. Leaving the house empty rarely satisfies the IRS, because without active income there’s no evidence of investment intent.
Watch Out for Family Rentals
If you plan to rent the converted property to a relative, be careful. Under Section 280A, any day a family member uses the dwelling counts as personal use by you unless the family member pays fair market rent.4Office of the Law Revision Counsel. 26 USC 280A – Disallowance of Certain Expenses in Connection With Business Use of Home Family includes siblings, spouse, ancestors, and all lineal descendants. Renting to your adult child at a discount can convert those rental days into personal-use days and unravel the whole strategy.
How Long You Have to Wait: The Safe Harbor
Revenue Procedure 2008-16 gives taxpayers a concrete safe harbor for treating a former home as investment property. Meet the thresholds and the IRS will not challenge the property’s status. Miss them and you’re arguing subjective intent with an auditor.5Internal Revenue Service. Rev Proc 2008-16
The safe harbor looks at the two 12-month periods immediately before the exchange. In each of those periods, two conditions must be satisfied:
- The property must be rented to an unrelated party at fair market rent for at least 14 days.
- Your personal use of the property cannot exceed the greater of 14 days or 10% of the days it was rented at fair rent.
If you rented the property for 300 days in a 12-month period, your personal-use cap for that period is 30 days. If you only rented it for 100 days, the cap stays at 14, because 14 is greater than 10% of 100. These are bright-line thresholds, and being one day short can disqualify the exchange. Fair rental price is determined by the facts and circumstances when the lease is signed, so document comparable listings or get a comparative market analysis from a property manager.
The practical implication: plan on at least two full years as a legitimate rental before selling into an exchange. A shorter timeline puts you outside the safe harbor.
Vacation Homes and Second Homes
Properties used primarily for personal enjoyment don’t qualify for 1031 exchanges even if occasionally rented.6Internal Revenue Service. Like-Kind Exchanges Under IRC Section 1031 The IRS has specifically warned taxpayers to be skeptical of promoters who suggest otherwise. A vacation home has to go through the same conversion and satisfy the same day-count safe harbor as any other personal-use property.
Running the Exchange Once the Property Qualifies
Once the property is a bona fide rental, the standard 1031 rules apply. A few pieces are worth knowing before you commit.
You Cannot Touch the Money
The sale proceeds have to be held by a qualified intermediary between the sale of the relinquished property and the purchase of the replacement. If you receive the funds at any point, the IRS treats the transaction as a completed sale and the deferral is gone.7Internal Revenue Service. Revenue Procedure 2003-39 The QI takes assignment of your rights in the sale contract, collects the proceeds at closing, and disburses them to the seller of the replacement property.
Not everyone can serve as your QI. Anyone who has been your employee, attorney, accountant, investment banker, or real estate agent within the previous two years is disqualified, as are family members (siblings, spouse, ancestors, lineal descendants) and entities in which you hold more than a 10% interest. Someone who worked with you exclusively on prior 1031 exchanges can still serve. Look for a QI that carries fidelity bonds and errors-and-omissions insurance and holds funds in segregated accounts. Fees for a standard delayed exchange typically run $600 to $1,200.
The 45-Day and 180-Day Clocks
Two statutory deadlines start running the day you close on the sale of the converted property, and they don’t bend.1Office of the Law Revision Counsel. 26 USC 1031 – Exchange of Real Property Held for Productive Use or Investment
- You have 45 calendar days to identify potential replacement properties in writing, signed and delivered to your qualified intermediary before midnight on day 45.
- You must close on the replacement property within 180 calendar days of the sale. If your tax return is due before day 180, the deadline is the earlier date unless you file an extension.
Weekends, holidays, and personal emergencies do not extend either deadline. The only recognized exception is a federally declared disaster, where the IRS postpones deadlines for affected areas.8Internal Revenue Service. IRS Announces Tax Relief for Taxpayers Impacted by Severe Storms, Straight-Line Winds, and Flooding in Texas
During the 45-day identification window, the IRS limits how many properties you can name through three alternative rules:
- Three-property rule: identify up to three replacement properties of any value.
- 200% rule: identify any number of properties as long as their combined fair market value doesn’t exceed 200% of the relinquished property’s value.
- 95% rule: identify any number at any value, but actually acquire at least 95% of the total value identified.
Most exchangers use the three-property rule because it’s the simplest.
Boot Creates a Tax Bill
Anything you receive in the exchange besides like-kind real property is “boot,” and it’s taxable. You recognize gain up to the cash or fair market value of non-like-kind property received.1Office of the Law Revision Counsel. 26 USC 1031 – Exchange of Real Property Held for Productive Use or Investment Cash pulled out of the proceeds is the obvious form. Mortgage relief is the less obvious one: if the relinquished property carried a $300,000 mortgage and the replacement carries only $200,000, the $100,000 of net debt relief is treated as boot. To fully defer, reinvest the entire net proceeds and take on equal or greater debt.
Mixed-Use Properties: Duplexes and Home Offices
Some properties serve both roles. A duplex where you live in one unit and rent the other, or a home with a space used exclusively for business, can be split. The residential portion qualifies for the Section 121 exclusion, and the investment portion can go through a 1031 exchange. Allocation is typically based on square footage or relative fair market value.
The combination can cover more than either provision alone. On a duplex with $600,000 in total gain, a married couple filing jointly could shelter up to $500,000 on the residential half under Section 121 and defer the gain on the rental half through the exchange.2Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence
Moving Into an Exchange Property Later: The Five-Year Rule
Some taxpayers try the strategy in reverse: acquire a rental through a 1031 exchange, move in, and eventually sell using the Section 121 exclusion. Congress limited that. Section 121(d)(10) says that if you acquired the property through a 1031 exchange, you cannot claim the primary-residence exclusion until at least five years after the acquisition date, on top of meeting the standard two-out-of-five-years ownership and use test.9Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence Wait out the five years and satisfy the use test, and the exclusion becomes available.
What a Failed Exchange Costs
If the exchange fails, whether from missing a deadline, receiving boot, or falling short on qualified use, the transaction is treated as a straight sale. You owe long-term capital gains tax on the profit. For 2026, federal rates are 0%, 15%, or 20% depending on taxable income, with the 20% rate applying to single filers above $545,500 and joint filers above $613,700.
Depreciation recapture stacks on top at 25% on any depreciation claimed while the property was rented.10Internal Revenue Service. Depreciation Recapture High earners also face the 3.8% net investment income tax on capital gains if modified adjusted gross income exceeds $200,000 (single) or $250,000 (married filing jointly).11Internal Revenue Service. Net Investment Income Tax State income tax stacks on top of the federal bill and ranges from zero to over 10% depending on where you live. A failed exchange on a high-gain property can approach a combined 30% federal rate before state tax, which is why cutting corners on the safe harbor or the deadlines is genuinely expensive.