The short answer
A higher sale price does not mean the entire price is taxable. If you qualify, the federal home-sale exclusion can shelter up to $250,000 of gain, or up to $500,000 for eligible married couples filing jointly. Tax on the remaining gain depends on your basis, income, ownership history and residency. Rental use can change the calculation substantially.
Do I pay capital gains tax when I sell my home in NYC?
If you have owned your Brooklyn home for years, the question is often: how much of the increase will I actually keep? Start with Section 121, the federal home-sale exclusion. Generally, you must have owned and used the property as your main home for at least two years during the five years before the sale, and satisfy the two-year look-back rule for prior exclusions.
For the full $500,000 joint exclusion, at least one spouse generally must meet the ownership test, both must meet the residence test, and neither may be disqualified by a recent prior exclusion. A house, condo or co-op can qualify. Special rules and partial exclusions may apply. See IRS Topic 701 and Publication 523.
Key takeaway
Before you estimate a tax bill, establish your gain and whether you qualify for the exclusion. The selling price alone cannot answer either question.
How is the gain on a home sale calculated?
The basic calculation is sale proceeds after eligible selling expenses, minus your adjusted basis. Basis often starts with the purchase price and certain purchase costs, then increases for qualifying improvements and decreases for items such as allowable depreciation. Your mortgage payoff affects cash at closing; it does not reduce the taxable gain.
- Start with the sale priceThe contract price at closing.
- Subtract selling costsTransfer taxes, broker commission, attorney fees and similar costs of the sale.
- Subtract your cost basisInclude qualifying purchase costs and improvements, then account for depreciation and other required basis adjustments. Routine maintenance generally does not increase basis.
- Apply the exclusionSubtract $250,000 or $500,000 if you qualify. What remains is your taxable gain.
Worked example
A Brooklyn brownstone bought in 2005 and sold today
Suppose a married couple bought a qualifying one-to-three-family home for $900,000, made $150,000 of qualifying documented improvements and sells it for $3 million. Assume they qualify for the full $500,000 exclusion, used the entire property as their main home and have no rental use, depreciation or other basis adjustments. Combined city and state transfer taxes would be $62,250 in this simplified example.
That leaves $1,387,750 of gain after the assumed exclusion, before subtracting other eligible selling costs. Commission and qualifying legal expenses would reduce it further. This is a gain calculation, not a tax bill: your accountant still needs your income, filing status, residency and property history to determine the tax.
What are the capital gains tax rates for a NYC home sale?
A NYC resident may face federal, New York State and city tax on taxable gain. New York generally follows the federal home-sale exclusion; it does not simply tax the federally excluded amount again. Taxable capital gains receive no separate preferential rate at the state or city level. NYC personal income tax generally applies to city residents.
Layer | Rate on long term gain | Notes |
|---|---|---|
Federal capital gains | 0%, 15% or 20% | Depends on taxable income; applies to homes held more than one year |
Federal net investment income tax | 3.8% | Generally 3.8% of the lesser of net investment income or modified adjusted gross income above $200,000 for single filers or $250,000 for joint filers ($125,000 married filing separately). Gain excluded under Section 121 is excluded from NIIT. |
New York State | Taxed as ordinary income, up to 10.9% | No special capital gains rate |
New York City | 3.078% to 3.876% | NYC residents only |
Sources: IRS Topic 701, IRS Topic 559 and NYS 2026 estimated-tax instructions and rate schedules. Rates and rules reviewed November 16, 2026.
What if I rented the home, inherited it or moved away?
You rented it out
If you rented the property, bring that history to your accountant early. Gain attributable to depreciation allowed or allowable after May 6, 1997 generally cannot be excluded, and unrecaptured Section 1250 gain can face a federal rate of up to 25%. Some periods of nonqualified use can limit the exclusion. A separate rental unit in an owner-occupied multifamily house may require an allocation between residential and rental portions.
You inherited it
Inherited property generally receives a basis tied to its fair market value at the owner's death, subject to exceptions and any applicable alternate valuation. That adjustment can be up or down. Keep the estate's valuation records; do not substitute what the prior owner originally paid.
You live outside New York State
Selling while living outside New York? State estimated-tax forms may be required at the transfer: generally IT-2663 for real property or IT-2664 for a co-op. Exceptions include qualifying principal-residence transfers. An exception to paying estimated tax at closing does not necessarily mean no tax is due on the return. Ask your attorney and accountant to confirm the filing and payment requirements before closing.
You sell before two years
A partial exclusion may apply if you sell early because of a job change, health or certain unforeseen events.
Key takeaway
Bring your accountant into the conversation before you commit to a sale timeline. Purchase records, improvement receipts, rental schedules and residency dates can matter as much as the offer price.
Glossary
Section 121 exclusion: The federal rule that lets you exclude up to $250,000 or $500,000 of gain on your main home.
Adjusted basis: Your starting basis, increased or decreased for qualifying costs, improvements, depreciation and other adjustments.
Capital improvement: Qualifying work that adds value, prolongs useful life or adapts a property to a new use. Routine maintenance generally does not increase basis; work within a larger improvement may be treated differently.
NIIT: The 3.8% federal net investment income tax on higher earners.
Depreciation recapture: Tax on depreciation from years the home was a rental, due when you sell.
Inherited basis: Generally a value-based adjustment at death, which can increase or decrease basis and is subject to special rules.
Knowing your likely proceeds makes the selling conversation more useful. We help with pricing and a net sheet, so you and your accountant can work through the tax side with real numbers.
Fouad Rahmé, Principal & Founder, Rahmé Team at Compass
Plan your sale
Know your price and your gain before you list
We will prepare a pricing review and a net sheet you can take straight to your accountant.
Capital gains questions
How much capital gains tax will I pay on my NYC home?
The amount depends on your adjusted basis, eligible selling costs and exclusion eligibility. Qualifying sellers can exclude up to $250,000 of gain, or $500,000 for eligible joint filers. Remaining long-term gain may face federal capital-gains tax, possible NIIT and applicable state and city income tax. Rental use and depreciation need separate attention.
Does New York have a special capital gains rate?
No preferential capital-gains rate applies to taxable gain in New York State or NYC. New York generally follows the federal home-sale exclusion, while residency and New York-source income rules affect what is taxable. NYC personal income tax generally applies only to residents.
Does the exclusion apply to co-ops?
Yes. The IRS treats a co-op apartment you own and live in as a home for the exclusion.
Can I use a 1031 exchange on my home?
A main home alone does not qualify. Section 1031 applies to qualifying real property held for investment or business use. A property with both personal and investment use needs professional review of each portion and the exchange requirements.
Do selling costs lower my tax?
Yes. Transfer taxes, commission and attorney fees are subtracted from the sale price before your gain is figured. Our guide to NYC seller closing costs lists them.
Fouad Rahmé
Principal & Founder, Rahmé Team at Compass
The Rahmé Team advises buyers, sellers, investors and developers across Brooklyn, with 40 years of combined experience, more than 1,000 clients and transactions, and over $800 million in career sales. RealTrends Verified ranks the team in the top 1.5% of real estate professionals nationwide.
Contact Fouad or call M: 646-207-6081.
Sources: IRS Topic 701: Sale of Your Home; IRS Publication 523; IRS Topic 559: NIIT; NYS 2026 tax schedules; NYS real-property transfer forms, including IT-2663 and IT-2664. Reviewed November 16, 2026.
This article is general information, not tax or legal advice. Consult a qualified tax professional about your situation. Rahmé Team at Compass. Compass is a licensed real estate broker and abides by Equal Housing Opportunity laws.