Most homeowners selling in New York City never owe a dollar of federal capital gains tax, and the reason is a single exclusion that quietly does most of the work. But the city's price levels mean that exclusion runs out faster here than almost anywhere else in the country, and once it does, the seller is looking at federal, state, and city tax on the same sale. Knowing where the exclusion applies, where it stops, and what still needs to be reported changes how a homeowner prepares for closing.
The Two-of-Five-Year Residency Test
To exclude gain under Section 121, the seller must have owned and used the property as their main home for at least 24 months out of the 60 months before the sale, and those 24 months do not need to be continuous. A homeowner who rented out a Brooklyn townhouse for two years before moving back in, or who lived abroad for part of the ownership period, needs to count actual occupied months carefully, since a gap that pushes total occupancy below the threshold removes the exclusion entirely for that sale.
How Much of the Gain the Exclusion Actually Covers
A single filer can exclude up to $250,000 of gain, and a married couple filing jointly can exclude up to $500,000, but only if both spouses meet the ownership and use tests. In a market where a Manhattan townhouse or a well-located Brooklyn brownstone can appreciate by seven figures over a long hold, the exclusion frequently covers only a portion of the total gain, and the remainder is taxed at ordinary federal capital gains rates plus New York's state and city income tax, since New York applies no separate reduced rate to the excess.
Co-ops and Condos Follow the Same Exclusion Rules
Section 121 applies to co-op shares and condo units the same way it applies to a single-family house, as long as the ownership and use tests are met. Co-op sellers should keep records of any assessments the building charged for capital projects, such as a roof or facade repair mandated by Local Law, since a properly documented capital assessment can add to basis the same way a personal renovation would, reducing the taxable gain above the exclusion amount.
What Still Has to Be Reported Even Under the Exclusion
Even when the entire gain is excluded, the sale is often still reported on the seller's tax return, particularly when a Form 1099-S is issued at closing, which is standard for most New York City residential sales. Sellers sometimes assume that because no tax is owed, no reporting is required, and that assumption occasionally triggers an unnecessary notice from the IRS when the sale doesn't appear anywhere on the return it was expected on.
When Part of the Property Was a Rental
A homeowner who rented out part of a New York City property, or who converted a former rental into a primary residence, is dealing with a mixed asset, and the rental portion generally does not qualify for the Section 121 exclusion the way the personal-use portion does. That rental-use gain is exactly the kind of gain a 1031 exchange can defer, as long as it is separated out and the exchanged proceeds go toward another investment property rather than a personal home. It is a narrower application than a full investment-property exchange, but it is worth raising with a qualified intermediary before assuming the entire sale is covered by the homeowner exclusion.
Common 1031 Exchange Questions
Do the 24 months of residency need to be continuous to qualify for the exclusion?
No. The two years can be made up of separate periods within the five years before the sale, as long as the total adds up to at least 24 months of ownership and use as the main home.
Can a co-op apartment use the same capital gains exclusion as a house?
Yes. Co-op shares held under a proprietary lease qualify for the Section 121 exclusion on the same terms as a single-family house or condo, provided the ownership and use tests are met.
What happens to gain above the $250,000 or $500,000 exclusion limit?
The excess gain is taxed at federal long-term or short-term capital gains rates depending on the holding period, plus New York State and, for city residents, New York City income tax, since neither taxes long-term gains at a reduced rate.
Does a homeowner need to report a home sale if the entire gain is excluded?
Often yes, particularly when a Form 1099-S was issued at closing. Reporting the sale and claiming the exclusion on the return avoids a mismatch notice even when no tax is actually due.




