Capital gains tax when selling a property is a tax on the profit earned from selling real estate. The tax rate depends on how long you owned the property and your income level.
When you sell a property for more than you paid, the difference is a capital gain. The IRS taxes this gain, not the entire sale price. For example, if you bought a house for $200,000 and sold it for $300,000, your capital gain is $100,000.
Capital gains fall into two categories based on how long you held the property:
| Type | Holding Period | Tax Rate (2023) |
|---|---|---|
| Short-term capital gains | Less than 1 year | Your ordinary income tax rate (up to 37%) |
| Long-term capital gains | 1 year or more | 0%, 15%, or 20% (depending on income) |
Most home sellers pay long-term capital gains tax because they hold properties for years. The highest capital gains tax rate tops out at 20% for high-income earners.
This tax applies to all real estate sales, including primary homes, vacation homes, and investment properties. The purpose is to tax profit from asset appreciation. The IRS allows exemptions to reduce or eliminate the tax.
Many people confuse capital gains tax with income tax or property tax. Income tax applies to wages and salaries, while property tax is an annual levy on real estate ownership. Capital gains tax only applies when you sell a property for a profit.
Suppose you bought a condo in 2010 for $250,000 and sold it in 2023 for $400,000. Your capital gain is $150,000. If your taxable income is $80,000, you'd pay 15% long-term capital gains tax, or $22,500. However, you may qualify for exclusions.
Under the primary residence exclusion, single filers can exclude up to $250,000 of gain, and married couples can exclude up to $500,000 if they meet ownership and use tests. In this example, the entire gain could be tax-free if you lived in the condo for at least two of the past five years.
When I sold my first home, I assumed I'd owe thousands in taxes. After researching, I discovered the primary residence exclusion. Because I lived there for three years, I excluded the entire gain from taxable income. This saved me $30,000.
For more details on capital gains tax rates, see the highest capital gains tax rate. If selling a second home, review capital gains tax on selling a second home.