1031 Rules

Can You Do a 1031 Exchange on a Primary Residence? Rules, Exceptions, and Strategies

April 18, 2026
By Attorney Steve Wolterman, CES

Can You Do a 1031 Exchange on a Primary Residence? Rules, Exceptions, and Strategies

Can You Do a 1031 Exchange on a Primary Residence?

No. A primary residence does not qualify for a 1031 exchange. The IRS requires that both the relinquished property and the replacement property be held for investment or productive use in a trade or business. A home you live in as your primary residence is held for personal use, which disqualifies it from Section 1031 treatment.

The core answer: You cannot use a 1031 exchange to defer taxes on the sale of a home you live in. However, you may qualify for the Section 121 exclusion, which allows single filers to exclude up to $250,000 in gain and married couples to exclude up to $500,000 in gain from the sale of a primary residence.

The Section 121 Primary Residence Exclusion

Section 121 of the Internal Revenue Code provides a capital gains exclusion for the sale of a primary residence. To qualify, you must have owned and used the home as your primary residence for at least two of the five years immediately before the sale.

| Filing Status | Maximum Exclusion | |---|---| | Single | $250,000 | | Married filing jointly | $500,000 |

If your gain exceeds the Section 121 exclusion limit, the excess gain is subject to capital gains tax. A 1031 exchange cannot be used to defer the excess gain from a primary residence sale.

When a Home Can Qualify for a 1031 Exchange

A home that was previously used as a primary residence can qualify for a 1031 exchange if it has been converted to a rental property and held for investment for a sufficient period before the exchange.

The IRS does not specify a minimum holding period for a converted rental, but the Tax Court and IRS guidance suggest that holding the property as a rental for at least 12 to 24 months before the exchange provides a strong basis for qualifying.

Combining Section 121 and Section 1031

In some cases, investors can use both Section 121 and Section 1031 on the same property. Revenue Procedure 2005-14 allows taxpayers to apply the Section 121 exclusion first and then use a 1031 exchange to defer any remaining gain that exceeds the exclusion limit.

Example: A married couple sells a property they lived in for three years and rented for two years. The total gain is $800,000. They can apply the $500,000 Section 121 exclusion first, reducing the taxable gain to $300,000. They can then use a 1031 exchange to defer the remaining $300,000.

Frequently Asked Questions About 1031 Exchanges and Primary Residences

Can I sell my primary residence and use the proceeds to buy a rental property through a 1031 exchange? No. The property you sell must be held for investment at the time of sale. A primary residence is held for personal use and does not qualify.

Can I convert my primary residence to a rental and then do a 1031 exchange? Yes, if you hold the property as a rental for a sufficient period after conversion. A holding period of 12 to 24 months as a rental before the exchange provides a stronger case for qualifying.

Can I move into my 1031 exchange replacement property and make it my primary residence? Yes, but not immediately. Most tax advisors recommend holding the replacement property as a rental for at least 12 to 24 months before converting it to a primary residence.

[Schedule a free consultation](https://1031federal.com/contact) or call 513-586-6879.

Author

Attorney and Certified Exchange Specialist with over 20 years of experience guiding real estate investors through 1031 exchanges nationwide. Member of the Federation of Exchange Accommodators (FEA).

Ready to Start Your Exchange?

Fill out the form below and attorney Steve Wolterman will contact you within 1 business day.

1031 Federal Exchange

Contact Us Today

FREE CONSULTATIONS

513-586-6879

434 W Loveland Ave. Loveland, OH 45140

Serving clients nationwide

20+ Years of 1031 Exchange Experience
$100M+ in Capital Gains Taxes Saved
Certified Exchange Specialist (CES®)
Member of the FEA — Voice of the 1031 Industry

By submitting, you agree to be contacted regarding your 1031 exchange inquiry.