Do You Owe Capital Gains Tax When You Sell Your Home?

man receives notice from IRS

For a lot of sellers, capital gains tax is the thing that quietly worries them most, even before the home ever goes on the market. If that sounds familiar, take a breath. I’ve dealt with capital gains as a real estate investor myself, and I know it can genuinely hurt in the wrong situation. But investment property rules and primary residence rules live in two completely different worlds, and the reality is that most people selling the home they actually live in won’t owe the IRS anything on this front.

There’s enough bad information floating around on this topic, on Facebook groups, from well-meaning neighbors, even from other agents, that it deserves a real explanation. By the end of this, you’ll know exactly where you stand before a sign ever goes in the yard.

Is Capital Gains Tax Based on My Home's Sale Price or My Profit?

A surprising number of sellers assume this tax is calculated off their home’s full sale price. It isn’t. The IRS only taxes the profit, the gap between what you originally paid and what you eventually sold for. Buy at $300,000 and sell at $400,000, and your taxable gain is $100,000, not the full $400,000.

There’s also a lesser-known factor working in your favor: your cost basis. Every dollar you’ve genuinely invested in the home over the years gets tacked onto what you originally paid, which shrinks your taxable gain even further. But this only applies to real capital improvements, not routine maintenance, and the IRS does draw a line between the two. A new roof, a finished basement, an added bedroom, a kitchen remodel, or a whole-home HVAC replacement all count. Repainting a room, fixing a leaky faucet, or replacing a broken window generally don’t, those are considered upkeep, not improvement.

If you’ve owned your home for any length of time, it’s worth pulling together receipts and records for anything that falls into the improvement category. Most sellers have more of these than they realize, and every dollar of documented improvement is a dollar of profit that doesn’t get taxed.

If this is your primary residence, here’s the exclusion you likely qualify for:

Single Filer Exclusion
$ 0
Married Filing Jointly
$ 0

To qualify, two requirements have to be met: you need to have owned the home for at least two of the past five years, and you need to have actually lived in it as your primary residence during that same stretch. Those two years don’t have to be continuous, and they don’t have to be the same two years for both tests, the IRS looks at ownership and residency somewhat independently, as long as each adds up to two years within that five-year window.

Meet both requirements, which the vast majority of homeowners do, and a large share of your gain, sometimes all of it, is untouched by capital gains tax. This exclusion can also be used again in the future, there’s no one-time-only limit, though you generally can’t claim it more than once every two years.

Do I Have to Report the Home Sale on My Tax Return?

This one catches sellers off guard. In many cases, if your entire gain falls under the exclusion and you didn’t receive a Form 1099-S at closing, you may not be required to report the sale on your tax return at all. But if your gain exceeds the exclusion amount, or you did receive a 1099-S, the sale generally needs to be reported, typically on Schedule D and Form 8949, even if you don’t end up owing anything after the exclusion is applied.

lady doing her tax returns after selling her house

Whether a 1099-S gets issued often depends on how the closing was handled and what your title company or closing attorney reports. This is exactly the kind of detail worth confirming with your CPA once you have a closing date, rather than guessing after the fact.

A Few Other Questions Sellers Ask About Capital Gains

Yes. Sell within a year of buying, and any profit gets taxed as ordinary income, often one of the steeper rates you’ll encounter. Cross the one-year mark, and you move into long-term capital gains territory, which comes with a noticeably lighter rate. In practice, this rarely trips anyone up, since most homeowners have lived in their homes well past a year before selling.
No. This exclusion only covers the home you actually live in. Rental properties, vacation homes, and investment properties fall under an entirely different set of tax rules, and that’s a conversation for a CPA, not a real estate agent.
Taxes are only one piece of the financial picture when you sell. There are expenses that show up before you ever list, more that surface once you’re under contract, and a final round waiting at the closing table, and plenty of sellers get caught off guard by all three. The good news mirrors the tax situation: almost none of it is a problem once you know it’s coming.

Worth being direct here: I’m a real estate agent and investor, not an accountant. Every seller’s tax picture looks different, and there are real exceptions, a gain that’s unusually large, missing the two-year mark, or a property that was rented out at some point. In any of those situations, sit down with a tax professional before you list. Consider this the starting framework; your CPA fills in the specifics for your actual numbers.

Taxes are just one part of the bigger financial picture when you sell. There are real costs before you list, while you’re under contract, and at the closing table itself, and most of them are entirely manageable once you know they’re coming. That’s exactly why I built a free guide called The Real Cost of Selling Your Home, it breaks down every one of those costs ahead of time, so nothing catches you off guard once you’re sitting at the closing table.

Ken Mandich is a Realtor® and Listing Expert with Complete Realty Team, serving Metro Atlanta with a focus on Cobb and Cherokee County. You can reach him at 404-410-6465 or [email protected].