EST. 2016 • SMITHTOWN, NY

Tax Planning for a Real Estate Sale

Deferral and exclusion provisions that must be arranged before closing, not after

By Aman Verma, Founder • May 2026

A property sale can trigger three separate federal charges at once: long-term capital gain, depreciation recapture, and net investment income tax. For an appreciated rental held many years, the combined federal burden frequently exceeds a third of the gain before state tax. Several provisions reduce or defer that result, but nearly all of them must be arranged before closing rather than after.

Primary Residence Exclusion

A seller may exclude up to $250,000 of gain, or $500,000 for joint filers, on a principal residence owned and used as such for at least two of the five years preceding the sale. The two years of use need not be consecutive.

Where the ownership or use test is not met because of a change in employment, health, or other unforeseen circumstances, a partial exclusion proportional to the qualifying period may be available. Gain above the exclusion is long-term capital gain, taxed at 0%, 15%, or 20% depending on income, with the 3.8% net investment income tax applying above the relevant thresholds.

Depreciation Recapture

Residential rental property is depreciated over 27.5 years, commercial over 39. On sale, the depreciation taken is recaptured as unrecaptured Section 1250 gain and taxed at a maximum rate of 25%.

The point that surprises owners most is that recapture applies to depreciation allowed or allowable. An owner who never claimed the deduction is taxed as though they had. Missed depreciation does not reduce the recapture; it simply forfeits the deduction that would have offset it. Where depreciation was omitted in prior years, a change in accounting method may permit a catch-up adjustment rather than amended returns.

Recapture is not eliminated by the principal residence exclusion. It can be deferred through a like-kind exchange or an installment sale, and it disappears entirely at death, when heirs take a stepped-up basis.

Section 1031 Like-Kind Exchange

An investment property may be exchanged for like-kind replacement property, deferring both capital gain and recapture. For real property, like-kind is interpreted broadly: an apartment building may be exchanged for retail space, raw land for a warehouse.

The deadlines are strict and not extendable except by specific disaster relief. Replacement property must be identified within 45 days of the transfer and the exchange completed within 180 days. A qualified intermediary must hold the proceeds throughout. Constructive receipt of the funds by the taxpayer at any point disqualifies the exchange.

Cash received, or a reduction in mortgage debt not offset by new debt or additional cash, is boot and is taxable in the year of exchange. Full deferral requires reinvesting all equity and replacing all debt.

Deferred gain carries into the replacement property as reduced basis. It becomes taxable on a later sale unless another exchange follows, or unless the property is held until death.

Installment Sales

Receiving the price over multiple years spreads recognition of the gain across those years rather than concentrating it in one. This can keep income below thresholds where the 20% capital gain rate or the net investment income tax would otherwise apply.

A $400,000 gain recognized over five years produces roughly $80,000 annually rather than $400,000 at once, which may materially change the applicable rate.

Two limitations apply. Depreciation recapture is recognized in full in the year of sale regardless of the payment schedule. And the seller carries credit risk on the buyer, which no tax outcome offsets if the note is not paid.

Opportunity Zone Investment

This provision changed substantially and is now in transition, so the applicable rules depend on timing.

Under the original program, gain reinvested in a qualified opportunity fund within 180 days was deferred until the earlier of disposition or December 31, 2026. That deadline still governs investments made through the end of 2026. An investor holding such an investment recognizes the deferred gain at the end of this year whether or not the investment is sold.

The One Big Beautiful Bill Act made the program permanent and revised it for investments made after December 31, 2026. Deferral becomes a rolling five years from the date of each investment rather than a fixed calendar deadline, and a 10% basis step-up applies at the five-year mark. The seven-year step-up was eliminated. Gain from the 2026 recognition event cannot be rolled into the new regime.

A new map of designated zones takes effect January 1, 2027, nominated during 2026. Tracts qualifying under the original designations may not qualify under the new criteria, and the existing map remains in effect through 2028, so the two overlap. The ten-year holding period for tax-free appreciation on the fund investment continues to apply.

For a sale occurring now, the timing question is consequential: reinvesting in 2026 falls under the old rules and the immediate 2026 recognition date, while a 2027 investment falls under the new five-year deferral.

Sequence Matters

These provisions are not mutually exclusive, and the appropriate combination depends on whether the seller intends to remain in real estate, what liquidity is required, and the holding period contemplated.

What they share is timing. A like-kind exchange must be arranged before closing, with an intermediary in place. Installment terms must appear in the purchase agreement. Opportunity fund investment runs on a 180-day clock from the sale. Once a transaction closes on conventional terms, most of these options have already passed.

Verma Tax advises property owners through acquisition, disposition, and the estate planning that follows. Contact us before listing a property, while the structure of the transaction can still be shaped.

Selling a Property This Year?

Our team can structure the transaction before closing, while deferral options are still available.

Contact Verma Tax