Selling Houses

What you keep from a sale is decided by the tax treatment, not the headline price. The appreciation of the house is taxed as capital gains. If the property is a former primary residence and you are weighing a sale against keeping it as a rental, section “Sell It or Rent It Out?” works that decision — including the exclusion clock that a rental period runs down.

Two key provisions that can significantly impact your tax liability are the IRC §121, “Exclusion of gain from sale of principal residence” and IRC §1031, “Exchange of real property held for productive use or investment”.

IRC Section 121 allows homeowners to exclude up to $250,000 of capital gains from the sale of their principal residence from their taxable income. For married couples filing jointly, this exclusion increases to $500,000. Any gain exceeding these amounts is subject to capital gains tax, which varies based on your income bracket, typically 0%, 15%, or 20%. Properly documenting home improvements and selling expenses can help reduce your taxable gain.

Conditions:

Ownership Test

You must have owned the home for at least two of the five years preceding the sale.

Use Test

The home must have been your principal residence for at least two of the five years preceding the sale.

Frequency Limit

You cannot have claimed the exclusion for another home sale in the two years prior to the current sale.

This provision encourages homeownership by allowing homeowners to benefit from the appreciation of their property without facing significant tax burdens.

Section 1031 of the IRC allows for the deferral of capital gains taxes on the exchange of like-kind properties held for investment or business purposes. This is commonly referred to as a “1031 exchange”.

Conditions:

Like-Kind Property

The properties exchanged must be of like-kind, meaning they are of the same nature or character, even if they differ in grade or quality.

Investment or Business Use

Both the relinquished property and the replacement property must be held for investment or productive use in a trade or business.

Timing Rules

You must identify potential replacement properties in writing within 45 days of transferring the relinquished property, and close on the replacement within 180 days — or the due date of your return for the year of the sale, including extensions, whichever comes first ( IRC §1031(a)(3)). That second clause is the trap: sell in late October and your 180 days would run into April, but the unextended return due date arrives first and truncates the window. File an extension before you close, every time. The identification rules themselves are mechanical — name up to three properties of any value, or any number whose combined value does not exceed 200% of what you sold ( Treas. Reg. §1.1031(k)-1(c)(4)).

No Constructive Receipt

You may never touch the proceeds. They must go directly to a qualified intermediary under a written exchange agreement; take the money into your own account for even a day and the exchange is dead. Qualified intermediaries are largely unregulated at the federal level and have failed with client funds — verify segregated accounts, a fidelity bond, and errors-and-omissions coverage before you wire.

This provision encourages reinvestment in business and investment properties, promoting economic growth and allowing investors to leverage their equity without immediate tax consequences.

If you convert your primary residence to a rental property, you can potentially use both IRC §121 and IRC §1031. First, exclude up to $250,000/$500,000 of gain under IRC 121, then defer remaining gains through a 1031 exchange — Rev. Proc. 2005-14 blesses the stacking. Two limits ride along, both worked in detail in section “Sell It or Rent It Out?”: gain attributable to depreciation claimed after May 6, 1997 is carved out of the exclusion under IRC §121(d)(6) and comes back as unrecaptured §1250 gain, and the nonqualified-use proration of IRC §121(b)(5) shaves the exclusion for years the property was not your residence.

The same pair runs in reverse, and the reverse is the loophole worth planning for: exchange into a rental you would be happy to retire into, operate it as a genuine rental, then convert it to your principal residence and sell under §121 years later. Rev. Proc. 2008-16 gives the investment-intent safe harbor — in each of the two years after the exchange, rent the property at fair market value for at least 14 days and keep personal use within the greater of 14 days or 10% of rented days. Congress noticed the exit and metered it: IRC §121(d)(10) denies the exclusion entirely unless you have owned the property for five years after acquiring it in the exchange, and the (b)(5) proration still prorates the exclusion away for the rental years, so the longer you wait after moving in, the more of the gain the exclusion reaches. Even trimmed, this is one of the few ways to consume a 1031 chain personally short of dying with it — it just takes five years and a paper trail, not a quick flip.

More details are in the IRS Pub. 523, “Selling Your Home”.