Yes. When a property has both personal-use and investment-use periods, Section 121 (the home-sale exclusion) can exclude up to $250K single or $500K joint of gain attributable to the personal-use period, and Section 1031 can defer the rest tied to the investment-use period. The combo requires careful allocation, satisfying both sections' holding-period rules, and — for property acquired in a prior §1031 — observing the §121(d)(10) five-year hold-from-exchange requirement.
The §121 + §1031 combo is a powerful tool for investors who have a property with both personal and investment-use history — converted residences, house hacks, vacation rentals that started as second homes. Done correctly, the combination can shield several hundred thousand dollars from tax that neither section alone would protect.
Section 121 Basics (the 2-of-5 Rule and $250K/$500K)
IRC §121 lets a taxpayer exclude from federal income tax up to $250,000 of gain on the sale of a primary residence ($500,000 for married-filing-jointly couples). To qualify:
- Ownership test. Owned the property for at least 2 of the last 5 years before sale.
- Use test. Used the property as the primary residence for at least 2 of the last 5 years before sale.
- Frequency test. Have not claimed the §121 exclusion on another sale within the last 2 years.
The 2-year periods do not have to be continuous — split periods totaling 24 months in the 5-year look-back work. Both spouses must meet the use test for the $500K exclusion (only one needs to meet the ownership test).
For a pure primary residence with no investment use, §121 alone usually covers the gain. Median home appreciation over a typical hold falls within the $250K-$500K shield. The combo with §1031 only matters when the property has a non-trivial investment-use period.
When the Same Property Qualifies for Both
The §1031 + §121 combo applies in three classic fact patterns:
- Converted residence. Lived in the property for 2+ years, then converted to a rental for 2+ years, then sold. §121 excludes the gain attributable to the personal-use period (limited to the $250K/$500K cap). §1031 defers the gain attributable to the investment-use period.
- Mixed-use (house hack). Owner-occupied one unit while renting the others. Each unit's gain is allocated based on use. The owner-occupied unit qualifies for §121; the rental units qualify for §1031.
- Replacement-then-residence. Bought via §1031 as a rental, held as a rental for 2+ years, converted to primary residence, lived in it for 2+ years, sold. §1031 deferral on original gain combines with §121 exclusion on residential-period gain — subject to the §121(d)(10) 5-year rule discussed below.
In each case, the gain is split between sections proportionally based on use. The split is fact-specific and requires careful documentation (square footage allocation, time-period allocation, or another reasonable methodology).
Mixed-use 1031 question?
We document the §1031 portion of mixed-use exchanges and coordinate with the §121 allocation. $799 flat-fee forward exchanges; same-day exchange opening on the first call.
Call (725) 224-5008Allocating Gain Between Personal and Rental Use
The gain allocation between §121-excluded and §1031-deferred portions is the technical center of the combo. Two common approaches:
- Time-based allocation. The portion of the holding period during which the property was used as a primary residence vs as an investment. A property held 5 years total — 2 as residence, 3 as rental — would allocate 40% of the gain to §121 (residence period) and 60% to §1031 (rental period).
- Square-footage allocation. For mixed-use properties (house hacks, primary residence with home office), the portion of the property used personally vs commercially. A 2,400 sq ft house with a 600 sq ft rental ADU allocates 75% to §121 and 25% to §1031.
The IRS has not blessed a single allocation methodology. Either approach is defensible if applied consistently and documented contemporaneously. The cleanest evidence is allocation done by a CPA or appraiser at sale, not reconstructed years later.
Important: post-2008, the IRS imposed a "non-qualified use" period under §121(b)(5). Periods of investment use AFTER 2009 reduce the §121 exclusion proportionally. Investment use BEFORE conversion to a primary residence is treated more favorably than investment use after converting back from primary residence. The mechanics are technical and depend on chronological order of use.
The 5-Year §121(d)(10) Rule for Property Acquired in a 1031
For a replacement property acquired via §1031, an additional rule layers on top: IRC §121(d)(10) requires the property to be held for at least 5 years before the §121 exclusion can be claimed. The 5-year clock runs from the original §1031 closing date, not from the conversion to primary residence.
Combined timeline for a §1031-then-§121 sequence:
- Day 0: §1031 exchange closes. Replacement property is now investment property.
- Months 1-24+: Hold as a rental (satisfies §1031 investment-intent requirement).
- Month 24+: Convert to primary residence.
- Months 25-60: Live in property as primary residence (satisfies §121 use-test as 2-of-last-5 accumulates).
- Month 60+: Now eligible for §121 exclusion. Sell.
Selling earlier than month 60 forfeits the §121 exclusion entirely, even if all other §121 requirements are met. The 5-year rule is non-negotiable for §1031-acquired property.
Mixed-Use Sequencing (Convert, Wait, Sell)
For investors who plan to use the §1031 + §121 combo, sequencing matters more than most other §1031 considerations. The cleanest pattern:
- Acquire via §1031. Document investment intent in the exchange agreement and purchase contract.
- Rent for 24+ months. Schedule E reporting, fair-market rent to arm's-length tenants, depreciation as a rental on the federal return.
- Convert to primary residence. Move in, change utility bills, register address, file local homestead exemption if available.
- Live in property for 2+ years. The §121 use-test requires 2 of the last 5 years as primary residence.
- Wait for the §121(d)(10) 5-year mark. If 24-month rental + 24-month residence puts the taxpayer at month 48, hold for another 12 months to reach month 60.
- Sell. §121 excludes the first $250K-$500K of gain; §1031 (if doing another exchange) defers the rest.
For taxpayers who skip a step or compress the timeline, the IRS audit position is to disallow §121, §1031, or both. The amounts at stake (potentially $250K-$500K of §121 exclusion) make the wait worth it.
Simple 1031 LLC handles QI mechanics for §1031 exchanges including §121-combo planning. We are a Qualified Intermediary and do not provide tax, legal, or investment advice — §121 + §1031 sequencing, allocation methodologies, and the §121(d)(10) five-year rule are CPA work that requires modeling before the conversion is initiated.
Frequently Asked Questions
What's the 5-year rule for 1031-to-121?
IRC §121(d)(10) requires that property acquired in a §1031 exchange be held for at least 5 years before the §121 home-sale exclusion can be claimed on its sale. The 5-year clock runs from the original §1031 closing date, not from any later conversion to primary residence. Combined with the §121 use-test (2 of last 5 years as primary residence), this creates a 60-month minimum hold from §1031 closing before the exclusion is available.
Can I use 121 on only part of a property?
Yes — for mixed-use properties where part is owner-occupied and part is rental. The personal-use portion qualifies for §121 (subject to the 2-of-5-year use test); the rental portion qualifies for §1031 deferral. Allocation is typically done by square footage or by time period of use, with the taxpayer's CPA documenting the methodology contemporaneously. Either reasonable approach is acceptable to the IRS.
Does a house hack qualify for a 121/1031 combo?
Yes. A duplex or larger building where the owner lives in one unit and rents the others is a textbook §121/§1031 combo case. The owner-occupied unit qualifies for §121 if the 2-of-5-year use test is met. The rental units qualify for §1031 deferral as investment property. The portion of the gain allocated to each section is determined by square footage or another reasonable allocation.
What's the 2-of-5 year rule?
IRC §121's ownership and use tests both require 2 years of qualifying status during the 5-year period ending on the date of sale. The 2 years do not have to be continuous — split periods totaling 24 months work. Both spouses must meet the use test for the joint $500K exclusion; only one must meet the ownership test. Failure to satisfy either test eliminates the §121 exclusion entirely on that sale.
Can I 1031 into a property, live in it, then claim 121?
Yes, with the §121(d)(10) five-year rule applied. After the §1031 closing, hold the property as an investment for at least 24 months (the §1031 safe-harbor period), then convert to primary residence. Live in it for at least 2 years to satisfy the §121 use-test. Wait until the §121(d)(10) 5-year minimum from §1031 closing is met. Then sell — §121 excludes up to $250K/$500K of gain, and the original §1031 deferral may continue if you do another exchange on the rest.
Section 121 + 1031 Combo?
Simple 1031 LLC handles QI mechanics for §1031 exchanges including §121-combo planning. $799 flat fee for forward exchanges, $5M Fidelity Bond and $10M E&O coverage, segregated escrow on every file.