Mixed-Use Property 1031 Exchange Rules: Complete Guide With a Duplex Example

Category:
1031 exchange process

Short answer

A mixed-use property is one you use partly as your home and partly for rental or business, like a duplex where you live in one unit, a building with your apartment over a rented store, or a farm with your farmhouse on it. Only the rental or business part can go into a 1031 exchange. The part you live in may qualify for the home sale exclusion under §121 instead, up to $250,000 of gain, or $500,000 for a married couple filing jointly. Used together, the two rules can leave little or no tax on the sale. Vacation homes with some personal use follow a separate safe harbor, covered below.

Jon Hilley
Reviewed by Jon Hilley, CEO & Founder, 1031 SpecialistsLast reviewed November 12, 2026
Common mixed-use properties and how they're split
Property1031 partPersonal part
Duplex, you live in one unitThe rented unitYour unit (§121 if you qualify)
Store with your apartment aboveThe storeThe apartment
House with a rented ADU or guest houseThe ADUThe main house
Farm or ranch with your farmhouseFarmland and farm buildingsHouse and home site
Bed and breakfast where you live on siteGuest rooms and common business areasYour living quarters
Vacation home rented most of the yearThe whole property, if it meets the safe harborNone, if personal use stays within limits

What makes a property "mixed-use" for 1031 purposes?

Mixed-use, for exchange purposes, means a property combines personal use with business or investment use. Under IRC §1031, only property held for productive use in a trade or business or for investment qualifies. Your home doesn't. So the first job is to split the property into its personal and investment parts, usually by square footage or by appraised value of each part.

Combining Section 121 and Section 1031

Rev. Proc. 2005-14 confirms that one sale can use both sections. §121 is applied first to the home part, then §1031 to the rental or business part. Gain from depreciation taken after May 6, 1997 can't be excluded under §121, but it can be deferred under §1031. The home sale exclusion under IRC §121 generally requires that you owned and lived in the home for at least two of the five years before the sale, and you can use it once every two years. The IRS explains the home rules in Publication 523.

Worked example: selling a duplex

A married couple lived in one unit of a side-by-side duplex for 10 years and rented the other. The units are the same size, so everything is split 50/50.

ItemTheir unit (home)Rented unit
Share of net sale price ($800,000)$400,000$400,000
Share of original basis ($300,000)$150,000$150,000
Depreciation taken$0-$60,000
Adjusted basis$150,000$90,000
Gain$250,000$310,000
TreatmentExcluded under §121Deferred under §1031
What they must doNothing: the $400,000 is theirsSend the rental share to a QI and buy at least $400,000 of replacement property

Total tax on $560,000 of gain: none, if they meet both sets of rules. The rental half needs a separate exchange paper trail, so the purchase agreement and settlement statement should show the split. See duplex exchanges and how primary residences fit into 1031.

Revenue Procedure 2008-16: the vacation home safe harbor

For a single dwelling you rent out but also use sometimes, such as a beach house, Rev. Proc. 2008-16 gives a safe harbor. The IRS will not challenge whether the unit was held for investment if:

  • Relinquished property: you owned it for at least 24 months immediately before the exchange, and in each of those two 12-month periods you rented it at a fair rental for at least 14 days, and your personal use did not exceed the greater of 14 days or 10% of the days it was rented.
  • Replacement property: the same tests apply to the 24 months immediately after the exchange.

Days a family member uses the property count as personal use, unless the family member rents it at fair rent as their principal residence. Falling outside the safe harbor doesn't automatically disqualify the property, but you lose its protection. See second homes and Airbnb exchanges.

Buying a mixed-use replacement

You can buy a building where you will live in part. Only the investment part counts as replacement property. Example: you exchange $900,000 into a $1,200,000 building with a store and your apartment upstairs, and the apartment is worth $300,000. The store part, $900,000, is your replacement. If exchange money pays for the apartment part, it isn't reinvested in like-kind property, and that amount is taxed. Pay for your living space with your own money or a separate loan.

Moving into the replacement later

Some investors plan to rent the replacement for a while and then move in. Two rules matter:

  • Five-year rule. Under §121(d)(10), if you acquired the home in a 1031 exchange, you can't use the home sale exclusion if you sell within five years of acquiring it.
  • Non-qualified use. Periods after 2008 when the property wasn't your main home can reduce the exclusion.

Also make sure the original intent was investment: moving in right after the exchange suggests it wasn't. See the 1031 two-year rule and selling a 1031 property later.

Common pitfalls to avoid

Improper allocation

Closing statements often credit the buyer for prorated rent and security deposits. Those credits belong to the rental part only. If they reduce the whole sale price, they shrink the home and rental shares in proportion, which misstates both.

Family member rentals

Renting the unit or vacation home to a relative counts as personal use unless they pay fair rent and it is their principal residence.

No allocation in the contract

Write the split into the purchase agreement, supported by square footage or an appraisal; see appraisals in a 1031 exchange.

Forgetting legal and zoning limits

Mixed-use buildings can carry zoning, lending and condo rules that limit how each part is used. Check them before you identify a replacement.

Documentation requirements

  • Leases and rent records showing fair market rent
  • A calendar of personal use days and rental days
  • Property management records
  • Separate accounting and depreciation for each use
  • The allocation method used on the sale and purchase

Strategic planning for mixed-use properties

Start early. Sign up with a qualified intermediary before the sale closes (with 1031 Specialists' "pay when you close" policy, you pay our fee only when your exchange closes), and have your tax advisor confirm how basis and gain are split between home and rental use. For more on home and investment overlap, read commercial to residential exchanges. Want to estimate the result? Try the 1031 exchange calculator, read the 1031 Bible, or start your exchange.

Frequently asked questions

Can I exchange a duplex where I live in one unit?

Yes, but only the rented unit qualifies for 1031. The unit you live in may qualify for the §121 home sale exclusion.

How do I prove fair market rent for the safe harbor?

Keep comparable rental listings, a rent survey from a local professional, or an appraisal, along with your leases and rent records.

Can I rent to my adult child and still qualify?

Only if they pay fair rent and use the property as their principal residence. Otherwise their days count as your personal use.

What if I exceed the 14-day personal use limit?

You lose the safe harbor's protection, but the property can still qualify if you can show it was held mainly for investment.

How is basis allocated in a mixed-use exchange?

Usually by fair market value or square footage of each part. Your tax advisor should confirm the method.

Sources

This article is general information, not tax or legal advice. Talk to your CPA or tax attorney about your situation.

See If You Qualify for a 1031 Exchange

If you own a property as an investment or a property used to operate a business, you likely qualify for a 1031 exchange. To ensure your eligibility, click below and answer our short questionnaire.

Does My Property Qualify?

See If You Qualify for a 1031 Exchange

If you own a property as an investment or a property used to operate a business, you likely qualify for a 1031 exchange. To ensure your eligibility, click below and answer our short questionnaire.

Does My Property Qualify?

Start Your 1031 Exchange Today

We are the 1031 Specialists trusted by sophisticated investors and family offices to facilitate fast, transparent, and error-free 1031 exchange transactions.

Book a Free Consultation Now

Start Your 1031 Exchange Today

We are the 1031 Specialists trusted by sophisticated investors and family offices to facilitate fast, transparent, and error-free 1031 exchange transactions.

Start Your Exchange

Get The 1031 Bible In Your Inbox

Download our whitepaper to learn how sophisticated investors, family offices, and even former US Presidents have created immense wealth through the power of 1031 compounding.

Download Whitepaper

Articles You Might Find Useful

╳
╳