A married couple selling a Manhattan co-op for a $900,000 gain over their original cost can owe roughly $150,000 in combined federal, New York State, and New York City tax after the IRS §121 exclusion is applied. Most sellers do not see that number until their CPA runs the return the following spring, by which point the proceeds have already been spent on the next home.
In my 25+ years closing co-op and condo sales across Manhattan and Queens, the capital gains conversation is the one I have to start the earliest, because it changes pricing strategy, timing, and even whether a 1031 exchange or installment sale should be on the table. This guide walks through every layer of capital gains tax that applies to a New York City home sale in 2026, with the actual rates, the actual thresholds, and the moves sellers can make before listing.
What This Guide Covers
- The IRS §121 primary residence exclusion ($250K single / $500K married)
- Federal long-term capital gains brackets and the 3.8% Net Investment Income Tax
- New York State income tax on gains (top rate 10.9% in 2026)
- New York City resident income tax (top rate 3.876%)
- 1031 like-kind exchanges for investment property
- Stepped-up basis on inherited property
- Divorce transfers under §1041
- Converting a primary residence to a rental
- FIRPTA withholding for foreign sellers
- New York Form IT-2663 estimated tax for nonresident sellers
What Is a Capital Gain on a Home Sale?
The capital gain is the difference between your adjusted basis in the property and the amount realized at sale. Adjusted basis is your original purchase price plus capital improvements (kitchen renovations, bathroom rebuilds, central air installation, structural work) and certain closing costs from the original purchase. Amount realized is the contract price minus selling costs (broker commission, attorney fees, transfer taxes, flip tax for co-op sellers).
For a long-time owner, the capital improvements line is where most sellers leave money on the table. A $75,000 kitchen renovation from 2014 directly reduces taxable gain if you have the receipts. The IRS does not require receipts at closing, but they do require them in audit, so save records before listing. For sellers in Manhattan and Brooklyn who have held units for 15-plus years, basis tracking can mean tens of thousands in tax savings.
Long-term vs. short-term
Hold the property more than one year and the gain is long-term, which qualifies for preferential federal rates. Sell in 12 months or less and the gain is short-term, taxed at your ordinary federal income tax rate (up to 37% in 2026). New York State and New York City tax all capital gains as ordinary income regardless of holding period, so the long-term advantage applies only to the federal portion.
The IRS §121 Primary Residence Exclusion
Section 121 of the Internal Revenue Code lets a single filer exclude up to $250,000 of gain on the sale of a primary residence, and married filers filing jointly can exclude up to $500,000. To qualify, you must meet two tests in the five years ending on the date of sale:
- Ownership test: You owned the home for at least 2 years (24 months) of the past 5
- Use test: You lived in the home as your primary residence for at least 2 years (24 months) of the past 5
The 24 months do not have to be consecutive and do not have to overlap. A homeowner who lived in the unit from 2021 to 2023 and rented it out from 2023 to 2026 can still qualify if the sale closes before the 5-year window from the move-out date expires. After that window, the use test fails and the full exclusion is lost.
Partial exclusion for early sale
If you sell before meeting the 2-year tests because of a qualifying reason (job relocation more than 50 miles from prior employment, health issue, unforeseen circumstance like divorce or birth of multiples), you can claim a partial exclusion based on the months actually lived there. A married couple who lived in the home 12 of the required 24 months and qualifies for the partial exclusion can shelter $250,000 of gain (12/24 × $500,000), not zero.
The §121 anti-flip rule
You can use the §121 exclusion only once every two years. If you used it on a prior sale within the past 24 months, the next sale gets nothing under §121 even if the new property meets the ownership and use tests. Sellers who flip primary residences need to time closings around this rule.
Federal Long-Term Capital Gains Rates (2026)
After applying the §121 exclusion, the remaining gain is taxed at federal long-term capital gains rates, which are bracketed by taxable income:
| Filing Status | 0% Rate Up To | 15% Rate | 20% Rate Over |
|---|---|---|---|
| Single | $48,350 | $48,350 to $533,400 | $533,400 |
| Married Filing Jointly | $96,700 | $96,700 to $600,050 | $600,050 |
| Head of Household | $64,750 | $64,750 to $566,700 | $566,700 |
2026 IRS inflation-adjusted thresholds. Verify with current IRS Pub. 550.
Most New York City home sellers fall into the 15% bracket because their household income alone (before the gain) puts them above the 0% ceiling. A high earner with a large gain can land in the 20% bracket on the portion of gain that pushes total taxable income over $600,050 (joint) or $533,400 (single).
The 3.8% Net Investment Income Tax (NIIT)
On top of the federal rate, the Net Investment Income Tax adds 3.8% on the lesser of (a) net investment income or (b) modified adjusted gross income (MAGI) above the threshold. Thresholds are $200,000 single and $250,000 married filing jointly. Capital gains count as investment income, so most NYC sellers with meaningful gains will owe NIIT in addition to the long-term rate. Effective top federal rate on long-term capital gains for high earners is 23.8% (20% + 3.8%).
High-Value NYC Listings
Larger gains, larger tax planning opportunities. Currently active across NYC.
217 W 57th Street #127/128
Midtown
111 W 57th Street #QUADPLEX 80
Midtown
Listing information provided courtesy of the Real Estate Board of New York's Residential Listing Service (RLS). Information is deemed reliable but not guaranteed. Sale listings verified. ©2026 REBNY. RLS data displayed by Keller Williams NYC.
New York State Capital Gains Tax
New York State does not have a separate capital gains rate. Gains are added to ordinary income and taxed at the state's progressive income tax brackets. For 2026, the top New York State rate is 10.9% on income over approximately $25 million, with the bracket structure stepping up from 4% at the lowest tier to 10.9% at the top. Most sellers with a large home sale gain land in the 6.85% to 9.65% range depending on how the gain stacks on top of wages.
Form IT-2663 for nonresident sellers
If the seller is a nonresident of New York at the time of sale (lives in another state and is selling a NYC investment or former primary residence), New York requires Form IT-2663 to be filed at closing with an estimated tax payment equal to 10.9% of the gain. The payment is made through the closing attorney and reconciled on the seller's nonresident return the following year. Resident sellers do not file IT-2663 because they pay through normal estimated tax or withholding.
New York City Resident Income Tax
If you are a New York City resident on the date of sale, the gain is also subject to NYC resident income tax. The top NYC rate in 2026 is 3.876%, with brackets starting at 3.078%. NYC tax is added on top of New York State tax, and there is no preferential city rate for capital gains. A high-income NYC resident selling a home faces this combined picture on the gain over the §121 exclusion:
| Tax Layer | Top Rate | Notes |
|---|---|---|
| Federal LTCG | 20% | Income over $600,050 joint / $533,400 single |
| Federal NIIT | 3.8% | MAGI over $250K joint / $200K single |
| New York State | 10.9% | Top bracket; most sellers in 6.85%–9.65% |
| NYC Resident | 3.876% | Only if NYC resident on sale date |
| Combined Top | ~37.6% | High earners selling at top brackets |
Illustrative top combined rate. Actual liability depends on filing status, income, and basis. Consult a CPA.
Worked example: $1.6M condo sale, married couple
A married couple bought a 2-bedroom condo in Williamsburg in 2009 for $625,000. They added $80,000 in capital improvements (full kitchen, two bath rebuilds, HVAC replacement). Adjusted basis is $705,000. They sell in 2026 for $1,650,000 with $115,000 in selling costs (commission, attorney, NYC + NYS transfer tax, board package fees). Amount realized is $1,535,000. Gain is $830,000. After the $500,000 §121 exclusion, taxable gain is $330,000.
Assuming the couple has $400,000 in W-2 wages and the gain stacks on top, the federal piece is taxed at 15% LTCG plus 3.8% NIIT (they are well over the $250K MAGI threshold) = 18.8% × $330,000 = $62,040. New York State at roughly 6.85% effective on the gain = $22,605. NYC at roughly 3.876% = $12,791. Total tax on the $330,000 taxable gain: about $97,436, or 29.5% of the taxable gain. The couple keeps roughly $232,564 of that gain after tax, and the full $500,000 exclusion stays untouched.
1031 Exchanges (Investment Property Only)
A 1031 like-kind exchange lets a seller defer capital gains tax by reinvesting proceeds into another investment property of equal or greater value. Critical limit: 1031 does not apply to a primary residence. Only investment or business-use property qualifies. NYC owners who have converted a primary unit to a rental can use 1031 once the property has been rental long enough to count as held for investment.
The two deadlines that kill exchanges
- 45-day identification: From the closing date of the relinquished property, the seller has 45 calendar days to identify (in writing, to a qualified intermediary) up to three replacement properties
- 180-day close: The replacement property must close within 180 calendar days of the original sale
Both deadlines are absolute. There are no extensions for weekends, holidays, or financing delays. A qualified intermediary must hold the proceeds throughout; the seller cannot touch the money. Sellers who want to roll a NYC rental into another investment need the QI in place before the closing of the relinquished property, not after.
Stepped-Up Basis on Inherited Property
Inherited property gets a basis step-up to fair market value as of the date of death of the prior owner. A child inheriting a co-op the parent bought for $90,000 in 1985 that is worth $1,200,000 in 2026 takes a basis of $1,200,000, not $90,000. If the child sells immediately for $1,200,000, the capital gain is zero. The step-up is one of the most powerful tax advantages in the entire code, and it is the reason many NYC families hold long-appreciated property until inheritance rather than selling during the owner's lifetime. For a deeper walk-through, see the NYC inherited property selling guide.
Joint tenancy with right of survivorship
When co-owned property passes to the surviving owner, only the deceased owner's half receives the step-up. The surviving owner's half retains the original basis. This is the half-step-up rule and it is a common surprise for surviving spouses in NYC who bought property together in the 1990s. Community property states get a full step-up on both halves, but New York is not a community property state.
Divorce Transfers (§1041)
Section 1041 of the Internal Revenue Code treats transfers of property between spouses (or former spouses incident to divorce) as nontaxable events. No gain or loss is recognized at the time of transfer, and the receiving spouse takes the transferor's basis. The capital gains tax does not vanish; it carries with the property to the receiving spouse and is owed when that spouse later sells.
For NYC divorcing couples, this means a buyout of one spouse's interest in a co-op or condo does not trigger capital gains tax at the buyout itself. But the spouse who keeps the home is now sitting on the full historical basis and will owe the full gain (less §121 exclusion) when they eventually sell. This is a frequent point of negotiation in NYC matrimonial settlements because the keeping spouse is taking on a deferred tax liability that the leaving spouse is walking away from.
Converting a Primary Residence to a Rental
Renting out your former primary residence does not immediately disqualify you from the §121 exclusion, but the clock starts. You retain the right to claim §121 if the sale happens within five years of moving out and you met the 2-year ownership and use tests during that 5-year lookback. Wait too long and the use test fails permanently.
One additional wrinkle: depreciation taken (or that should have been taken) during the rental period must be recaptured at a 25% federal rate, even if §121 otherwise excludes the gain. The IRS will assume depreciation was taken whether you actually claimed it or not, so a rental owner who failed to depreciate still owes the recapture. This is a common audit issue for NYC owners who casually rented a unit on Airbnb or to a family member without working with a CPA.
FIRPTA: Foreign Sellers
Under the Foreign Investment in Real Property Tax Act, the buyer of US real estate from a foreign person must withhold 15% of the gross sale price and remit it to the IRS within 20 days of closing. The withholding is not the final tax; it is an estimated payment against the seller's eventual return. The foreign seller files Form 1040-NR the following year and either pays the difference or claims a refund.
For NYC, where a substantial percentage of high-end condo sellers are foreign nationals, FIRPTA compliance is handled at the closing table by the buyer's attorney and a withholding agent. Foreign sellers can apply for a withholding certificate (Form 8288-B) to reduce the 15% if their actual tax liability will be lower, but the application must be filed before closing and approval can take months.
Strategies to Reduce Capital Gains Tax on a NYC Sale
Before You List
- • Pull every capital improvement receipt and document basis additions
- • Verify you meet the 2-of-5 §121 ownership and use tests
- • Check whether a partial §121 exclusion applies for an early sale
- • Confirm residency on the sale date for NYC and NYS purposes
- • If divorcing, time the sale relative to §1041 transfer to optimize
At the Closing Table
- • Deduct broker commission, attorney fees, and transfer tax from amount realized
- • Co-op sellers: deduct the flip tax
- • File IT-2663 if a nonresident
- • Confirm FIRPTA withholding if a foreign seller
- • Get the closing statement to your CPA the week of closing, not the following March
Installment sales
If the seller agrees to take a portion of the sale price over multiple tax years (seller financing), the gain can be spread under the installment sale rules of §453. This pushes part of the gain into later tax years and can keep the seller out of the 20% federal bracket or below the NIIT threshold in any single year. Installment sales are uncommon in NYC residential closings but useful in certain estate or family transfer situations.
Charitable remainder trusts
For sellers with very large gains and charitable intent, a charitable remainder trust (CRT) can hold the property, sell it without immediate tax, pay the seller an income stream for life, and pass the remainder to charity at death. CRTs are sophisticated estate planning tools and require specialist counsel. They are not for the average NYC seller, but for someone selling a $5 million property bought in 1980, a CRT can shift the math significantly.
This Is Not Tax Advice
Capital gains tax is fact-specific. The numbers, brackets, and strategies above are general 2026 information and should not be relied on as tax advice for your situation. Always consult a licensed CPA or tax attorney before making decisions about timing a sale, claiming the §121 exclusion, structuring a 1031 exchange, or filing a nonresident return. Milton Coste is a Licensed Real Estate Associate Broker, not a tax professional, and refers all sellers to qualified tax counsel.
Common Questions From NYC Sellers
Do I owe capital gains tax if I am rolling proceeds into a new home?
The old "rollover" rule that let homeowners defer gain by buying a more expensive house was repealed in 1997. Today the only relief on a primary residence is the §121 exclusion. Buying a new home does not defer or eliminate tax on the gain from the old one.
Does the gain include the mortgage payoff?
No. The mortgage payoff comes out of sale proceeds at closing, but it is not a deduction against gain. Capital gain is calculated on the difference between adjusted basis and amount realized. A seller who owes $800,000 on a property they bought for $400,000 and sells for $1,200,000 has an $800,000 gain (before §121 and selling costs), not a zero gain because they walked away with no cash.
Can I use §121 on a co-op?
Yes. The IRS treats co-op shares as a primary residence for §121 purposes as long as the unit is your primary home and you meet the ownership and use tests. Co-op flip tax paid at closing reduces amount realized and therefore reduces gain.
What if I rent out a portion of my home (house hack)?
If you rent out a separate dwelling unit (basement apartment with its own entrance), only the portion used as your primary residence qualifies for §121. The rented portion is treated as investment property and must be allocated separately. Depreciation taken on the rental portion is recaptured at 25% on sale.
What about the New York State transfer tax?
NY State imposes a real property transfer tax of $2 per $500 of consideration (0.4%), and NYC imposes its own transfer tax of 1% to 1.425% depending on price. These are transfer taxes, not capital gains taxes, and they reduce amount realized rather than being added on top of the income tax bill. For the full breakdown of what comes out of a seller's proceeds at closing, see the NYC real estate closing costs breakdown.
Why Pricing and Timing Matter to the Tax Bill
Two sellers can have identical homes and end up with very different tax bills based on when they close and how the deal is structured. A December 31 closing pushes the gain into one tax year; a January 2 closing pushes it into the next, which matters if the seller had a windfall income year in the closing year. A married couple selling jointly has double the §121 exclusion of a single filer, which is a planning consideration for a divorcing couple deciding whether to close before or after the divorce is finalized. A seller who can document an additional $40,000 in capital improvements at the basis line saves real money at the gain line.
This is the conversation I have with sellers months before listing, not days before closing. The right pricing strategy and the right closing date can shift the after-tax outcome by tens of thousands of dollars in NYC, especially on long-held co-ops and condos where the gain is large relative to the §121 exclusion. Sellers who wait until the offer is on the table to think about tax have already lost most of the optimization opportunity.
Planning to Sell a NYC Co-op or Condo?
Milton Coste has 25+ years closing co-op and condo sales across all five boroughs. Get a pricing strategy that accounts for capital gains, transfer tax, and your full net proceeds before you list.
Schedule a Free ConsultationRelated Reading for NYC Sellers
- NYC Flip Tax Guide: What Sellers Pay for the building-level fee that reduces your amount realized
- NYC Real Estate Closing Costs Breakdown for the full list of selling costs that come out of proceeds
- NYC Mansion Tax 2026 Guide for buyer-side transfer tax that affects pricing strategy
- Selling Inherited Property in NYC for the stepped-up basis rules in detail
- Strategic Pricing for NYC Sellers for how listing price interacts with after-tax proceeds