Most sellers figure out their capital gains tax the April after they close. By then every useful decision has already been made. The tax on a high-end home sale is shaped by things you can still control before the listing goes live: which year the closing lands in, how well you've documented the improvements, and sometimes whether this is the right year to sell at all.

None of this replaces a CPA, and we'd bring one in before you sign a listing agreement. What follows is the framework, so that conversation goes faster.

The exclusion, and why it runs out on bigger homes

Section 121 of the tax code lets you exclude up to $250,000 of gain on the sale of your main home, or $500,000 on a joint return. To get the full amount, you need to have owned the home and lived in it as your main residence for at least two of the five years before the sale, and you can't have used the exclusion on another home in the previous two years. The IRS lays all of it out in Publication 523.

Those limits were set in 1997 and have never been indexed to inflation.

That's the whole problem for a lot of luxury owners. If you bought fifteen or twenty years ago, or built, or did a major renovation that the market rewarded, the gain can easily pass the exclusion. Everything above it is taxable.

How the gain is figured

Gain is the amount realized minus your adjusted basis, and both sides of that math have more room in them than most sellers assume.

Amount realized is the sale price minus your selling expenses. Publication 523 lists commissions, advertising, legal fees and certain loan charges you pay for the buyer. On a big sale, commissions alone take a real bite out of the taxable number.

Adjusted basis starts with your purchase price and closing costs, then adds capital improvements: things that add value, extend the home's life or adapt it to new uses. The IRS examples read like a renovation punch list. Additions, a pool, landscaping, a new roof, central air, a security system, built-in appliances, a kitchen modernization.

Repairs and upkeep stay out of basis. That covers painting, fixing a leak and replacing broken hardware. There's one useful exception: repair-type work done as part of a larger remodel can be folded into the project. Replacing a few broken panes is a repair. Replacing every window in the house as one job is an improvement.

Gather the paper now

This is where sellers leave the most money on the table, and it costs nothing but time.

On a home you've owned for a long time, the improvement list can stretch across a decade or more of projects, and much of it is undocumented. Contractors close, emails get deleted, and the 2014 primary bath becomes a memory with no receipt attached. Every improvement you can't prove is basis you can't claim.

Start the file before you list. Pull invoices, permits, signed contracts, architect fees and bank or card statements for every project you can remember. Your county's permit records are worth checking too, since they'll often show a pool, an addition or a roof replacement with a date attached. Hand your CPA a spreadsheet by project and year, with the backup behind it.

The 3.8% surtax most sellers miss

The taxable part of a home sale is a long-term capital gain if you've owned the house for more than a year, taxed at 0%, 15% or 20% depending on your income for the year. Most luxury sellers with a sizable gain will land in the top bracket for at least part of it.

There's a second layer. The net investment income tax adds 3.8% on investment income once your modified adjusted gross income passes $250,000 on a joint return or $200,000 for a single filer, and the taxable portion of a home sale counts toward it. The gain you exclude under Section 121 is exempt from this surtax, which is one more reason to make sure you qualify for the full exclusion.

State tax sits on top of both, and it varies a lot. A seller in a state with a high income tax can owe meaningfully more than a seller in a state with none, on the same gain.

Second homes, rentals and a home office

The exclusion is for your main home. A ski house or a beach place you use part of the year generally doesn't qualify, so the whole gain on it is taxable.

Converting a second home into your primary residence before selling helps less than people expect. Since 2009, gain allocated to periods of "nonqualified use," meaning time when neither you nor your spouse used the property as a main home, can't be excluded. Publication 523 walks through the proration, and there are exceptions, but moving in for two years won't shelter a decade of vacation-home appreciation.

Rental history matters too. If you rented out a guest house, used a separate structure as an office, or claimed depreciation on any part of the property, that depreciation gets recaptured when you sell. The IRS taxes unrecaptured Section 1250 gain at up to 25%. If you've been leaving your place empty for the winter and renting it in summer, raise that with your CPA early. Our guide to leaving a luxury home empty for winter covers the property side of that split.

Timing calls worth making

Which tax year the closing falls in can matter more than a few weeks of market timing. A December closing puts the gain on this year's return. A January closing pushes it a full year out and can let you stack it against a lower-income year, such as the first year of retirement. If you're negotiating terms right now, this is a fair thing to ask a buyer about.

There are a few other timing rules worth knowing:

  • The two-year clock. If you're close to the two-year ownership and use mark, waiting to cross it before you close can be worth a great deal.
  • A surviving spouse. A widowed owner who hasn't remarried can still use the $500,000 joint exclusion if the home sells within two years of the spouse's death, according to Publication 523.
  • Holding instead of selling. Heirs who inherit a home generally take a basis equal to its fair market value on the date of death. For an older owner with a very large gain, keeping the house in the estate can wipe out the built-in gain entirely. That's an estate-planning conversation, not a listing one.
  • An unplanned move. A job change, health reasons or certain unforeseen events can qualify you for a partial exclusion even if you haven't hit two years.

Before setting a list price, it's worth reading our take on whether it's a good time to sell a luxury home, since the tax picture and the market picture should be weighed together.

About those bills in Congress

You've probably seen headlines about doubling the exclusion or ending the tax on home sales. They're real bills, and none of them is law.

The More Homes on the Market Act (H.R. 1340) would raise the limits to $500,000 and $1 million and index them to inflation. The No Tax on Home Sales Act (H.R. 4327) would remove the dollar limits altogether. As of mid-November 2026, Congress.gov shows both still sitting in the House Ways and Means Committee, and each, as written, would apply only to sales after it's enacted.

We'd plan around the law as it stands. Holding off on a sale you otherwise want to make, in the hope a bill passes, is a bet on Congress.

What we'd do this month

If a sale is on your calendar for next year, call your CPA now and build the basis file. Ask for a rough estimate of the tax at two or three possible sale prices, so the number is part of your pricing conversation from the start. Then get the house ready to show. Our piece on seller staging that photographs like editorial is a good next read.