There's no button that makes a real estate gain disappear, but there are a handful of legal paths that reduce it, delay it, or in a narrow case eliminate it outright. Which one applies depends almost entirely on what kind of property was sold and how it was used, not on how the sale is structured after the fact. A Long Island owner selling a Massapequa rental has different options than one selling a primary residence in Garden City.
Start With What Kind of Property It Is
A primary residence gets the most generous relief available: the Section 121 exclusion shelters up to 250,000 dollars of gain for a single filer and 500,000 for a married couple filing jointly, provided the owner lived in the home for at least two of the five years before the sale. Investment and rental property gets no such exclusion. That gain is fully taxable in the year of sale unless the owner defers it through a 1031 exchange, which trades one investment property for another and pushes the tax bill down the road rather than erasing it.
Mixed-use situations, like a Long Island duplex where the owner lived in one unit and rented the other, usually require splitting the sale between the two treatments, with the CPA allocating basis and gain between the personal and rental portions.
Reducing the Gain Itself Before Deferral Options Come Up
Before looking at deferral at all, it's worth confirming the gain is calculated correctly. Capital improvements, additions, a new roof, a finished basement, an upgraded septic system common on eastern Suffolk properties, all add to basis and reduce the taxable gain when documented with receipts and permits. Selling costs, broker commissions, transfer taxes, and title fees also reduce the amount subject to tax. Owners who assume their gain is simply sale price minus purchase price often overstate it by tens of thousands of dollars because they never tracked improvement spending.
Where a 1031 Exchange Fits In
For investment or business-use property, a 1031 exchange defers the capital gains tax, and often the associated depreciation recapture, by rolling the proceeds into a replacement property of equal or greater value. It is one option among several, not a universal fix, and it comes with real deadlines: 45 days to identify replacement property in writing, 180 days to close, and a qualified intermediary who has to hold the funds so the investor never takes constructive receipt of the cash. Done correctly on a Long Island sale, whether the replacement is a Suffolk industrial building or a passive DST allocation, the gain isn't taxed this year. It's carried forward into the new property's basis.
New York's Layer on Top of Federal Tax
New York doesn't have a separate capital gains rate the way the federal system does. Instead, the state taxes capital gains as ordinary income, at rates that can run higher than the federal long-term capital gains rate depending on the owner's total income for the year. That makes the total tax hit on a Long Island sale meaningfully larger than a federal-only estimate would suggest, and it's a reason more Nassau and Suffolk investors look seriously at deferral through a 1031 exchange rather than assuming the tax bill is smaller than it turns out to be.
Common 1031 Exchange Questions
Is there any way to make capital gains tax on an investment property go away completely?
Not through a sale by itself. A 1031 exchange defers the tax rather than eliminating it, and the deferred gain generally comes due if the replacement property is later sold without another exchange. The one path to a true, permanent exclusion is holding property until death, when heirs typically receive a stepped-up basis.
Does the Section 121 exclusion apply to a rental property you used to live in?
It can apply to the portion of time the property was used as a primary residence, but a rental period reduces the exclusion through a nonqualified use calculation. A CPA needs to run the actual math based on the specific timeline of personal versus rental use.
Why does your accountant say New York taxes your gain differently than the IRS does?
New York treats capital gains as ordinary income rather than applying a separate lower rate the way the federal system does for long-term gains. That means the state portion of the tax can be a larger share of the total bill than owners expect.
Can you do a partial 1031 exchange and take some cash out?
Yes, but the cash taken out, known as boot, is generally taxable even though the rest of the exchange defers. Most Long Island investors who want cash and deferral both work out the boot amount with their CPA before closing, not after.
Do capital improvements really make a meaningful difference in the tax bill?
They can, especially on properties held for many years where a new roof, an addition, or major system replacements add up. Without receipts and records, the IRS won't accept an estimate, so documentation matters as much as the spending itself.



