- What qualifies
- Real property held for business or investment, since 2018
- Name the new home
- Within 45 days of the sale closing
- Close on it
- Within 180 days, or by the return due date if sooner
- Safe harbor
- 24 months owned, rented 14 or more days in each 12-month period
- California
- FTB 3840 every year when the new home is out of state
What a like-kind exchange does
Section 1031 lets you swap one investment or business property for another and put off the tax on the gain. The tax is postponed, not erased. The gain you did not report is carried into a lower basis on the replacement home, and Form 8824 is where that carried-over basis is worked out. Sell the replacement later in an ordinary taxable sale and the old gain comes due along with any new one.
For exchanges after 2017 the rule reaches real property only, held for use in a trade or business or for investment, and not property held mainly for resale. Property in the United States and property in another country are not like-kind to each other. Inside the country the range is wide: a Big Bear cabin can be traded for a condo in San Diego, a house in the desert near Palm Springs, or a rental in Arizona, as long as every other requirement is met.
Why vacation homes get a closer look
A home used only as your residence is shut out, and the Form 8824 instructions say so in plain terms. Vacation homes sit in a gray zone because most owners both rent them and stay in them. The IRS laid out the problem in the background to Revenue Procedure 2008-16. It cited Moore v. Commissioner, where the Tax Court decided that lakeside homes were held for personal use, and repeated the court's point that expecting a home to go up in value does not on its own show an investment purpose.
The revenue procedure answered with a safe harbor. When a dwelling unit meets its tests, the IRS agrees not to challenge whether the unit was held for productive use in a business or for investment, even though you stayed there now and then. A dwelling unit for this purpose is real property improved with a house, apartment, condominium or something similar. The procedure covers exchanges of dwelling units on or after March 10, 2008.
Tests for the cabin you sell
The home you give up has to pass three tests under section 4.02 of the procedure:
- Ownership. You held it for at least 24 months immediately before the exchange.
- Rental. Within each of the two 12-month stretches in that window, you rented it to others at a fair rental for 14 days or more.
- Personal use. Within each of those same stretches, your own use stayed at or below 14 days, or at or below a tenth of the fair-rental days when that figure is larger.
Personal use is measured with the section 280A definitions, so nights used by you, a co-owner, close relatives, a home-swap partner, or anyone paying less than fair rent all land on the personal side. Our guide to counting personal use days has the full list. Whether a rental was at fair rental is judged on the facts at the time each agreement was made, so keep listing prices and booking confirmations.
For a cabin that books steadily, 14 rental days is a low bar. The personal use cap needs more planning, since a free week for a sibling counts against it just like your own visit.
Tests for the home you buy
Section 4.02 runs the same three tests forward on the replacement home, over the 24 months that follow the exchange: hold it at least that long, rent it at a fair rental for 14 days or more in each 12-month period, and keep personal use under the same cap. Because your return reporting the exchange is usually filed before those two years have passed, section 4.05 tells you what to do if the replacement later falls short. You should file an amended return and stop treating the transaction as a section 1031 exchange.
That matters most to owners whose long-term plan is to retire into the new home. If that is you, keep it on the rental market for the full two years and log every family visit. Falling outside the safe harbor does not settle the question against you, but it means the IRS has made no promise, and your CPA would have to support the investment purpose some other way.
The 45-day and 180-day clocks
Most vacation home exchanges are deferred. You close the sale of the old cabin first and buy the new one later. Treasury Regulation 1.1031(k)-1 starts two clocks on the day you transfer the old property:
- Identification period. It ends at midnight on day 45. The replacement must be named in a signed writing delivered to the right party, with a clear description such as a street address or legal description.
- Exchange period. It ends at midnight on day 180, or on the due date of your return including extensions, whichever comes first.
You may name up to three replacement properties of any value. You can name more than three only if their combined value at the end of day 45 is no more than 200 percent of the value of what you sold. Name too many and you are treated as having identified nothing, unless what you end up receiving before the deadline is worth at least 95 percent of everything you named.
A sale that closes in late fall can bump into April. If day 180 lands after your filing deadline, ask your CPA about an extension so the full exchange period stays open.
Keeping your hands off the money
The sale proceeds cannot reach you along the way. The regulation says that if you receive the full price in money or other property before you receive the replacement, the deal is a sale and not a deferred exchange. That is the job of a qualified intermediary, which holds the funds and, under the regulation's safe harbor, is not treated as your agent. The Form 8824 instructions add that related parties and people acting as your agent cannot fill that role.
Choose the intermediary before you sign the sale contract, because the paperwork has to be in place when escrow closes. Ask how the funds are held and what happens if the intermediary fails. The Form 8824 instructions point to a separate rule for intermediaries that default in bankruptcy, which tells you the risk is not theoretical.
Cash, loans and boot
Gain is recognized to the extent of money and other property you receive, and Form 8824 counts debt the buyer takes over through its net liabilities line. Losses on an exchange are not recognized. In practice, deferring all of the gain usually means buying a replacement worth at least as much as the cabin you sold and putting all the cash back in. Trade down in price, or keep some cash at closing, and expect tax on that portion.
Deals with relatives carry an extra hold rule. A related party, for this purpose, includes your spouse, a child, grandchild, parent or grandparent, along with certain siblings and entities. If either side disposes of the exchanged property within two years of the last transfer, the deferred gain generally has to be reported, with exceptions for death, involuntary conversion, and transactions that had no tax avoidance purpose.
California's extra filings
California watches gain on property that leaves the state. Since 2014, anyone who exchanges California real property for like-kind property outside California has to file Form FTB 3840 for the year of the exchange and for each year after, generally until the deferred California-source gain is recognized on a California return. The Franchise Tax Board says the source of that gain is preserved no matter when it is recognized, and a later exchange of the out-of-state home does not end the filing duty. If you file neither the form nor a return, the FTB may estimate your income and assess tax plus penalties and interest. Trading a Big Bear cabin for a home in Arizona is exactly this situation.
California also withholds on many real estate sales at closing. The 2026 Form 593 instructions treat a sale that is part of a deferred like-kind exchange as exempt from withholding at the first transfer. Cash or other property above $1,500 that comes out of the deal is withheld at 3 1/3 percent, and if the exchange never happens or does not qualify, the intermediary withholds 3 1/3 percent of the sales price. Our page on California withholding for out-of-state owners explains Form 593 in more detail.
Plans that change later
Two rules reach owners years after the exchange. If you later move into the replacement home and hope to use the home sale exclusion, section 121(d)(10) denies it for a sale within five years of the date you acquired the home in a like-kind exchange. And the gain you deferred on the old cabin is still built into the new home's basis, so a plain sale down the road brings it all back.
Before you list, gather three things for your CPA and intermediary: the dates and prices of every guest stay in the last 24 months, every personal use day in that window, and the markets where you might buy. Our team works across the mountain towns (Big Bear, Lake Arrowhead, Green Valley Lake) and also serves La Jolla and the San Diego area, and a free rental evaluation on a home you are considering puts its rental potential on paper before day 45. Exchange rules have traps and every deal has its own facts, so have a CPA confirm the plan before you sign a listing agreement.
Questions owners ask
Can I exchange my cabin for a home I plan to live in?
Not if it will be your residence from the start. The replacement must be held for investment or business use, and the safe harbor expects two years of rental with limited personal use after the exchange.
Do I have to buy a more expensive home?
To defer all of the gain you generally need to reinvest the full value and replace the debt that was paid off. Any cash or debt relief you keep is taxable to that extent.
Can I name a cabin in Lake Arrowhead and a condo in San Diego?
Yes. Under the three-property rule you can identify up to three replacements of any value, in a signed writing, within 45 days of closing on the old home.
What if day 180 falls after April 15?
The exchange period ends on day 180 or the return due date, whichever is earlier. An extension moves the due date, which can keep the full 180 days available, so ask your CPA to file one in time.
Does California still tax the gain if I buy in another state?
The deferred gain on California property keeps its California source. That is why FTB 3840 has to be filed each year until that gain is recognized on a California return.
Sources
- Revenue Procedure 2008-16, Internal Revenue Bulletin 2008-10
- IRS Instructions for Form 8824 (2025), Like-Kind Exchanges
- 26 CFR 1.1031(k)-1, Treatment of deferred exchanges
- FTB 2025 Instructions for Form FTB 3840, California Like-Kind Exchanges
- FTB 2026 Instructions for Form 593, Real Estate Withholding Statement
- 26 U.S. Code 121, Exclusion of gain from sale of principal residence
- 26 U.S. Code 280A, personal use of a dwelling unit
Checked November 2026. Rules change.




