The Home Sale Exclusion: Your First $250,000 or $500,000 Is Likely Tax-Free
Under federal tax law (Section 121), you can exclude up to $250,000 of gain if you're single, or $500,000 if you're married filing jointly, when you sell your primary residence — and this applies to co-ops as well as condos. To qualify, you need to pass both:
- The ownership test — you owned the property for at least 2 of the 5 years before the sale
- The use test — you lived in it as your primary residence for at least 2 of those same 5 years (the two years don't need to be continuous)
You generally can't use this exclusion more than once every 2 years. If you're selling earlier due to a job change, health issue, or another qualifying unforeseen circumstance, a partial exclusion may still be available.
For most owner-occupied sales under the exclusion threshold, this means no federal capital gains tax at all on the sale. The tax questions below become relevant once your gain exceeds $250,000 (single) or $500,000 (married) — which, given NYC price appreciation over a long hold, is more common than owners often assume.
Tax Rates on Gain Above the Exclusion
Gain above your exclusion amount is taxed at federal long-term capital gains rates: 0%, 15%, or 20% depending on your total taxable income, plus a 3.8% Net Investment Income Tax for higher earners (this threshold hasn't been adjusted for inflation in over a decade, so it catches more sellers each year as incomes rise). Combined, the top federal rate on gain above your exclusion can reach 23.8%.
New York State and NYC Both Add More
Unlike the federal system, New York State taxes capital gains as ordinary income — there's no preferential rate — under a progressive schedule that runs up to a top rate of 10.9% at very high income levels. New York City does the same for city residents, with rates up to 3.876%, a top bracket that kicks in at a relatively modest income level compared to the state and federal brackets. Stack federal, state, and city tax together, and a high-earning NYC seller's effective rate on gain above the exclusion can reach into the high 30% range — a meaningfully larger bite than many sellers expect going in.
If You Ever Rented the Unit Out
If your apartment was ever a rental — either a dedicated investment property or a primary residence you rented out for a period — any depreciation you claimed gets "recaptured" and taxed separately at a federal rate of up to 25%, on top of standard capital gains treatment on the rest of your gain. This applies regardless of whether the remaining gain qualifies for the Section 121 exclusion.
The Co-op Basis Wrinkle Most Owners Miss
Your taxable gain is calculated as sale price minus your cost basis (roughly what you paid, plus qualifying improvements, minus selling costs). For co-op owners, there's a genuinely underused opportunity here: building-level capital improvements — funded through special assessments or the reserve-fund portion of your monthly maintenance — can often be added to your basis in the co-op stock, the same way a condo owner would add the cost of their own unit renovations. Because this isn't itemized on your personal closing statement the way individual improvements are, it's easy to miss. Check your building's financials or ask your managing agent for a capital improvement history before calculating your basis.
Separately, your co-op's flip tax (typically 1–3% of sale price — see our flip tax guide) functions like a selling cost and reduces your taxable gain, similar to broker commission and other transaction costs.
What This Means Practically
For most owner-occupied sellers with moderate appreciation, the home sale exclusion means capital gains tax simply isn't a major factor. For long-term owners in strongly appreciated buildings or neighborhoods — or anyone who ever rented out the unit — it's worth running actual numbers with a tax professional before you price your expectations, since the gap between your sale price and what you actually keep can be larger than the closing costs alone would suggest. See our companion guide on seller closing costs for the rest of that picture.