Selling Your Home vs. Swapping Your Rental: A Tale of Two Tax Breaks
Real estate is one of the few areas where the federal tax code offers generous relief to ordinary investors. But the relief is not one-size-fits-all. How you hold the property, whether as a personal residence or as a rental property, determines which set of rules applies, and the difference can run into hundreds of thousands of dollars.
Selling a Primary Residence: The Section 121 Exclusion
When you sell the home you live in, Internal Revenue Code Section 121 can shield a substantial portion of your profit from federal income tax entirely. A single filer may exclude up to $250,000 of gain; a married couple filing jointly may exclude up to $500,000.
To qualify, you must satisfy two tests:
Ownership test. You must own the home for at least two of the five years preceding the sale.
Use test. You must have used the home as your principal residence for at least two of those same five years. The two years of ownership and two years of use need not be continuous or concurrent, but both windows must fall within the five-year look-back period.
You may generally use the exclusion only once every two years. Gains above the exclusion threshold are taxed as long-term capital gains (assuming you held the property for more than one year), currently at rates of 0%, 15%, or 20% depending on your taxable income. High earners may also owe the 3.8% Net Investment Income Tax on the excess.
One important wrinkle: if you previously took depreciation deductions on the home because you rented out a room or used a portion as a home office, that depreciation is recaptured and taxed at a maximum rate of 25%, even on the portion of gain that would otherwise be excludable.
The IRC Section 1031 Exchange: Deferral for Investment Property
Rental properties, commercial buildings, and other real estate held for investment or productive use in a trade or business receive an entirely different form of relief under IRC Section 1031 — the like-kind exchange. Rather than excluding gain, a 1031 exchange defers it, potentially indefinitely, by rolling the proceeds into a replacement property.
The mechanics are strict:
Like-kind requirement. Both the relinquished and the replacement property must be real property held for investment or business use. A rental house can be exchanged for a strip mall; raw land can be exchanged for an apartment building. Personal residences do not qualify.
Qualified intermediary. You cannot touch the sale proceeds. A neutral third-party intermediary must hold the funds between the sale of the old property and the purchase of the new one.
45-day identification rule. From the date you close on the relinquished property, you have exactly 45 days to identify potential replacement properties in writing.
180-day closing rule. You must close on the replacement property within 180 days of the original sale (or the due date of your tax return for that year, if earlier).
Equal or greater value. To defer all gain and all depreciation recapture, the replacement property's purchase price must equal or exceed the net sales price of the relinquished property, and all of the equity must be reinvested. Any leftover cash or debt relief called "boot" is taxable in the year of the exchange.
A successful 1031 exchange defers capital gains tax (long-term rates of 0%–20%), the 3.8% Net Investment Income Tax, and depreciation recapture tax (up to 25%). If the investor continues to exchange into new properties until death, the heirs receive a stepped-up basis, and the deferred gain may never be taxed.
Which Break Is Better?
Neither break is superior because they serve different situations. The Section 121 exclusion is simpler, requires no reinvestment, and permanently wipes out tax on gain within the limits. It is ideal for homeowners who want to downsize or cash out. The Section 1031 exchange, by contrast, is a tool for the wealth-building investor who wants to trade up, consolidate holdings, or shift asset types without surrendering a large portion of equity to taxes. The 1031 exchange has no cap on the amount of gain deferred, making it especially powerful for high-value commercial and multi-family properties.
The two provisions are not mutually exclusive in concept, but they are in practice: the IRS scrutinizes property that has shifted from personal use to rental use (or vice versa) before a sale or exchange, and special rules apply to property that was formerly a primary residence and later converted to rental use.
For further reading, see:
https://www.law.cornell.edu/uscode/text/26/121
https://www.law.cornell.edu/uscode/text/26/1031
https://www.deferred.com/posts/primary-residence-capital-gains-tax
DISCLOSURE:
Fulcrum Wealth Advisors, LLC (FWA) is a registered investment adviser registered with the U.S. Securities and Exchange Commission (“SEC”). Registration with the SEC does not imply a certain level of skill or training. The firm is not registered as a broker-dealer and is not affiliated with any broker-dealer.
Additional information about FWA, including its services, fees, and business practices, is available in the firm’s Form ADV, which can be obtained upon request or at www.adviserinfo.sec.gov.

