Skip to main content
1031Property.com — 1031 exchange & DST replacement property specialists
Tax Strategy

One Building, Two Tax Breaks: Splitting a Duplex Between Section 121 and a 1031

4 min read

By 1031Property Research TeamLast updated

Researched against current IRS guidance and reviewed before publication. Educational information only — not tax, legal, or investment advice. See our disclosures.

Owners of duplexes, triplexes and houses with a rented annexe often assume they must choose one tax treatment for the whole building. Either it is a home, or it is an investment property.

In fact a property used partly as your residence and partly as a rental is generally treated as two properties for tax purposes. The residence portion can use the home sale exclusion. The rental portion can be exchanged under Section 1031. Used together, the combination is one of the more powerful positions in real estate tax.

How does the split work?

The property is divided on a reasonable basis between the part used as your principal residence and the part used for investment or business.

Square footage is the most common method, although the number of units, or a combination of factors, may be more appropriate depending on the property. The split should be applied consistently to sale price, basis, selling costs and depreciation.

Once split, each portion is analysed separately.

What does Section 121 do for the residence half?

If you owned and lived in the property as your principal residence for at least two of the five years before the sale, the exclusion can apply to the gain allocated to that portion: up to 250,000 dollars, or 500,000 dollars for a married couple filing jointly.

That gain is excluded permanently, not deferred. No replacement property is needed and nothing has to be reinvested.

What does Section 1031 do for the rental half?

The gain allocated to the rental portion can be deferred if you exchange that portion into other investment real property, following the usual rules: a Qualified Intermediary engaged before closing, identification within 45 days, acquisition within 180 days, and reinvestment of the proceeds attributable to that portion along with replacement of any allocated debt.

Can both be used on the same sale?

Yes. The two provisions operate on different portions of the property, so there is no conflict. The residence portion is excluded, the rental portion is deferred.

This is why a duplex owner can sell, keep tax free cash from the residence half, and roll the rental half into another investment property without tax.

What about depreciation?

Depreciation claimed on the rental portion is not excluded by Section 121 and is generally recaptured on a taxable sale. In an exchange it is deferred along with the rest of the rental gain.

Depreciation claimed after May 6, 1997 on a portion used for business or rental is specifically not eligible for the exclusion, so it needs to be tracked accurately.

What if the whole property was once your home and later became a rental?

That is a different pattern with its own rules, including the nonqualified use provisions that reduce the exclusion for periods after 2008 when the property was not your principal residence. The analysis depends on the timeline of use.

What records do you need?

  • Square footage or unit based allocation, documented
  • Depreciation schedules for the rental portion
  • Evidence of residence use: voter registration, driver licence, utility bills, tax returns
  • Leases and rent records for the rented portion
  • Consistent allocation of basis, improvements and selling costs

An allocation invented at closing is much weaker than one supported by years of consistent reporting.

What are the practical complications?

Timing. The exchange side requires a Qualified Intermediary engaged before closing, while the residence side does not. The closing must handle both, with the proceeds attributable to the rental portion going to the intermediary and the residence portion coming to you.

Debt allocation. A single mortgage covering the whole property must be allocated between the portions for the exchange calculation.

Buyer indifference. The buyer purchases one property. The split exists in your tax reporting, not in their contract, though the settlement statement needs to route funds correctly.

What does a worked example look like?

Take a duplex bought for 400,000 dollars where you live in one unit and rent the other, an even split by square footage. You sell it for 900,000 dollars after twelve years.

Half the sale price, 450,000 dollars, is allocated to your residence. Against an allocated basis of 200,000 dollars, that is 250,000 dollars of gain, which a married couple could exclude entirely under Section 121.

The other half is the rental. Allocated basis is 200,000 dollars less the depreciation claimed on that unit, say 90,000 dollars, giving an adjusted basis of 110,000 dollars and a gain of 340,000 dollars. That portion can be exchanged into another investment property, deferring the whole amount including the depreciation recapture.

The result is tax free cash from one half and full deferral on the other. The figures are illustrative, and the actual allocation and depreciation would come from your records.

What to do first

Work out the allocation before you list, and check that your past tax returns support it. Tell your CPA and Qualified Intermediary early that the property is mixed use, because the closing has to be set up to handle two treatments at once. If the residence use is close to the two year test, timing the sale may matter.

Nothing here is tax, legal or investment advice. Allocation and eligibility depend on your facts. Confirm your position with your CPA before selling.

Ready to see real options?

Get illustrative DST, net-lease, and fund options matched to your situation — free, no obligation.

This article is educational and not tax, legal, or investment advice. 1031 exchanges are complex — consult your own CPA and attorney. DST and fund offerings are securities available to accredited investors only; all examples are illustrative.