You can live in a 1031 exchange property, but not straight after closing. The IRS requires the replacement property to be held for investment first, and the cleanest way to prove that is the safe harbor in Revenue Procedure 2008-16: rent it at fair market value for at least two years before you move in. A separate five-year ownership rule then controls whether you can use the home-sale capital gains exclusion if you ever sell.
Why You Can’t Move In Right Away
Section 1031 defers capital gains tax when you swap one investment property for another of like kind, but both the property you sell and the one you buy have to be held for productive use in a business or for investment.1Office of the Law Revision Counsel. 26 USC 1031 Exchange of Real Property Held for Productive Use or Investment Moving into the replacement property right after closing gives the IRS a reason to conclude you never had investment intent, which voids the deferral and makes the full gain from the original sale taxable.
Intent is judged on the facts and circumstances around the purchase. Signed leases, rental listings, and rental income reported on your tax return all support an investment purpose. The burden is on you to show the property was bought to produce income rather than to house you. Since the Tax Cuts and Jobs Act of 2017, only real estate qualifies for Section 1031 treatment, so this analysis applies entirely to real property.2Internal Revenue Service. Like-Kind Exchanges – Real Estate Tax Tips
The Two-Year Rental Safe Harbor
Revenue Procedure 2008-16 gives you a bright-line way to establish investment intent. If you meet its conditions, the IRS will not challenge whether your replacement property qualifies as held for investment.3Internal Revenue Service. Revenue Procedure 2008-16 The 24 months after the exchange are divided into two 12-month periods, and each period has its own rules:
- You must rent the property to another person at a fair market rate for at least 14 days.
- Your personal use cannot exceed the greater of 14 days or 10 percent of the days the property is rented at fair market value.
Personal use includes any day you, a family member, or anyone else stays in the property without paying fair market rent. Whether a rate is “fair” turns on all the facts and circumstances when the lease is signed, including each side’s rights and obligations. Renting to a relative at a discount can convert those days into personal use and break the safe harbor.
Missing the safe harbor is not automatic disqualification. The procedure simply says the IRS “will not challenge” your exchange when the conditions are met. Rent for only 12 days in one period instead of 14, and the exchange can still hold up on its own facts, but you have lost the shield and invited scrutiny. Hitting the two-year rental period cleanly is the strongest position you can be in before moving in.
Making the Switch to a Primary Residence
After a full 24 months of qualifying rental use, converting the property to your home should look like a genuine change in plans, not the final step of a strategy you had all along. If the IRS decides you always intended to move in, the exchange can be undone and back taxes plus interest assessed.
Documentation carries the weight. Update your driver’s license, voter registration, and homeowner’s insurance to the new address when you move in. Keep every lease agreement, rent receipt, and tax return that reported rental income. And make sure Form 8824 was filed with the return for the year of the original exchange, showing the property descriptions, dates of transfer, and calculation of deferred gain.4Internal Revenue Service. Instructions for Form 8824
If something outside your control forces an earlier move, such as a job relocation, a serious health condition, or a divorce, keep records of what happened. Section 121 offers a partial capital gains exclusion when a sale is triggered by a change in employment, health, or certain unforeseen circumstances, and the partial amount is proportional to how much of the two-year use requirement you completed.5Office of the Law Revision Counsel. 26 USC 121 Exclusion of Gain From Sale of Principal Residence
The Five-Year Wait Before You Can Use the Home-Sale Exclusion
Homeowners can normally exclude up to $250,000 of gain, or $500,000 for a married couple filing jointly, when they sell a home they owned and used as a primary residence for at least two of the five years before the sale. Property acquired through a 1031 exchange carries an extra restriction: no Section 121 exclusion is available at all during the first five years after you acquire the replacement property.5Office of the Law Revision Counsel. 26 USC 121 Exclusion of Gain From Sale of Principal Residence
Selling a converted 1031 property before that five-year mark makes the entire gain taxable at capital gains rates, no matter how long you actually lived there. To get any exclusion at all, you need both five years of ownership and two years of residence. A sale timed even a few months early can cost tens of thousands of dollars that would otherwise be excludable.
How Rental Years Shrink Your Exclusion
Clearing the five-year threshold and the two-year residence test still will not let you exclude all of your gain. Section 121 requires the gain to be split between “qualified” and “nonqualified” use. Nonqualified use is generally any period after 2008 when the property was not the primary residence of you, your spouse, or your former spouse.6Office of the Law Revision Counsel. 26 USC 121 Exclusion of Gain From Sale of Principal Residence The gain assigned to nonqualified years is taxable.
The math is a simple ratio: months of nonqualified use divided by total months of ownership. Own the property for 10 years, rent it for the first 4, live in it for the last 6, and 48 out of 120 months (40 percent) of the gain is nonqualified and taxable as a long-term capital gain. The other 60 percent is eligible for the exclusion, up to the $250,000 or $500,000 cap.
Depreciation Recapture Still Applies
Depreciation you deducted against rental income during the investment years comes back at sale as taxable income. The Section 121 exclusion does not cover any gain attributable to depreciation taken after May 6, 1997.6Office of the Law Revision Counsel. 26 USC 121 Exclusion of Gain From Sale of Principal Residence
Recaptured depreciation is taxed at a maximum federal rate of 25 percent, higher than the long-term capital gains rate most taxpayers face. If you claimed $50,000 of depreciation while renting, that $50,000 is taxable at up to 25 percent when you sell, even when the rest of your gain is fully excluded. Keep the depreciation schedule for every rental year; you will need it to calculate the tax correctly at closing.