Selling a New York City apartment is one of the biggest financial events most people will experience — and one of the most heavily taxed. Between federal capital gains, New York State income tax, the city's own income tax, potential depreciation recapture, and the transfer taxes that come on top, the gap between your sale price and your actual take-home can be much wider than most sellers expect. I wrote this guide because understanding the tax landscape before you list is the first step to keeping more of what you've earned.
Section 01How Capital Gains Tax Works When You Sell
Capital gains tax applies to the profit you make on the sale of an asset — in this case, your NYC apartment. The "gain" is the difference between your net sale price (what you receive after commissions, transfer taxes, and closing costs) and your adjusted cost basis (what you paid, plus qualifying improvements, minus any depreciation taken).
The rate you pay on that gain depends primarily on one thing: how long you owned the property.
Short-Term vs. Long-Term Capital Gains
Short-term capital gains apply when you sell an asset you've held for one year or less. These gains are taxed as ordinary income, meaning they're subject to your marginal federal income tax rate — which in 2026 can be as high as 37% for top earners. For most NYC apartment sellers with meaningful gains, short-term treatment is financially painful.
Long-term capital gains apply when you've held the property for more than one year. Federal rates are significantly more favorable:
0%Single Filers
Under $48,35015%Single Filers
$48,350 – $533,40020%Single Filers
Over $533,400For married couples filing jointly, the 15% bracket applies up to $600,050 and the 20% rate kicks in above that threshold. The vast majority of NYC apartment sellers with significant gains will land in the 15% or 20% bracket.
On top of the base rate, high-income sellers face the Net Investment Income Tax (NIIT) — an additional 3.8% surtax on investment income for individuals earning above $200,000 ($250,000 for married couples). This effectively brings the top federal rate on long-term capital gains to 23.8%.
💡 Why Holding Period Matters So MuchThe difference between selling at 11 months and 13 months can be enormous. On a $400,000 gain, short-term treatment at the 37% federal rate costs $148,000 in federal tax alone. Long-term treatment at 20% plus NIIT costs $95,200 — a savings of over $50,000. If you're anywhere near the one-year mark, the math almost always says wait.
Section 02The Primary Residence Exclusion — $250K / $500K
This is the single most powerful tax benefit available to apartment sellers, and it's the reason many homeowners pay zero federal capital gains tax when they sell.
Under IRC Section 121, if you've owned and used the property as your primary residence for at least two of the five years before the sale, you can exclude up to:
$250KSingle Filer
Exclusion$500KMarried Filing
Jointly2 of 5Years Ownership
& Use RequiredThe two years don't need to be consecutive. You could live in the apartment for 14 months, rent it out for a year, move back in for 10 months, and still qualify — as long as you hit 24 months of both ownership and use within the five-year lookback window.
Key Rules and Limitations
You can only use this exclusion once every two years. If you sold another primary residence and claimed the exclusion within the preceding 24 months, you're ineligible.
Partial exclusions are available if you don't meet the full two-year requirement due to a change in employment, health, or unforeseen circumstances. The excluded amount is prorated based on the time you actually lived there.
Non-qualified use matters. If you used the property for a purpose other than your primary residence after 2008 — for instance, renting it out before moving in — a portion of the gain attributable to that non-qualified use period may not be excludable. This is an area where the rules get technical and a CPA who understands NYC real estate is essential.
💡 NYC-Specific ConsiderationThe Section 121 exclusion applies to federal and New York State income tax, but it does not apply to NYC and NYS transfer taxes. Those are separate charges based on the sale price itself, not your capital gain. We cover transfer taxes in our NYC transfer tax guide.
Section 03New York City and New York State — The Extra Layers
Here's what makes selling in NYC different from selling in most of the country: you don't just pay federal capital gains tax. You pay state and city income tax on the gain as well. New York has no separate capital gains rate — gains are taxed as ordinary income at the state and city level.
New York State Income Tax on Capital Gains
NYS taxes capital gains as ordinary income. For 2026, the top marginal rate is 10.9%, which applies to taxable income over $25 million. More realistically, most NYC apartment sellers with substantial gains will fall in the 6.85% to 8.82% range. The 8.82% rate applies to income between roughly $1.08 million and $5 million.
New York City Income Tax on Capital Gains
If you're a NYC resident, you also pay the city's income tax on your capital gain. The top rate is 3.876%, applying to taxable income over $500,000.
What the Combined Rate Looks Like
| Tax Layer | Rate | Notes |
|---|
| Federal Long-Term Capital Gains | 0% / 15% / 20% | Based on income bracket |
| Net Investment Income Tax (NIIT) | 3.8% | Income over $200K single / $250K joint |
| New York State Income Tax | Up to 10.9% | Taxed as ordinary income; most sellers 6.85–8.82% |
| New York City Income Tax | Up to 3.876% | NYC residents only; top rate on income > $500K |
| Combined Maximum | ~38.5% | Federal 20% + NIIT 3.8% + NYS 10.9% + NYC 3.876% |
For a high-income NYC seller with a large long-term gain, the effective combined rate can approach 35–38%. On a $1 million gain, that translates to roughly $350,000–$380,000 in total income taxes — before you even account for transfer taxes and broker commissions.
This is why tax planning before you sell — not after — is so important. Strategies like timing, installment sales, and 1031 exchanges can materially change this outcome.
Free Resource
Planning to Sell Your NYC Apartment?
I'll walk you through your net proceeds, tax exposure, and the smartest way to structure your sale — no pressure, no pitch.
Start a Conversation
Section 04Co-op vs. Condo — How Ownership Type Affects Your Cost Basis
Your cost basis is the starting point for calculating your capital gain, and it works differently depending on whether you own a co-op or a condo.
Condo Cost Basis
For condo owners, the basis calculation is relatively straightforward. Your cost basis is:
- Purchase price of the unit
- Plus buyer closing costs at purchase (attorney fees, title insurance, mortgage recording tax, mansion tax paid)
- Plus capital improvements made during ownership (renovated kitchen, new bathroom, structural work — not repairs or maintenance)
- Minus any depreciation taken (investment properties only)
Co-op Cost Basis
Co-ops are more complex because you own shares in a corporation, not real property. Your cost basis includes:
- Purchase price (price paid for shares + proprietary lease)
- Plus buyer closing costs
- Plus capital improvements to your unit
- Plus your proportionate share of the co-op corporation's mortgage principal payments (this is unique to co-ops and often overlooked)
- Minus any depreciation taken on your share allocation
That fourth item is critical. When you pay monthly maintenance to a co-op, a portion typically goes toward paying down the building's underlying mortgage. Those principal payments increase your cost basis in the shares. Over a decade or more of ownership, this can add tens of thousands of dollars to your basis — reducing your taxable gain significantly.
💡 Don't Forget the Underlying MortgageMany co-op sellers — and even some accountants who don't specialize in NYC real estate — miss this adjustment. Ask your managing agent for a year-by-year breakdown of how your maintenance was allocated between operating expenses, property taxes, interest, and mortgage principal. Your CPA needs this to calculate your true basis.
Section 05Depreciation Recapture for Investment Properties
If you've been renting out your NYC apartment as an investment property, you've likely been taking depreciation deductions on your federal tax returns. Residential rental property is depreciated over 27.5 years using the straight-line method — and the IRS gives you this deduction whether you claim it or not.
That's the key point: even if you didn't take depreciation deductions, the IRS treats you as if you did. This is called "allowed or allowable" depreciation, and it reduces your cost basis regardless.
How Depreciation Recapture Is Taxed
When you sell, the portion of your gain attributable to depreciation previously taken (or allowable) is taxed at a flat federal rate of 25% under Section 1250 — not at the lower long-term capital gains rate. Any gain above the depreciation recapture amount is then taxed at standard long-term capital gains rates.
25%Federal Depreciation
Recapture Rate27.5 yrResidential Rental
Depreciation Period3.636%Annual Depreciation
Rate (Straight-Line)Example: You purchased a condo for $800,000, used it as a rental for 10 years, and claimed $218,000 in depreciation. You sell for $1.2 million. Your adjusted basis is $582,000 ($800K minus $218K depreciation). Your total gain is $618,000. The first $218,000 is taxed at the 25% recapture rate ($54,500), and the remaining $400,000 is taxed at long-term capital gains rates.
Add NYS and NYC income tax on top, and an investment property seller in New York can face an effective combined rate on the recaptured portion approaching 40%.
💡 Converting Rental to Primary ResidenceSome sellers move back into their investment property and live there for two years to claim the Section 121 exclusion. This can work, but the rules have tightened since 2008. Gain attributable to "non-qualified use" periods (time the property was rented out after January 1, 2009) is generally not eligible for the exclusion. Depreciation recapture is also not excluded under Section 121. Consult a tax professional before attempting this strategy.
✉️
The Advice I Give My Clients — In Your Inbox
A weekly email with the insights, advice, and perspective I share with my own clients — now in your inbox.
Section 061031 Exchanges — Deferring Capital Gains on Investment Properties
A 1031 exchange (named after IRC Section 1031) allows you to defer capital gains tax entirely by reinvesting the proceeds from an investment property sale into another "like-kind" investment property. This is one of the most powerful tax-deferral tools in real estate — but it comes with strict rules and tight timelines.
Key Requirements
- Investment property only — Your primary residence does not qualify. Both the property you're selling (relinquished) and the one you're buying (replacement) must be held for investment or business use.
- 45-day identification period — You must identify potential replacement properties in writing within 45 calendar days of closing on the sale.
- 180-day closing deadline — You must close on the replacement property within 180 calendar days of the sale.
- Equal or greater value — To defer 100% of the gain, the replacement property must be of equal or greater value, and you must reinvest all net proceeds.
- Qualified intermediary required — You cannot touch the sale proceeds. A qualified intermediary (QI) holds the funds between transactions.
1031 Exchanges and NYC Co-ops
Here's a nuance that trips up many NYC sellers: co-op shares are technically personal property (securities), not real property. Historically, there was debate about whether co-op sales qualified for 1031 exchanges. However, for federal tax purposes, co-op shares held for investment are generally treated as qualifying for 1031 exchanges under established IRS guidance and case law. Still, this is an area where you need your tax advisor to confirm eligibility based on your specific situation.
Condos, as deeded real property, are straightforward 1031 candidates.
💡 Practical Reality CheckThe 45-day identification window is the biggest pressure point. In a market like NYC, finding and getting under contract on the right replacement property in 45 days requires serious advance planning. Many exchangers look at properties outside of NYC — multi-family buildings in other markets, commercial properties, or Delaware Statutory Trusts (DSTs) — to meet the deadline.
Section 07Strategies to Minimize Capital Gains
Tax planning should start well before you list your apartment. Here are the most effective strategies NYC sellers use to reduce their capital gains exposure:
Maximize Your Cost Basis
Document every capital improvement. That kitchen renovation, the new HVAC system, the bathroom gut job — these all add to your cost basis and reduce your taxable gain. Keep receipts, contractor invoices, and permits. The IRS distinguishes between improvements (which increase basis) and repairs (which don't). A new roof is an improvement. Fixing a leak is a repair.
Include all allowable purchase costs. Your original closing costs — attorney fees, title insurance, transfer taxes you paid as a buyer, mansion tax — are all part of your basis. Many sellers forget these.
Timing the Sale
Sell in a lower-income year. If you're planning to retire, take a sabbatical, or otherwise expect reduced income, timing your sale to coincide with that lower-income year can drop you into a lower bracket at both the federal and state level.
Watch the calendar. If you're close to the one-year holding period for long-term treatment or the two-year mark for the Section 121 exclusion, waiting a few weeks or months can save tens of thousands of dollars.
Charitable Strategies
High-net-worth sellers can donate appreciated property (or sale proceeds) to a charitable remainder trust (CRT) or donor-advised fund to offset gains. Contributing directly to a qualified charity before the sale can also reduce taxable income. These strategies require careful planning with an estate attorney and tax advisor.
💡 The Bottom Line on Tax StrategyNo single strategy works for everyone. The optimal approach depends on your ownership type (co-op vs. condo), how you used the property (primary residence vs. investment), your income level, and your future plans. The best time to start planning is 12–18 months before you intend to sell. The worst time is at the closing table.
QuestionsFrequently Asked Questions
How much capital gains tax will I pay when I sell my NYC apartment?
It depends on your holding period, income level, and whether the property was your primary residence. For a high-income NYC seller with a long-term gain that exceeds the Section 121 exclusion, the combined federal, state, and city rate can reach approximately 35–38%. If you qualify for the full primary residence exclusion, you may owe zero on up to $250,000 ($500,000 for married couples) of gain.
Does the $250K/$500K exclusion apply to NYC and New York State taxes too?
Yes — the Section 121 primary residence exclusion applies to both your federal return and your New York State and City income tax returns. If your gain is fully excluded at the federal level, it's also excluded at the state and city level. However, the exclusion does not affect NYC/NYS transfer taxes, which are based on the sale price, not the gain.
Can I do a 1031 exchange on my NYC co-op?
Generally yes, though co-ops present a unique wrinkle because you own shares in a corporation rather than real property. Under established IRS guidance, co-op shares held for investment purposes are typically treated as qualifying for 1031 exchange treatment. However, your primary residence does not qualify for a 1031 exchange regardless of property type. Always confirm eligibility with a tax attorney experienced in NYC real estate.
What happens if I converted my apartment from a rental to my primary residence before selling?
You may be eligible for the Section 121 exclusion if you meet the two-out-of-five-year ownership and use test. However, gain attributable to "non-qualified use" periods after 2008 (time the property was not your primary residence) is generally not excludable. Additionally, depreciation recapture is never excluded under Section 121. The math can work in your favor, but it requires careful calculation.
Are there any ways to avoid capital gains tax entirely when selling in NYC?
The primary residence exclusion can eliminate the tax if your gain is under $250K/$500K. A 1031 exchange defers the tax indefinitely on investment properties. Beyond that, dying with the property provides a stepped-up basis to your heirs (the "angel of death" loophole). For most sellers, the realistic goal is minimizing the tax through basis optimization, timing, and strategic use of exclusions — not eliminating it entirely.
ARP
Selling Your NYC Apartment?
I help sellers understand their net proceeds before they list — so there are no surprises at the closing table. Let's run the numbers together.
Take the Quiz
or email me at anthony.park@corcoran.com
Keep Reading
Loading latest posts…