CPA-led 1031 exchange guide

Section 121 and 1031 Exchanges: Primary Residences, Second Homes and Vacation Homes

A primary residence uses Section 121, the home sale exclusion: up to $250,000 of gain, or $500,000 for most married couples filing jointly, if you owned and used the home as your main home for at least 2 of the 5 years before the sale. A 1031 exchange applies only to property held for investment or for use in a business, so a home used solely as a personal residence does not qualify. Mixed-use property and converted rentals can use both, and a vacation home can qualify for a 1031 exchange if it meets the rental and personal-use tests.

The short answer

  • Section 121: exclude up to $250,000 of gain ($500,000 for most joint filers) after 2 of the last 5 years of ownership and use as a main home.
  • Section 1031 does not apply to property used solely as a personal residence.
  • Rev. Proc. 2005-14 lets one sale use both: Section 121 is applied first, then Section 1031.
  • A home acquired in a 1031 exchange must be held at least 5 years before its sale can use the Section 121 exclusion.
Illustrative investment-property architecture
Illustrative imagery, not a client property or completed exchange.

The Section 121 home sale exclusion

You can exclude up to $250,000 of gain on the sale of your main home, or up to $500,000 for most married couples filing jointly, if you owned the home and used it as your main home for periods adding up to at least 2 years during the 5 years before the sale. The exclusion generally cannot be used more than once every 2 years. It does not cover gain from depreciation claimed after May 6, 1997, for business or rental use of the home. Sales of business property are covered separately in IRS Publication 544.

Can a primary residence be exchanged under Section 1031?

Not if it is used solely as a personal residence. Section 1031 is limited to real property held for productive use in a trade or business or for investment. A residence that was converted to a rental, or a property with a home office or rental unit, can have an investment or business portion that qualifies.

Using Section 121 and Section 1031 on the same sale

Rev. Proc. 2005-14 covers a property that qualifies for both, such as a former residence that was rented out before the sale, or a home with a business portion. Section 121 is applied first to exclude gain, and Section 1031 then defers the remaining gain, including gain from depreciation that Section 121 does not cover. Cash you receive is treated as boot only to the extent it exceeds the gain excluded under Section 121.

Vacation homes and second homes: the Rev. Proc. 2008-16 safe harbor

A second home used only by you is personal-use property. A vacation home that is also rented can qualify, and Rev. Proc. 2008-16 gives a safe harbor. The IRS will not challenge whether a dwelling unit was held for investment if:

  • You owned the relinquished unit for at least 24 months immediately before the exchange, and the replacement unit for at least 24 months immediately after.
  • In each of the two 12-month periods, you rented the unit to another person at a fair rent for 14 days or more.
  • In each of those periods, your personal use did not exceed the greater of 14 days or 10% of the days it was rented at a fair rent.

Moving into a property you received in a 1031 exchange

You can convert replacement property to your residence later, but Section 121(d)(10) blocks the home sale exclusion if you sell a property acquired in a 1031 exchange within 5 years of acquiring it. After 5 years, the usual 2-of-5-year ownership and use test still applies. See the 1031 exchange 5 year rule guide.

Ask Brandon about a home or second home

Selling a home that was also a rental, or a vacation home? Tell Brandon about the property. He replies directly, and your details are not sold.

Frequently Asked Questions

Can I do a 1031 exchange on my primary residence?

Not on a home used solely as a personal residence. A former residence converted to a rental, or the business portion of a home, can qualify, and Rev. Proc. 2005-14 lets Section 121 and Section 1031 both apply to the same sale.

Can I 1031 exchange a vacation home?

It can qualify if it is held for investment. Rev. Proc. 2008-16 gives a safe harbor: 24 months of ownership, at least 14 days of fair-rent rental in each of two 12-month periods, and personal use within the greater of 14 days or 10% of rental days.

What is the Section 121 exclusion?

An exclusion of up to $250,000 of gain on the sale of a main home, or up to $500,000 for most joint filers, after at least 2 years of ownership and use as a main home during the 5 years before the sale.

Can I move into a property I bought in a 1031 exchange?

Yes, but a sale within 5 years of acquiring it cannot use the Section 121 exclusion under Section 121(d)(10), and the property should have been held for investment when you acquired it.

Is a second home the same as an investment property?

Not for Section 1031. A second home used only personally does not qualify. Rental use at a fair rent, within the Rev. Proc. 2008-16 limits, is what supports investment intent.

Sources

General educational information only. Not tax, legal, or financial advice. Your own tax and legal advisers should review your specific facts.