Section 121 vs. Section 1031: Use, Cash, and How the Rules Interact

Comparison15 min readUpdated on 2026-10-30
Educational content, not professional advice.

This content is for general educational and informational purposes only.

This is not tax advice. Consult a CPA or tax attorney for tax matters.

This is not legal advice. Consult a licensed attorney for legal matters.

Full Disclaimer

Start with the ownership, principal-residence, and rental-use timeline. Check the ownership, residence, spouse, and prior-use tests for Section 121 separately from the property-use, replacement-property, and exchange-procedure requirements for Section 1031. A personal-use home does not qualify for Section 1031 merely because the seller buys another home. If the same transaction genuinely qualifies under both provisions, Rev. Proc. 2005-14 generally applies the eligible Section 121 exclusion first, then analyzes the remaining gain under Section 1031, including any boot and replacement basis. Also compare a taxable sale, a partial exchange, or continued ownership against the cash need and investment risk.

Key takeaways

  • 1Section 121 does more than ask whether you lived in the home for two years, and Section 1031 is not mandatory for every rental-property seller.
  • 2An exclusion and a deferral work differently. Neither rule guarantees that all federal, state, or estate taxes will permanently be zero.
  • 3Section 121 generally does not require buying another home. A qualifying deferred Section 1031 exchange generally has a 45-day identification deadline and a 180-day exchange period, shortened when the tax return due date (including extensions) comes first.
  • 4For a transaction that qualifies under both rules, Rev. Proc. 2005-14 applies Section 121 first and then analyzes Section 1031. The same gain cannot be excluded and deferred twice.
  • 5Depreciation gain that Section 121 cannot exclude may still need separate Section 1031 analysis; it is not all automatically taxed at a 25% rate.
  • 6Moving between personal and rental use, and using a property acquired in a Section 1031 exchange as a home, involve different limits. A one- or two-year rental rule of thumb does not establish every requirement.

?Popular Questions

See what others are asking

If the property is not the seller’s home on the sale date, is Section 121 automatically unavailable?
Does every rental-property seller have to complete a Section 1031 exchange?
Do both rules let the owner reset all of the old tax basis to current market value?
View all FAQ (4)

How to Choose

1

Identify your needs

Do you need Section 121 principal-residence exclusion or Section 1031 like-kind exchange? Match your scenario below

2

Compare key differences

The comparison table covers 6 key dimensions

3

Make your decision

Review detailed analysis and cases to confirm your choice

Who should choose

Section 121 principal-residence exclusion

A sale or exchange with a documented principal-residence history and verified eligibility, rather than a decision based on a single two-year occupancy slogan.

✓ Generally does not require buying a replacement home.✗ Ownership, residence, prior-use, and spouse requirements must be checked separately.
Section 1031 like-kind exchange

A verified qualifying exchange when the investor can complete the replacement transaction and wants to continue investing; it is not required for every rental-property seller.

✓ Can be analyzed for full or partial deferral based on the actual transaction.✗ Property type, use, deadlines, and control of proceeds limit whether an exchange can be completed.

Comparison Table

Tax treatment and property covered

Section 121: principal-residence gain exclusion
May exclude gain on a qualifying principal residence. It is not a credit against the sale price or cash received, and not every household qualifies for the maximum exclusion.
Section 1031: like-kind real-property exchange deferral
May defer gain on a qualifying exchange of business or investment real property. Personal-use property and property held primarily for sale are treated differently; deferred gain generally carries into the replacement property basis.

Eligibility history and property use

Section 121: principal-residence gain exclusion
The general test requires ownership and use as a principal residence for an aggregate of at least two years during the five-year period ending on the sale date, and the prior-use limitation also matters. The full joint-filer exclusion has additional ownership, residence, and prior-use requirements.
Section 1031: like-kind real-property exchange deferral
The relinquished and replacement property must meet the applicable real-property and business-or-investment-use requirements. There is no universal one- or two-year rental rule that guarantees qualification; related-party transactions need separate review.

Limits and gain that remains taxable

Section 121: principal-residence gain exclusion
The general maximum is $250,000, or up to $500,000 for eligible joint filers. Partial exclusions and household-specific rules may apply; depreciation and nonqualified use can limit the amount actually excludable.
Section 1031: like-kind real-property exchange deferral
There is no matching $250,000 or $500,000 statutory gain cap, but deferral is limited by realized gain, cash or other non-like-kind consideration, liabilities, expenses, and other exchange rules. It is not automatically complete.

