Sell your primary home and you owe federal capital gains tax only on the profit above the IRS exclusion: $250,000 of gain for a single filer, $500,000 for a married couple filing jointly. Most home sellers clear that bar and owe nothing at all. When the gain runs higher, only the slice above the exclusion gets taxed, at the long-term rate of 0%, 15%, or 20%, depending on your income.
I think about a cedar-shake cottage off Old Town's grid that a couple bought in 1991 for a little more than a new truck costs today. They sold last spring north of $700,000. Watching it land that most of that gain walked out the door untaxed is the part of this job I like.
The confusion usually starts with the word "gain." People hear a $700,000 sale price and assume the tax man wants a cut of $700,000. He does not. Capital gains tax applies to your profit, not the check at closing, and on a home you have actually lived in, a large chunk of that profit is shielded from tax entirely.
How does capital gains tax on a home sale actually work?
Your gain is the sale price minus your basis, which is what you paid plus the cost of capital improvements and most selling costs. If the home was your main residence for at least two of the last five years, you subtract the exclusion ($250,000 single, $500,000 married) from that gain. Whatever is left is your taxable capital gain. Everything below the exclusion is free.
The math runs in order. Start with the sale price. Subtract your original purchase price. Subtract the money you sank into improvements over the years: a new roof, a room addition, hurricane-rated windows, a rebuilt bulkhead on a marsh-back lot, a whole new HVAC system after the salt air ate the last one. Those raise your basis, which shrinks your gain. Routine repairs and repainting do not count; replacing or adding something durable does. Then subtract the agent commission and most closing costs. What remains is your gain, and only then do you apply the $250,000 or $500,000 exclusion.
The exclusion has one real string attached. You must have owned the home and lived in it as your main residence for at least two of the five years before the sale. The two years do not have to be back to back, and for a married couple, only one spouse needs to be on the title, but both must meet the residence test to claim the full $500,000.
Keep your receipts. On a coastal house, fifteen years of capital improvements adds up to real money against your basis, and people here improve constantly because brine and storm season force the issue.
How much capital gains tax will I pay when I sell?
If your gain is fully covered by the exclusion, you pay $0. If part of the gain is taxable, that part is taxed at the long-term capital gains rate of 0%, 15%, or 20%, set by your total taxable income for the year. Most sellers who owe anything land in the 15% bracket. High earners can owe an extra 3.8% on top.
Long-term rates, which apply to anything you owned more than a year (a house you lived in for two-plus years always qualifies), run gentler than ordinary income rates. Here is the shape of it:
| Long-term rate | Roughly who it hits |
|---|---|
| 0% | Lower taxable income (about the first $48,000 single, $96,000 married) |
| 15% | The broad middle, where most home sellers land |
| 20% | High earners (taxable income above roughly $533,000 single, $600,000 married) |
Those income cutoffs nudge up a little every year for inflation, so treat them as the band, not the line. On top of the rate, the Net Investment Income Tax adds 3.8% once your modified adjusted gross income passes $200,000 single or $250,000 married. That threshold is fixed in the statute and does not move with inflation, so more sellers brush against it each year as incomes rise.
One thing trips people up. A big taxable gain can push you into a higher band by itself, because the gain counts toward the income that sets your bracket. A retiree with modest income who sells a long-held oceanfront place can see part of the gain taxed at 0% and part at 15% in the same year.
What would you owe on a $300,000 gain?
On a $300,000 gain from your primary home, a married couple filing jointly owes $0, because $300,000 sits under the $500,000 exclusion. A single filer shields $250,000 and pays tax on the remaining $50,000, about $7,500 at the 15% rate. On a property that was never your main home, the whole $300,000 is taxable.
The same number, three different bills:
| Situation | Taxable gain | Approx. federal tax at 15% |
|---|---|---|
| Married couple, primary home | $0 | $0 |
| Single filer, primary home | $50,000 | about $7,500 |
| Second home or rental (no exclusion) | $300,000 | about $45,000 |
The third row is the one that surprises people on this island. A second home, a vacation place, or a short-term rental does not qualify for the primary-residence exclusion, because you never lived in it as your main home. A lot of property here is exactly that. If you have been renting out a cottage near the beach and you sell, the gain is fully taxable, and because it was a rental you also owe depreciation recapture on the deductions you took, which is its own line and taxed differently. That is a conversation to have with a CPA before you list, not after.
When do you actually owe capital gains tax on a house?
You owe when your gain exceeds the exclusion, or when the home does not qualify for the exclusion at all. The common triggers are a gain over $250,000 or $500,000 on a long-held home, the sale of a second home or investment property, or the sale of a primary home you owned for less than two years.
Most primary-home sales in a normal year produce no capital gains tax, because the gain comes in under the exclusion. You start owing in a handful of situations. The first is a large gain, which lands on people who bought decades ago and watched the land under them appreciate, common with riverfront and oceanfront parcels picked up in the 1980s and 90s. The second is a property that was never your main residence. The third is selling too soon: own and live in the place for less than two of the past five years and you generally lose the exclusion.
There is a middle ground worth knowing. If you sell early because of a job relocation, a health problem, or another unforeseen circumstance the IRS recognizes, you may qualify for a partial exclusion, a prorated slice of the $250,000 or $500,000 based on how long you did live there. That rule rescues a lot of people who get transferred or have to move in a hurry.
Can you lower the bill, and where does Florida fit in?
Yes, several legitimate moves can shrink or erase the tax: maximizing your basis with documented improvements, timing the sale to clear the two-year test, and a 1031 exchange for investment property. And because Florida levies no state income or capital gains tax, the only capital gains bill a home seller here faces is the federal one.
I am keeping this short on purpose, because two of our other posts go deep on it. If your real question is how to pay as little as possible, the strategies, from documenting every improvement to the 1031 exchange on a rental, live in our guide on how to avoid capital gains tax on real estate. If you are a downsizer and someone told you about a one-time senior exemption, read our piece on the one-time capital gains exemption for seniors first, because the rule they are remembering was repealed in 1997 and replaced by the age-neutral exclusion above. And for how Florida's no-state-tax status and the separate documentary stamp tax work at closing, see our breakdown of federal capital gains tax in Florida.
One piece of advice holds for everyone: figure your likely gain before you list, not at the closing table. When we take on a long-held home at Salt Harbor Real Estate, we usually flag early whether your gain looks like it might crest the exclusion, so you can loop in your tax professional while there is still time to plan. None of this is tax advice, and your situation has details a blog post cannot see. A good CPA earns the fee on a sale like this.
Frequently asked questions
How much capital gains tax will I pay when I sell my house?
If your profit is under the primary-residence exclusion ($250,000 single, $500,000 married filing jointly) and you meet the two-of-five-year test, you pay nothing. Any taxable gain above the exclusion is taxed at the long-term rate of 0%, 15%, or 20% based on your income, and most sellers who owe land in the 15% bracket, with an extra 3.8% possible for high earners.
How much capital gains tax will I pay on a $300,000 gain?
On a primary home, a married couple filing jointly owes $0 because $300,000 is under the $500,000 exclusion, while a single filer is taxed on $50,000, roughly $7,500 at the 15% rate. If the property was never your main home, such as a second home or rental, the full $300,000 is taxable, about $45,000 at 15%.
How do I avoid capital gains tax on my home?
Live in the home as your main residence for at least two of the five years before you sell so you can claim the $250,000 or $500,000 exclusion, and keep records of every capital improvement to raise your basis and shrink the gain. For investment property, a 1031 exchange can defer the tax.
Do you owe capital gains tax on a second home or rental property?
Yes. The primary-residence exclusion does not apply to a second home, vacation property, or rental, so the entire gain is taxable. Rentals also trigger depreciation recapture on the deductions you claimed, which is taxed separately, so run the numbers with a CPA before you list.
