
Selling a Greenwich Home: Capital Gains, the $250,000 and $500,000 Exclusion and What to Know Before You List
The IRS lets you exclude up to $250,000 of gain on the sale of your main home, or $500,000 on a joint return, if you owned and lived in it for at least 24 months of the five years before the sale. Only gain above the exclusion, or gain you cannot exclude, is generally taxable.
Your gain is the amount realized minus your adjusted basis. Gather your purchase records and every improvement receipt before you list. This is not tax advice.
Sellers who bought a Greenwich house years ago tend to ask two questions before they list: what will I net, and what will the IRS take. The first depends on the price and the costs in our cost-to-sell guide. The second depends on how long you owned and lived in the house, what you paid for it and what you put into it.
This guide explains what the IRS says in its Topic 701 and Publication 523, and what the IRS says about the 3.8 percent net investment income tax. It gives no tax rates and no estimate of anyone’s bill, because we have no sourced rate to apply. The planner at the end shows the gain that may be taxable, not the tax.
The exclusion and its two tests
The IRS says you may exclude up to $250,000 of the gain from your income, and up to $500,000 on a joint return. Both tests must be met within the five years ending on the sale date.
| Item | What the IRS says |
|---|---|
| Maximum exclusion | $250,000 for a single filer, increased to $500,000 for a married couple filing jointly. |
| Ownership test | You owned the home for at least 24 months (2 years) out of the last 5 years. On a joint return, either spouse can meet it. |
| Use test | You used the home as your residence for at least 24 months (2 years) of the previous 5 years. On a joint return, both spouses must meet it. |
| Overlap | The two 2-year periods do not have to overlap. |
| Once every two years | You are not eligible if you excluded the gain from the sale of another home within the two years before this sale, subject to exceptions in Publication 523. |
| Surviving spouse | You may qualify for the $500,000 limit if you sell within 2 years of your spouse’s death, have not remarried and meet the other conditions. |
| Military and foreign service | Qualified official extended duty may let you suspend the five-year test period for up to 10 years. |
Sources: IRS Topic No. 701, Sale of your home; IRS Publication 523, Selling Your Home (2025 edition). Rules, amounts and exceptions can change, and Publication 523 has more detail than this table.
Figuring the gain
Publication 523 says to subtract your adjusted basis from the amount realized to get your gain or loss. The amount realized is your selling price minus your selling expenses, and the selling price is everything you received for the home. If you receive a Form 1099-S, the gross proceeds appear in box 2.
- Selling expenses. The publication describes these as the costs directly associated with selling, including sales commissions, advertising fees and legal fees.
- Improvements add to basis. Improvements add to the value of your home, prolong its useful life or adapt it to new uses. Think an addition, a new roof or a renovated kitchen, with receipts.
- Repairs do not. Routine repairs and maintenance, such as painting or fixing leaks, do not increase basis. Repairs done as part of a larger remodeling or restoration project can count as improvements.
- A loss is not deductible. Publication 523 says a loss on the sale of your main home is not deductible.
The practical task is paperwork. A Greenwich house held for many years can have decades of improvements, and the receipts matter. Publication 523 advises keeping records documenting your adjusted basis until three years after the due date of the return for the year you sold.
When you may not get the full exclusion
- Short of two years. If you do not meet the full tests but the sale is due to a work, health or unforeseen circumstance, the exclusion is reduced. The publication’s worksheet multiplies the qualifying fraction of the two-year period by $250,000.
- Business or rental use. If you used part of the home for business or rental, you generally cannot exclude the part of the gain equal to any depreciation allowed or allowable after May 6, 1997, and that amount may be recaptured as ordinary income.
- Nonqualified use. Gain allocable to periods after 2008 when the home was not your main home is generally not excludable, with exceptions.
- Another sale within two years. The two-year rule above can remove the exclusion altogether.
The planner treats depreciation as an amount you enter. It does not figure nonqualified use or the partial exclusion for joint filers, and says so when it matters.
After the exclusion: reporting and the 3.8 percent tax
The IRS says to report the sale if you receive a Form 1099-S, even if the gain is excludable, and if you cannot exclude all of your gain. Gain that is not excluded is generally reported on Form 8949 and then Schedule D. Installment-method reporting is the default for an installment sale unless you elect out, and the exclusion remains available.
For the net investment income tax, the IRS says the 3.8 percent tax applies to certain net investment income above statutory thresholds, which are $250,000 of modified adjusted gross income for married filing jointly and $200,000 for single and head of household filers, and that these amounts are not indexed for inflation. It also says the tax does not apply to any gain excluded from gross income. In the IRS’s own example, a single seller with a $220,000 gain owes none because the exclusion covers it, while a married couple with a $600,000 gain and other investment income can owe it on the amount over the threshold. Whether it reaches you depends on your total income.
Connecticut and the sale-day costs
Connecticut’s resident income tax return starts from your federal adjusted gross income on its first line, so the federal treatment is the starting point. The instructions we read do not address home sales, and we did not verify a Connecticut-specific rule. Separately, the seller’s side pays Connecticut’s conveyance tax at recording, which our cost-to-sell guide sets out. If you are leaving New York or relocating, our tax residency guide covers the state side of a move.
What to do before you list
- Check your dates. Count back five years from your likely closing date and confirm 24 months of ownership and 24 months of use inside that window.
- Gather basis records. The closing statement from your purchase, and receipts and contracts for every improvement.
- Flag any business or rental use. Depreciation affects what you can exclude.
- Ask about a recent sale of another home. The two-year rule counts the date of that sale.
- Talk to a tax professional before you accept an offer. Changing the closing date can change the answer.
Our seller preparation guide sets out the 90-day timeline for the rest of the work.
Gain planner
Enter your own figures. The planner follows the IRS’s formula and shows the gain that may be taxable. It does not apply any tax rate and is not a tax calculation.
Home sale gain planner
The starting numbers are examples only, not a forecast. Replace them with your own.
Your seller tax checklist
- Write down your purchase date, move-in date and the date of any other home sale in the last two years.
- Count back five years from your target closing date and confirm 24 months of ownership and of use.
- Pull the closing statement from your purchase and every improvement contract and receipt.
- Note any home office or rental use and any depreciation claimed.
- Estimate your gain in the planner, then ask a tax professional to confirm it.
- Ask whether the net investment income tax could reach you.
- Expect a Form 1099-S, and keep your records until three years after the due date of the return for the year of sale.
Peter can line up your listing and closing dates with the questions your tax professional will ask. Our how to sell and Greenwich real estate pages cover the rest.
Frequently asked questions
Do I owe capital gains tax when I sell my Greenwich home?
Not necessarily. The IRS says you may exclude up to $250,000 of the gain from income, or up to $500,000 on a joint return, if you meet the ownership and use tests. Only gain above the exclusion, or gain you cannot exclude, is generally taxable. Whether it applies to you depends on your dates, your basis and how the home was used, so confirm it with a tax professional before you list.
What are the ownership and use tests?
The IRS says you must have owned the home for at least 24 months and lived in it as your residence for at least 24 months within the five years ending on the sale date. The two periods do not have to overlap. On a joint return, either spouse can meet the ownership test, but both must meet the use test. You are also not eligible if you excluded the gain from another home sale within the two years before this sale.
What if I have not owned or lived in the home for two years?
You may qualify for a reduced exclusion if the sale is due to a work, health or unforeseen circumstance. Publication 523 says the reduced limit is figured by multiplying a fraction of the two-year period you qualified by $250,000. The publication has the worksheet and the list of qualifying reasons, so use it or a preparer, not a rule of thumb.
What counts toward my cost basis in the home?
Publication 523 says improvements add to the value of your home, prolong its useful life or adapt it to new uses, and that routine repairs and maintenance such as painting or fixing leaks do not increase basis, though repairs done as part of a larger remodeling project can count as improvements. Selling expenses such as commissions, advertising and legal fees reduce the amount realized. Keep records until three years after the due date of the return for the year of sale.
Do I have to report the sale if the gain is excluded?
Sometimes. The IRS says to report the sale if you receive a Form 1099-S, even if the gain is excludable, and if you cannot exclude all of your gain. Reporting uses Form 8949 and Schedule D. If you have no Form 1099-S and the whole gain is excluded, there is nothing to report. Have your preparer confirm.
Does the 3.8 percent net investment income tax apply to a home sale?
Not to excluded gain. The IRS says the tax does not apply to any gain excluded from gross income. Taxable gain above the exclusion can be net investment income, and the tax applies only if your modified adjusted gross income is above the thresholds, which the IRS lists as $200,000 for single filers and $250,000 for married filing jointly, and notes are not indexed for inflation.
Does Connecticut tax the gain on a home sale?
We did not verify a Connecticut-specific rule. Connecticut’s resident return starts from your federal adjusted gross income, so the federal treatment is the starting point, but the instructions we read do not address home sales. Ask your preparer. For the sale-day costs Connecticut does set, see what it costs to sell a Greenwich home.
- Internal Revenue Service, Topic No. 701, Sale of your home: $250,000 and $500,000 exclusion, ownership and use tests, two-year rule, reporting, Form 1099-S, installment sales.
- Internal Revenue Service, Publication 523, Selling Your Home (2025 edition): gain formula, selling expenses, improvements and repairs, surviving spouse, partial exclusion, depreciation, nonqualified use, reporting, records, losses.
- Internal Revenue Service, Questions and Answers on the Net Investment Income Tax: 3.8 percent rate, income thresholds, excluded home sale gain, examples.
- Connecticut Department of Revenue Services, 2025 Form CT-1040 Instructions: the resident return begins with federal adjusted gross income.
- The planner, the pre-listing list and the checklist are Greenwich Home Intel’s planning tools. We did not verify: federal capital gains tax rates or brackets, how Connecticut treats a home sale beyond starting from federal adjusted gross income, the exceptions to the two-year rule and the full list of qualifying reasons for a partial exclusion, the partial-exclusion formula for joint filers, nonqualified use calculations, which purchase closing costs can be added to basis, state conveyance tax interactions with basis, treatment of a home held in a trust or LLC, installment sale mechanics, whether the 2025 edition of Publication 523 is the current one for your sale year, and whether the thresholds cited have changed. Confirm everything with a licensed tax professional.
Plan your sale around the tax questions.
A short, confidential conversation about your timing and your house, so your listing date fits the questions your tax professional will ask.
General information, not tax or legal advice. Peter Tumbas is a real estate licensee, not a tax professional or attorney. Federal rules and IRS guidance were checked against the cited sources in October 2026 and can change; confirm them with a licensed tax professional and the Internal Revenue Service before you rely on them. This guide does not determine anyone’s tax. Fair housing law prohibits steering, and this guide does not rank or characterize neighborhoods. The photo shows a home listing and is not an offer of that property.