Cash and transaction deadlines

Section 121: principal-residence gain exclusion
Generally there is no replacement-home purchase or Section 1031 qualified-intermediary requirement. Information reporting, including a Form 1099-S, may still apply; a zero-tax result does not automatically eliminate filing obligations.
Section 1031: like-kind real-property exchange deferral
A deferred exchange generally requires written identification within 45 days and receipt of replacement property by the earlier of 180 days or the tax-return due date, including extensions. Control of proceeds and a qualified intermediary can matter; not every exchange uses the same structure.

Depreciation and replacement basis

Section 121: principal-residence gain exclusion
Gain attributable to depreciation allowed or allowable for periods after May 6, 1997 generally is not excludable under Section 121. In a qualifying combined transaction, the Section 121 exclusion also affects the Section 1031 boot and replacement-basis calculations.
Section 1031: like-kind real-property exchange deferral
The deferred portion is generally reflected in the replacement property’s carryover basis. Ordinary-income recapture, unrecaptured Section 1250 gain, and personal property are distinct issues; a debt reduction must be analyzed with the full exchange consideration, including additional cash.

Changes in use and continuing obligations

Section 121: principal-residence gain exclusion
The nonqualified-use rules and the separate restriction on using Section 121 for property acquired in a Section 1031 exchange within the prior five years must be checked independently. Exceptions depend on the facts; moving in for two years does not guarantee that all gain is excludable.
Section 1031: like-kind real-property exchange deferral
A change in use must be genuine and supported by the facts. Keep basis and Form 8824 records. A California exchange of California real property for out-of-state real property may require continuing Form 3840 reporting even after a move.
Learn More

Build a timeline for how the property was acquired, who owns it for tax purposes, each owner’s residence and rental or business use, and each spouse’s prior use of the exclusion. Separately calculate adjusted basis, depreciation, selling expenses, liabilities, and expected proceeds; cash received at closing is not the same as taxable gain.

For Section 121, verify the general tests, any partial exclusion or specific household exception, and the current nonqualified-use and depreciation rules. For Section 1031, verify the use of both properties, any related-party issues, the identification and acquisition deadlines, and actual control of the exchange proceeds.

A personal-use home does not qualify simply because the replacement is another home, and a change in use does not automatically make both provisions available. If the transaction qualifies for both, Rev.

Proc. 2005-14 generally applies Section 121 first and then analyzes the remaining eligible gain under Section 1031; the exclusion also affects the boot and replacement-basis calculations under that procedure.

Allocate consideration and basis consistently when a property has distinct residential and business portions; living in a main home does not by itself extend residence treatment to a separate rental unit that was never occupied.

The 2005 procedure does not replace later nonqualified-use rules or current limits on Section 1031 property. Finally compare spendable cash, current tax, replacement-investment risk, ongoing costs, and who will maintain federal and state tax-basis and reporting records.

Details

1Section 121 principal-residence exclusion

Best for: A sale or exchange with a documented principal-residence history and verified eligibility, rather than a decision based on a single two-year occupancy slogan.

A conditional exclusion for gain on a principal residence. Eligibility and the amount actually excludable are separate questions; whether the seller still lives in the property on the sale date is not the only factor.

Separate eligibility from the amount excludable. In an independent hypothetical, a $620,000 price less $20,000 qualifying selling costs and $300,000 adjusted basis produces $300,000 gain, including $30,000 attributable to post-May 6, 1997 depreciation. Assume an applicable nonqualified-use fraction of 40%, calculated from actual days with no exception, and that all remaining section 121 tests and limits are met. Set aside depreciation gain first: 40% of the remaining $270,000 is $108,000 ineligible gain, leaving $162,000 potentially excludable and $138,000 unexcluded. Analyze its tax character separately. Do not simply subtract $250,000 from all gain or deduct depreciation twice from an already adjusted basis. This section 121 example does not establish section 1031 eligibility.

