Learn
A little clarity for your next decision.
A little clarity for your next decision.
By Jerry Baker
A home used only as your personal residence does not qualify for a 1031 exchange. Investment and business real estate can qualify, while a property with changing or mixed uses may require both the home-sale exclusion and exchange rules.
The word “home” tells us what a building looks like. It does not tell us which tax rule applies. A house can be a personal residence, a rental, or both at different times. A duplex can contain your home in one unit and a tenant’s home in the other. Those facts matter more than the label on a listing.
Section 1031 applies to real property held for business or investment and exchanged for qualifying real property to be held for those purposes. Property held primarily for sale is excluded. Buying a house with the hope that its price will rise does not, by itself, turn personal use into investment use. [1] [2]
For a main home, the first tax question is usually Section 121. That rule can exclude some gain when you meet its requirements. An exclusion removes eligible gain from income. A 1031 exchange generally postpones recognition and carries the deferred gain into the replacement property through its basis. These are different benefits with different tests. [3] [4]
I would begin with a dated history: when you bought the property, lived there, moved out, rented it, and stopped renting it. Then I would ask your CPA to connect those dates to the right rules. A move-out date can matter more than the day you first started discussing an exchange.
The usual federal exclusion limit is $250,000 of eligible gain. Certain married couples filing jointly can exclude up to $500,000. These are limits on gain, not sale price, equity, or cash received. A mortgage payoff does not determine how much gain you made. [3]
The basic rule looks back five years from the sale. Within that time, you generally need at least two years of ownership and two years of main-home use. The periods do not always have to be continuous. Other conditions apply, including the rule that generally prevents another exclusion within two years of a prior sale for which you used it.
For the full joint limit, either spouse must meet the ownership test. Both must meet the use test. Neither may be barred by the prior-sale rule. Filing a joint return alone does not double the benefit. Certain sales due to work, health, or unforeseen events can qualify for a reduced exclusion under separate rules. [3] [4]
You do not have to buy a more expensive home to claim today’s Section 121 exclusion. That purchase-based idea belongs to an older rule. You also do not need to move sale proceeds through a qualified intermediary merely to claim the home-sale exclusion. An actual exchange is different, so do not apply that freedom to rental proceeds intended for a 1031 exchange.
Suppose a single owner has $220,000 of eligible home-sale gain, meets all the tests, and has no depreciation or other limiting facts. The gain may fit within the $250,000 limit. Buying another home for less than the old home’s sale price does not alone defeat that exclusion. This example does not establish that every dollar from a home sale is tax-free.
A genuine rental can qualify for an exchange if it meets the held-for-business-or-investment requirement and all the other rules. The replacement need not be another house. Qualifying domestic real estate can often be exchanged across property types. A personal-use replacement home, however, does not become eligible just because the property you sold was a rental. [1] [2]
A delayed exchange normally requires advance planning with a qualified intermediary. The regulations restrict your access to sale proceeds, require timely identification, and set a receipt deadline. You generally have 45 calendar days to identify replacement property and the earlier of 180 days or the applicable federal return due date, including extensions, to receive it. [5]
Do not close a rental sale into your own account and then assume a later purchase will repair the transaction. A transfer to an intermediary after you have received the money does not simply undo receipt. The sale and purchase must fit an exchange structure from the start.
There is no universal rule that every rental becomes exchange-ready after one year or two tax returns. Actual use and intent matter. The IRS does provide a specific safe harbor for certain dwelling units, discussed below. That safe harbor is narrower than a general permission slip for every conversion.
A property may have been your main home before becoming a genuine rental. When the sale meets both sets of requirements, Section 121 and Section 1031 can work together. Revenue Procedure 2005-14 says to apply the home-sale exclusion first and the exchange rules to the remaining eligible gain. [6]
This ordering matters. It can affect how much gain remains to defer, whether cash received creates taxable gain, and the basis of the replacement property. It does not mean every former home gets both benefits. You must still qualify under the current rules for each.
For example, someone who lived in a house for three years and then rented it for two years may still meet the two-out-of-five-year home-use test at sale. Moving the closing later can change that result. Count actual dates; “about five years” is not a tax calculation.
The period after your last use as a main home, within the relevant five-year window, has a special exception from the nonqualified-use rule. That can make a former-home-then-rental sequence different from a rental-then-home sequence. It does not erase depreciation or extend the basic use test indefinitely. [3] [4]
The 2005 revenue procedure predates the nonqualified-use limits that apply to certain periods after 2008. Its coordination rules remain useful, but its older examples should not be copied without applying current law. Your CPA needs the entire ownership history, not just the most recent lease.
Depreciation deductions reduce basis under the applicable rules. That generally increases gain when the property is sold. Section 121 does not exclude gain attributable to depreciation adjustments for periods after May 6, 1997. A deduction you failed to claim may still matter under allowed-or-allowable rules. [3] [4]
It is common to hear all of this called “depreciation recapture.” The tax calculation is more precise. Gain tied to straight-line real-estate depreciation may be unrecaptured Section 1250 gain, with a maximum federal rate of 25%, rather than ordinary-income recapture. Other assets or depreciation methods can produce different results. Your rate is not automatically 25% on the entire profit. [7]
When the property qualifies for both provisions, gain excluded from Section 121 because of depreciation may still be deferred under Section 1031 if its conditions are met. The result depends on the assets, exchange structure, and special rules. Exclusion and deferral should be shown on separate lines of the tax workpaper. [6]
Keep a depreciation schedule even after you stop renting the property. A later move does not replace that record with the property’s current market value. Repairs, capital improvements, land allocations, and prior exchanges can also affect basis.
Section 121 can limit the exclusion when a property has periods of nonqualified use. In general, the rule assigns part of the gain to certain periods without main-home use. It looks at use by you, your spouse, or your former spouse. The statute contains exceptions, so this is not simply “all rental days are taxable.” [3]
Periods before January 1, 2009, are excluded from the nonqualified-use numerator. Certain temporary absences, qualified official extended duty, and the period after the last main-home use within the five-year window also have special treatment. The ownership period used in the fraction is not necessarily limited to five years.
Consider a simplified example using exact whole-year periods. You rent a house for three years, then make it your main home for two years, and sell it. All five years occur after 2008. Assume the first three years are nonqualified use, no exception applies, and all other Section 121 conditions are met.
If total gain is $540,000 and $40,000 is attributable to relevant depreciation, first separate that $40,000. Of the remaining $500,000, three-fifths, or $300,000, is allocated to nonqualified use. The other $200,000 may be excluded within the applicable limit. This example leaves $340,000 outside the exclusion before considering other tax rules.
Living in the house for two years therefore does not necessarily make the whole gain excludable. In a real calculation, use actual ownership and use dates rather than the rounded years in this illustration. Also remember that a home sold while held for personal use does not automatically qualify for a 1031 exchange to defer the portion Section 121 leaves taxable.
Some owners want to acquire a rental through an exchange and eventually live in it. That plan needs careful review at acquisition. Section 1031 requires the replacement to be held for business or investment. Buying it for immediate personal occupancy conflicts with that requirement. A future hope and an immediate plan are not the same set of facts. [1]
Even if the initial exchange qualifies, another rule affects a later home sale. A further limit applies to property acquired in a qualifying 1031 exchange. Section 121 generally does not apply if you sell it within the five years that begin with that purchase. The rule can also reach certain carryover-basis transfers. Passing two years of personal occupancy does not override this five-year bar. [3]
Passing five years is not the end of the analysis. The usual ownership and use conditions, the nonqualified-use allocation, and the depreciation exception still apply. None of these rules promises a tax-free exit on a fixed future date.
Suppose an owner validly acquires a rental through an exchange, rents it for four years, lives there for two, then sells after six full years. Assume all periods are after 2008, the first four years are nonqualified use, and no exception applies. The five-year acquisition bar has ended, but the nonqualified-use rule remains.
If gain is $660,000, including $60,000 attributable to relevant depreciation, the simplified allocation starts with $600,000. Four-sixths, or $400,000, falls outside the exclusion as nonqualified use. The remaining $200,000 may fit within Section 121. The $60,000 depreciation amount remains outside the exclusion too. Actual dates, prior deferred gain, and all eligibility tests still need review.
A property with a home and a separate rental or business area may need separate gain calculations. A duplex with one owner-occupied unit and one rented unit is a common example. Allocation should reflect supportable facts, not a convenient percentage chosen after the closing. [4]
The home portion may qualify for Section 121. The investment portion may qualify for Section 1031. Sale price, selling costs, basis, improvements, and depreciation must be assigned to the proper parts. An appraisal or other reasonable evidence may be needed. The fact that two units share a roof does not prove they have equal value.
A home office within the living area follows a different framework from a separate building or unit. Publication 523 explains that an office or rented room within the living area generally does not require splitting gain between those uses for Section 121. Relevant depreciation still cannot be excluded. Do not extend this treatment to a detached office or a separately rented apartment without checking the rules.
For a hypothetical duplex, assume a supported allocation assigns 60% of value to the rental unit and 40% to the residence. That percentage is only the starting point. A major improvement made solely to the rental unit belongs with that unit, not automatically in a 60/40 split. The same care applies to debt and exchange funds.
Ask the closing team to work from the tax allocation before funds are paid out. A single closing statement does not make all proceeds interchangeable. Your CPA, attorney, and intermediary should agree on how the personal and investment portions are being handled.
Revenue Procedure 2008-16 offers a safe harbor for the held-for-business-or-investment question for certain dwelling units. For the old property, it requires ownership for at least 24 months immediately before the exchange. In each of the two twelve-month periods, there must be at least 14 days of fair-market rental. Personal use cannot exceed the greater of 14 days or 10% of fair-rental days. [8]
A replacement dwelling has similar tests for the 24 months immediately after the exchange. These are exchange-centered twelve-month periods, not necessarily calendar tax years. Family use and other special arrangements can count as personal use under the incorporated rules.
This safe harbor answers one question. It does not waive identification, receipt deadlines, title issues, or restrictions on proceeds. Falling outside it calls for a facts-based review; it does not create an automatic rule that every other exchange fails. Nor does satisfying it settle a later Section 121 exclusion.
Consider the owner of a former home who expects to claim an exclusion and exchange the rest. It is tempting to tell escrow to send the excluded amount directly to the owner. That instruction should come only after the tax calculation and exchange documents have been coordinated. The gain eligible for exclusion is not necessarily the same as the cash the owner can safely withdraw.
Revenue Procedure 2005-14 gives special treatment to cash or other nonqualifying property received in a transaction that meets both provisions. For the business or investment property, that amount is taken into account for exchange gain only to the extent it exceeds the gain excluded under Section 121. The exclusion also affects replacement basis. These rules require a calculation; they are not a rule that every former homeowner may pocket $250,000. [6]
A taxpayer may have a smaller eligible exclusion, a separate personal-use portion, relevant depreciation, debt relief, or other adjustments. Money used to pay a loan does not itself tell us which dollars represent gain. Ask for a written reconciliation of the amount realized, adjusted basis, excluded gain, recognized gain, deferred gain, and cash received.
That workpaper should also show who receives each payment and when. The intermediary must be able to follow the exchange agreement, and escrow needs clear instructions before releasing funds. A last-minute assumption about which rule applies can become a permanent tax problem after the money leaves escrow.
If you decide to sell without an exchange, keep the same workpaper. It remains useful for reporting the home-sale exclusion, the rental portion, and depreciation-related gain. The right choice may be a sale, an exchange, or a mixed transaction. What matters is that the choice follows the property’s actual history and your needs, rather than a label chosen to reach a preferred tax answer.
Start with a timeline supported by documents. Useful records include closing statements, leases, rent deposits, utility records, occupancy records, and tax returns. Add a schedule showing capital improvements and depreciation. Keep personal-use dates for any period with mixed use.
Then separate three calculations: sale gain, the possible Section 121 exclusion, and any remaining gain eligible for exchange deferral. Ask for the replacement basis as well. A plan that discusses only this year’s tax can hide the lower basis carried into the next property.
Finally, test the real-life plan. Will a tenant remain? When do you actually want to move in? Can you meet the rental limits? Do you need cash from the sale? A tax strategy that requires behavior you will not follow is not a workable strategy.
Keep the final calculation with your permanent property records. A future buyer, heir, or tax preparer cannot rebuild years of use and basis adjustments from the most recent tax return alone.
Not if it is held solely for personal use. Section 1031 requires business or investment property. A mixed-use property may have a qualifying investment portion, while the residence portion needs a separate analysis. [1] [4]
No. The current Section 121 exclusion depends on its ownership, use, timing, and other conditions, not on buying a replacement home. The $250,000 amount limits eligible gain, not proceeds. [3]
Sometimes. A former home held as a rental at exchange may meet both rules. Apply the eligible home-sale exclusion first, then analyze exchange deferral, cash received, and replacement basis under the coordination guidance. [6]
No. A specific dwelling safe harbor uses a 24-month period plus rental and personal-use tests. All other exchange requirements remain. Merely filing two rental schedules is not the full test. [8]
No. Section 121 does not exclude gain attributable to relevant depreciation after May 6, 1997. Basis records remain important after the rental ends, and the tax character of that gain needs a separate calculation. [3] [7]
A sale is possible, but exclusion is a separate question. A property acquired through a 1031 exchange generally faces a five-year Section 121 bar. Passing that bar does not eliminate nonqualified-use or depreciation limits. [3]
Not on that fact alone. Personal use cannot be turned into qualifying investment use merely by expecting a higher sale price. Rental activity, actual use, and the applicable safe harbor or other facts need review. [8]
Your CPA should calculate gain and exclusions, your attorney should address ownership and transaction issues, and your intermediary should structure any exchange before closing. Give them one consistent use history so their conclusions rest on the same facts.
Educational information, not an offer or a personal tax, legal, or investment recommendation. Examples are hypothetical and omit stated adjustments. Tax treatment depends on your facts and current law. Review your transaction with your CPA, attorney, and qualified intermediary. Real estate investments can lose value and may be illiquid.