Can You 1031 Exchange Your Primary Residence?

Suburban home with a wraparound porch, illustrating a 1031 exchange and primary residence tax decision

You have owned your home for years, watched its value climb, and now you are wondering whether a 1031 exchange can defer the tax when you sell. It is a fair question, and a timely one. In the stronger 2026 market, more owners are weighing a move out of an active, management heavy property into something more passive. The short answer is this: a 1031 exchange applies to property held for investment or for use in a trade or business, not to the home you live in. That is not the end of the story, though. Two sections of the tax code, Section 1031 and Section 121, can work together. With planning, a residence and an investment property can each unlock a different tax benefit.

Why a Primary Residence Does Not Qualify for a 1031 Exchange

Section 1031 defers capital gains tax when you exchange one investment or business property for a like-kind replacement property that you also hold for investment or business use. The key words are “held for investment.” Your personal residence is held for personal use, so it falls outside Section 1031 entirely.

Homeowners are not left without a tax break. They have their own provision, Section 121, the primary residence exclusion. Understanding how these two rules differ is the foundation for everything that follows.

Section 121 vs. Section 1031: Two Different Tax Breaks

Section 121 lets you exclude gain on the sale of a principal residence, up to $250,000 if you file single and $500,000 if you are married filing jointly. To qualify, you must have owned and lived in the home as your principal residence for at least two of the last five years. The exclusion is available once every two years, and second homes and vacation homes do not qualify.

Section 1031 does something different. It defers, rather than excludes, the tax on investment property, and there is no dollar cap on the amount you can defer. The tradeoff is process: you cannot touch the sale proceeds, you must use a qualified intermediary, and you have to meet the strict 45 to 180 day identification and closing deadlines.

One tool excludes a capped amount of gain permanently. The other defers an unlimited amount. The interesting planning happens when a property moves from one category to the other.

Turning a Rental Into a Home

Say you complete a 1031 exchange into a rental property, hold it as an investment, and years later decide to move in. Can you then use the Section 121 exclusion when you eventually sell? Yes, but three conditions apply.

First, there is a minimum five year holding period after the exchange before the Section 121 exclusion is available on a property that came out of a 1031 (Section 121(d)(10)). Second, you still have to meet the standard two of five years use test as your principal residence. Third, the exclusion is prorated for “nonqualified use.” Under the Housing Assistance Tax Act of 2008, the years the property was a rental before you converted it reduce the share of gain you can exclude. On top of that, any depreciation you claimed during the rental years is recaptured and taxed, and it can never be excluded.

A Worked Example

Suppose a married couple exchanges into a $600,000 rental through a 1031, rents it for three years, and claims depreciation along the way. Their intent changes, they move in, and they live there for five more years. Total ownership is eight years, which clears the five year holding rule.

Because they lived in the home for five of the eight years, roughly five eighths of the gain falls in the qualified use period and may be eligible for the Section 121 exclusion, within their $500,000 cap. The three eighths tied to the rental years stays taxable. Separately, the depreciation they claimed during the rental period is recaptured and taxed no matter what. The numbers here are illustrative; your CPA runs the actual allocation for your situation.

Turning a Home Into a Rental, Then Exchanging

The reverse order can be even more powerful. If you live in a home for at least two of the last five years, then convert it to a rental, Revenue Procedure 2005-14 lets you stack both benefits. You can exclude gain up to the Section 121 cap and defer the remaining gain above that cap through a 1031 exchange into like-kind replacement property. This is worth exploring when a long held home has appreciated well beyond the $250,000 or $500,000 exclusion limit.

The Split-Use Property

Some properties are part home and part investment, such as a duplex or fourplex where you live in one unit and rent the others. In that case you allocate. The portion used as your residence can qualify for the Section 121 exclusion, and the portion held for investment can qualify for Section 1031 deferral, each under its own set of rules.

Where DSTs Fit

For investors who exchange out of an active rental and no longer want the work of managing property, a Delaware Statutory Trust (DST) can serve as like-kind replacement property for the 1031 portion of the plan. DSTs let accredited investors hold fractional interests in institutional real estate. They are securities, offered only to accredited investors through a Private Placement Memorandum, and they are one option among several, not a recommendation for your situation.

The Bottom Line

You cannot run a 1031 exchange on the home you live in, but Section 121 and Section 1031 are complementary tools, and the order of operations changes the outcome. Converting a rental into a home carries a five year holding rule and a prorated exclusion. Converting a home into a rental can let you combine an exclusion with a deferral. In both cases, timing and documentation of your intent matter, and the planning has to happen before the sale, not after.

Weighing a move between a residence and investment property? Talk to a Specialist about your timeline, your exclusion eligibility, and your exchange options. You can also model your deadlines with the free 1031 Calculator.

This article is for informational and educational purposes only and is not tax, legal, or investment advice. My1031Options.com is an educational resource published by Medalist Diversified, Inc. (NASDAQ: MDRR), a publicly traded company and DST sponsor. This is not an offer to sell or a solicitation of an offer to buy any security. Securities are offered only by means of a Private Placement Memorandum (PPM) and only to accredited investors as defined in Rule 501 of Regulation D under the Securities Act of 1933. All investments involve risk, including the possible loss of principal. Consult your own CPA, tax attorney, and qualified financial professional before selling investment property or executing a 1031 exchange.

Next
Next

How DST Distributions Work