Nonqualified use does not mean putting every rental year in the numerator. Section 121(b)(5) excludes relevant pre-2009 periods and provides exceptions, including certain time after the last principal-residence use within the five-year window. Ownership, residence, and look-back tests remain separate. Earlier rental use before moving in may instead require an allocation. Use actual dates and applicable exceptions; neither a rental history nor two final years of residence alone establishes the exclusion amount.

✓ Pros

  • + Generally does not require buying a replacement home.
  • + Can be evaluated for an eligible partial exclusion or a specific household exception.
  • + An excluded amount is not also left as deferred gain from that same amount.

✗ Cons

  • − Ownership, residence, prior-use, and spouse requirements must be checked separately.
  • − Depreciation and nonqualified use may leave some gain taxable.
  • − A Form 1099-S or other facts may still create reporting obligations.

2Section 1031 like-kind exchange

Best for: A verified qualifying exchange when the investor can complete the replacement transaction and wants to continue investing; it is not required for every rental-property seller.

Defers gain on a qualifying exchange of business or investment real property. The exchange process and replacement basis can affect a later disposition.

Consider a separate combined example where cash exceeds the exclusion. Assume the same exchange genuinely satisfies sections 121 and 1031, the relevant $250,000 exclusion has been verified, and there is no debt, expense, or additional depreciation limitation. Property worth $800,000 with $300,000 basis is exchanged for $400,000 eligible real property and $400,000 cash. Of the $500,000 total gain, exclude $250,000 first, recognize $150,000 because cash exceeds that exclusion, and defer $100,000. Those three amounts sum to $500,000. Replacement basis is $300,000 + $250,000 + $150,000 − $400,000 = $300,000, also $400,000 value less $100,000 deferred gain. Neither treating all cash as currently recognized gain nor deferring all remaining gain fits these assumptions.

Both exchange clocks run from the transfer; do not add 45 days to another 180. A hypothetical November 16, 2026 transfer gives December 31, 2026 for 45 days and May 15, 2027 for 180. If the assumed applicable return deadline is April 15, 2027 with no extension or other relief, receipt is due by that earlier April date. An effective return extension beyond May 15 still does not move this example beyond 180 days. The assumed return date is an illustration, not a deadline assigned to every entity, tax year, or disaster area.

✓ Pros

  • + Can be analyzed for full or partial deferral based on the actual transaction.
  • + A transaction that also qualifies under Section 121 can be coordinated under the applicable procedure.
  • + Additional cash can be relevant when reconciling differences in debt and exchange consideration.

✗ Cons

  • − Property type, use, deadlines, and control of proceeds limit whether an exchange can be completed.
  • − The investor continues to bear replacement-property and financing risks.
  • − Carryover basis and state reporting may continue through later exchanges.

Example scenarios

Scenario
Hypothetical: The seller has verified the requirements for a full Section 121 exclusion and wants to keep the sale proceeds as a financial reserve. Must the seller buy another home to obtain the exclusion?
The seller qualifies for Section 121 and wants cash for living expenses
View answer →
Generally no. Section 121 does not require a replacement-home purchase. Confirm the specific eligibility, any gain that remains taxable, and reporting obligations; an exchange is not required solely to claim the exclusion.
Key takeaways:
Separate the intended use of the cash from the eligibility tests.
Scenario
Hypothetical: After verifying that the transaction qualifies under both rules, with no debt or expenses, the relinquished property is worth $800,000 with a $300,000 basis. The seller acquires $750,000 of replacement real property, receives $50,000 cash, and may exclude $250,000 of gain. Can the entire $500,000 gain be both excluded and deferred?
A transaction qualifies under both provisions and includes cash received
View answer →
No. Apply the $250,000 exclusion first, then analyze the remaining $250,000 under Section 1031. In this simplified example, the $50,000 cash does not exceed the excluded gain, and the replacement basis is $300,000 + $250,000 − $50,000 = $500,000. This assumes all use, nonqualified-use, and other requirements have been verified.
Key takeaways:
The exclusion and deferral each apply to the relevant portion of gain; the same amount is not counted twice.
Scenario
Hypothetical: The owner moves into a replacement property in the third year after the exchange and considers selling after living there for two years. Does two years of residence automatically allow the full exclusion?
The owner moves into a property acquired in a Section 1031 exchange
View answer →
No. Check the five-year restriction after acquisition through a Section 1031 exchange, the general Section 121 tests, nonqualified use, and depreciation. Reaching a particular date does not guarantee that all gain can be excluded.
Key takeaways:
The eligibility timelines and the amount of gain eligible for exclusion still need separate analysis.

