Capital gains tax in real estate is a levy imposed on the profit made from selling a property that has appreciated. This tax applies when the selling price of a property exceeds its original purchase price, plus any qualifying expenses or improvements. Understanding capital gains tax is crucial for homeowners, investors, and sellers because it can significantly impact the net proceeds from a sale. Whether you are planning to sell your primary residence or an investment property, knowing how this tax works can help you make informed decisions and optimize your financial outcomes.
The financial implications of capital gains tax on real estate transactions are profound. For many, a property sale represents a substantial financial milestone, and failure to account for potential tax liabilities can lead to unexpected costs. Property owners can explore strategies to minimize their tax burden and maximize their returns by understanding the nuances of capital gains taxation.
What is Capital Gains Tax?
Capital gains tax is a tax on the profit realized from the sale of an asset, including real estate. The tax is assessed on the difference between the property’s selling price and its adjusted cost basis, which includes the original purchase price plus allowable expenses and improvements.
Types of Capital Gains:
- Short-Term Capital Gains: Apply to properties held for one year or less. These gains are taxed at the seller’s ordinary income tax rate, which can range from 10% to 37%, depending on income levels.
- Long-Term Capital Gains: Apply to properties held for more than one year. These gains are taxed at preferential rates of 0%, 15%, or 20%, depending on the seller’s taxable income.
The primary distinction between short-term and long-term gains lies in the tax rates. Long-term capital gains enjoy more favorable tax treatment, incentivizing property owners to hold assets for longer periods to reduce their tax liability.
How Capital Gains Taxes on Home Sales Work

When selling real estate, the capital gains tax is calculated based on the profit from the sale. This tax applies differently to primary residences and investment properties.
For a primary residence, homeowners may qualify for an exclusion that allows them to exempt a portion of their profit from taxation. Investment properties, however, do not benefit from such exclusions and are subject to capital gains tax on the entire profit.
The concept of cost basis plays a pivotal role in determining taxable gains. The cost basis includes the original purchase price, closing costs, and any capital improvements made to the property. Accurately documenting these expenses can significantly reduce the taxable gain.
How Do I Calculate Capital Gains on the Sale of Property?
Formula:
Capital Gain = Selling Price – (Purchase Price + Allowable Expenses + Improvements)
Key Components:
- Selling Price: The gross amount received from the property sale.
- Purchase Price: The amount originally paid for the property.
- Allowable Expenses: Costs incurred during the sale, such as real estate commissions, legal fees, and title transfer fees.
- Improvements: Significant upgrades that enhance the property’s value, such as renovations or major repairs.
Example Calculation: If a homeowner sells a property for $600,000, which they purchased for $400,000, and incurred $30,000 in allowable expenses and $20,000 in improvements, their capital gain would be calculated as follows:
Capital Gain = $600,000 – ($400,000 + $30,000 + $20,000) = $150,000
Capital Gains Tax Rates for 2025
For 2025, Real estate Tax and capital gains tax rates continue to differ based on the duration of property ownership and the seller’s taxable income.
Short-Term Capital Gains Rates: These align with federal income tax brackets, ranging from 10% to 37%.
Long-Term Capital Gains Rates:
- 0% for individuals with taxable income up to $44,625 (single) or $89,250 (married filing jointly).
- 15% for taxable income between $44,626 and $492,300 (single) or $89,251 and $553,850 (married filing jointly).
- 20% for taxable income above these thresholds.
Additionally, high-income earners may be subject to the Net Investment Income Tax (NIIT) of 3.8%, further increasing their capital gains tax liability.
Who Qualifies for the Home Sale Capital Gains Tax Exclusion?
The IRS permits homeowners to exclude up to $250,000 of capital gains from taxation if they are single, or $500,000 if married filing jointly.
Eligibility Criteria:
- The homeowner must have owned and lived in the property as their primary residence for at least 2 of the last 5 years before the sale.
- This exclusion can only be claimed once every 2 years.
Example Scenario: A married couple sells their home for $700,000 after purchasing it for $300,000. Their capital gain is $400,000. With the $500,000 exclusion, they owe no capital gains tax.
Will You Owe Capital Gains Taxes on Your Home Sale?
To determine your liability, consider these factors:
- Sale Price: The amount received from the property sale.
- Cost Basis: The original purchase price plus allowable expenses and improvements.
- Exclusions: Whether you qualify for the home sale capital gains exclusion.
If the gain exceeds the allowable exclusion or the property is an investment, you will owe capital gains tax.
Capital Gains Tax on Real Estate Investment Property

Investment properties do not qualify for the home sale exclusion and are subject to both capital gains tax and depreciation recapture.
Depreciation Recapture refers to the tax on previously claimed depreciation deductions. This portion is taxed at 25%, adding to the total tax burden.
Long-Term Capital Gains vs. Short-Term Capital Gains Tax
Feature | Short-Term Capital Gains | Long-Term Capital Gains |
Holding Period | 1 year or less | More than 1 year |
Tax Rate | Ordinary income tax rates (10%-37%) | 0%, 15%, or 20% |
Applicable Properties | All real estate | All real estate |
How Do You Avoid Capital Gains on Real Estate?
- Hold the property for more than a year.
- Utilize the primary residence exclusion.
- Conduct a 1031 exchange.
- Offset gains with capital losses.
These methods can significantly reduce or defer tax obligations.
What is a 1031 Exchange in Capital Gains Tax?
A 1031 exchange allows investors to defer capital gains tax by reinvesting proceeds into a like-kind property. This strategy enables wealth accumulation without immediate tax liability.
Example: An investor sells a rental property and reinvests the proceeds into another rental. By meeting IRS criteria, they defer paying capital gains tax until they sell the new property.
Conclusion
Understanding capital gains tax is crucial for anyone involved in real estate transactions. Proactively managing your tax obligations can save substantial amounts and ensure compliance with legal frameworks. For personalized guidance, consult a tax professional.
Frequently Asked Question
Capital gains tax over 65
There is no automatic exemption from capital gains tax just because you are over 65. However, you may qualify for certain exclusions, such as the $250,000 (single) or $500,000 (married) home sale exclusion, if the property was your primary residence for at least two out of the last five years before the sale.
One-time capital gains exemption for seniors
There is no specific one-time exemption for seniors, but the primary residence exclusion (up to $500,000 for married couples) can be used multiple times, as long as you meet the eligibility requirements.
At what age can you sell your home and not pay capital gains?
There is no specific age where you automatically avoid capital gains tax. However, if you meet the ownership and use test (living in the home for at least two of the last five years), you can exclude $250,000 (single) or $500,000 (married) of gain, regardless of age.
What triggers capital gains tax?
Capital gains tax is triggered when you sell a property for more than its adjusted cost basis (purchase price + improvements – depreciation). Exceptions include primary residence exclusions and 1031 exchanges, which allow you to defer taxes.