You Live in Your Minneapolis Duplex. The IRS Wants to Reward You for It

If you live in one unit of your duplex, you’re sitting on a tax advantage most investors don’t have access to. It’s called the Section 121 exclusion, but most people call it the 2-out-of-5 rule. Understanding it could change how you think about when to sell, how long to stay, and what your actual net proceeds look like when you do.

Under IRS Section 121, when you sell your primary residence, you can exclude up to $250,000 of capital gains from federal income tax ($500,000 if you’re married filing jointly). To qualify, you must have:

  • Owned the home for at least two of the five years before the sale, and
  • Lived in it as your primary residence for at least two of those same five years.

The two years don’t have to be consecutive. You can move out, rent your unit for a stretch, move back in, and still qualify. You have to hit 24 months of primary residence use within the five-year lookback window before you close. In fact, you don’t have to live there when you sell; just two of the five years prior.

This means a duplex owner-occupant can move out, rent out their unit for up to three years, and still potentially qualify for the exclusion when they sell.

This is especially relevant for duplex owners. Investment property doesn’t qualify for the Section 121 exclusion at all. You sell it, and you owe capital gains tax on the full profit, plus depreciation recapture.

When an owner-occupant lives in one unit and rents the other, the duplex is a hybrid. Part of it is a primary residence. Part of it is a rental property. That split matters enormously when you sell.

Single owner occupants are eligible for up to a $250,000 capital gains tax exemption if they meet the 2 of 5 rule. Married owners filing jointly are entitled to up to a $500,000 exclusion.

The IRS doesn’t let you apply the full exclusion to the entire duplex just because you lived in one unit. The exclusion applies to your unit only.

On a standard duplex, the split is typically 50/50. So if you bought the duplex for $350,000 and sell it for $600,000, your total gain is $250,000. Approximately half of that gain, or $125,000, is attributable to your unit and eligible for Section 121 exclusion. The other half, the rental unit, is treated as investment property, making the gain subject to capital gains tax and depreciation recapture.

If you’re approaching the edge of that five-year window, the difference between selling in month 58 versus month 62 can be the difference between sheltering a substantial gain and paying full capital gains tax on it. It’s important to know where you stand.

As always, you must speak with your tax advisor before you sell any investment property. The right strategy for exiting a property is just as important as the one you used going in.