Knowledge Quiz

1 / 3
Question 1: not yet answered
Question 2: not yet answered
Question 3: not yet answered

When a transaction qualifies for both provisions, what order does Rev. Proc. 2005-14 generally use?

Select an answer before submitting

Myth Check

1 / 2

A $500,000 gain can first be fully excluded under Section 121 and then fully deferred again under Section 1031.

When to Get Professional Help

This comparison of Section 121 principal-residence exclusion vs Section 1031 like-kind exchange is for reference only. Consult a professional if:

  • •Your situation involves significant amounts or high risk
  • •You're unsure which option fits your personal situation
  • •You need to consider tax, legal, or state-specific factors

BOTTOM LINE

Base the choice on documented use and eligibility, a transaction that can actually be completed, and the seller’s cash needs. Show the exclusion, deferral, current tax, and replacement basis separately. Do not substitute claims of ultimate tax avoidance or an unlimited guarantee for a complete calculation.

Section 121 principal-residence exclusion

Best for
A sale or exchange with a documented principal-residence history and verified eligibility, rather than a decision based on a single two-year occupancy slogan.
Pros
Generally does not require buying a replacement home.
Cons
Ownership, residence, prior-use, and spouse requirements must be checked separately.

Section 1031 like-kind exchange

Best for
A verified qualifying exchange when the investor can complete the replacement transaction and wants to continue investing; it is not required for every rental-property seller.
Pros
Can be analyzed for full or partial deferral based on the actual transaction.
Cons
Property type, use, deadlines, and control of proceeds limit whether an exchange can be completed.

Frequently Asked Questions(4)

If the property is not the seller’s home on the sale date, is Section 121 automatically unavailable?
Not necessarily. Section 121 looks at actual ownership and residence during the applicable period, so a property that is rented on the sale date may still need analysis. Nonqualified use and depreciation are considered separately.
Does every rental-property seller have to complete a Section 1031 exchange?
No. Depending on the facts, compare paying tax, a partial exchange, or a qualifying full exchange. The desire for cash, the risks of continued investment, and the feasibility of the replacement transaction also matter.
Do both rules let the owner reset all of the old tax basis to current market value?
No. Section 1031 generally carries deferred gain into the replacement basis. In a qualifying combined transaction, the Section 121 exclusion can affect replacement basis under the coordination rules, but the entire value cannot simply be reset.
Does exchanging properties until death guarantee that the family will owe no tax?
No. Inherited basis may increase or decrease, and individual income tax, estate tax, and state tax rules differ. Analyze ownership and each applicable tax separately.

Keep Exploring

Related comparisons and in-depth guides

Article sources
  1. [1]IRS Publication 523 — Section 121 eligibility, spouses, nonqualified use, and depreciation(2026-10-30)
  2. [2]IRS Publication 544 — Section 1031 use, consideration, boot, and basis(2026-10-30)
  3. [3]IRS Instructions for Form 8824 — Identification, receipt, and reporting(2026-10-30)
  4. [4]IRS Rev. Proc. 2005-14 — Coordinating Sections 121 and 1031, boot, and basis(2026-10-30)Read the 2005 coordination procedure together with the current real-property scope of section 1031 and the post-2008 nonqualified-use rules under section 121. Do not copy historical examples as present-day eligibility conclusions.
  5. [5]IRS Publication 551 — Basis of property, including inherited property(2026-10-30)
  6. [6]California FTB Form 3840 Instructions — Continuing reporting after an out-of-state exchange(2026-10-30)
  7. [7]U.S. Code section 121 — Current statutory scope, conditions, and calculations(2026-10-30)Current statutory text through Public Law 119-136 (October 22, 2026), read with the identified IRS editions and the actual transaction conditions.
  8. [8]U.S. Code section 1031 — Current statutory scope, conditions, and calculations(2026-10-30)Current statutory text through Public Law 119-136 (October 22, 2026), read with the identified IRS editions and the actual transaction conditions.

If you are...

Pick the scenario that matches your situation and follow the steps

Educational content, not professional advice. Full Disclaimer