What Is Capital Gains Tax on Real Estate?
Published on
June 26, 2026

Interested in growing wealth through investing in rental homes? Join the Priority Access List today.
When you sell a property for more than you paid for it originally, you will likely have to pay capital gains tax. In real estate, capital gains tax refers to the increased value of a property since purchase. You should be familiar with the rules for capital gains tax regardless of whether you are selling your principal residence, rental property, vacation house, or commercial property. Luckily, once you learn about the basics, capital gains tax on real estate can be fairly simple. This guide covers everything you need to know about capital gains tax on real estate, including how it is calculated, current long-term capital gains tax rates, and practical tips that might help you defer it.
Table of Contents
- Introduction
- What Is Capital Gains Tax on Real Estate?
- How Capital Gains Tax Is Calculated on Real Estate
- Long Term Versus Short Term Capital Gains
- Capital Gains Tax on Rental and Investment Properties
- How to Avoid Capital Gains Tax on Real Estate
- Special Real Estate Capital Gains Situations
- Common Capital Gains Tax Mistakes Homeowners Make
- The Bottom Line | FAQs
Key Takeaways
- Capital Gains Tax (CGT) is a tax on the profit earned when real estate is sold for more than its adjusted cost basis.
- To calculate capital gains, subtract your adjusted basis and selling expenses from the sale price, then apply the tax rate based on your holding period.
- Primary residence exclusions, capital improvements, long-term holding period, losses, and 1031 exchanges all may help avoid paying capital gains tax on real estate.
What Is Capital Gains Tax on Real Estate?
Capital gains tax on real estate is a tax levied on the profit you earn when selling a property for more than its adjusted cost basis. Basically, if you purchase a property for one price and later sell it for a higher price, the difference is called a capital gain. The government will tax a part or even all of this gain depending on your situation. For example, if you bought a house for $400,000 and later sold it for $650,000, you will likely pay capital gains tax.

One of the most useful tax breaks for homeowners is Section 121 Exclusion, which allows eligible people to exclude up to $250,000 from the gain of the sale of a principal residence, or up to $500,000 for a couple filing jointly. To be eligible, you will generally have to live in the house for at least two out of the last five years preceding the sale.
To estimate the potential taxes you'll have to pay, you might want to check the current long-term capital gains tax rates that are applicable for the majority of real estate transactions held more than one year.
Not every property sale is taxed the same way. A common question homeowners ask is when do you pay capital gains tax on real estate. The answer depends largely on the property's use and whether any home sale tax exclusions apply. Here are the types of real estate that may trigger capital gains tax:
Types of Real Estate That May Trigger Capital Gains Tax
How Capital Gains Tax Is Calculated on Real Estate
Knowing the process of calculating capital gains tax will help answer one of the most frequent questions: how much is capital gains tax on real estate? Although tax rates may differ, the calculation process itself has a simple formula.
Step 1: Determine Your Selling Price
Calculate the total sales price using the closing statement and then subtract your eligible selling expenses such as real estate commissions, attorney fees, escrow fees, transfer taxes, etc. The resulting number is your net selling price.
Step 2: Calculate Your Cost Basis
Your cost basis typically consists of the original price, certain costs incurred on purchasing, and any capital improvements made. The list of qualifying improvements includes installing a new roof, building additional rooms, renovations, etc.
Step 3: Find Your Capital Gain
Once you know your selling price and basis, use this formula:
Capital Gain = Net Selling Price − Adjusted Cost Basis
If the result is positive, you may owe capital gains tax. If the result is negative, you may have a capital loss. Adjusted basis is your original basis after accounting for improvements and certain adjustments over time.
General formula:
Adjusted Basis = Purchase Price + Capital Improvements − Depreciation Claimed − Certain Other Adjustments
For rental properties, depreciation deductions can significantly lower your adjusted basis, potentially increasing taxable income when the property is sold.
Example Calculation Walkthrough
In this example:
$660,000 − $450,000 = $210,000 taxable gain
Long Term Versus Short Term Capital Gains
The duration of holding a property determines how the gains are taxed. If you hold the property for one year or less, the gain will be taxed as a short-term capital gain.
The short term capital gains tax rate equals the ordinary income tax rate and can vary between 10% and 37%. Long-term gains, in turn, apply to capital assets held for more than one year and typically qualify for the 0%, 15%, or 20% federal capital gains rates. (Bankrate)
Quick Comparison: Short-Term vs. Long-Term Capital Gains
Capital Gains Tax on Rental and Investment Properties
Generally, rental properties and investment properties cannot be exempt from capital gains tax through Section 121. Hence, the profit you will earn on the resale of these properties is subject to capital gains tax.
Additionally, the owners of rental properties may face depreciation recapture. This means they pay tax on previously deducted depreciation at different rates than standard capital gains rates. The most popular strategies used by the investors to defer or minimize taxes related to investment property transactions include 1031 exchanges, tax-loss harvesting, and installment sales.

How to Avoid Capital Gains Tax on Real Estate
While there is no universal way to eliminate capital gains taxes entirely, there are several legal strategies that may reduce or defer what you owe.
1. Qualify for the Primary Residence Exclusion
For many homeowners, the Section 121 exclusion is the most valuable tax-saving strategy available. Eligible taxpayers may exclude:
- Up to $250,000 of gain if filing individually
- Up to $500,000 of gain if married filing jointly
To qualify, you generally must satisfy both the ownership test and the use test. This means you must have owned and lived in the real property as your primary residence for at least two of the five years before the home sale.
2. Increase Your Cost Basis Through Capital Improvements
Every qualifying capital improvement increases your basis and reduces your taxable gain. Examples of improvements that may qualify include:
- New roofing and plumbing systems
- Home additions
- Garage construction
- Major kitchen and bathroom remodels
- Permanent landscaping
- Solar energy systems
In contrast, ordinary repairs and maintenance generally do not increase basis. Examples of non-qualifying expenses often include painting, carpet cleaning, minor repairs, and routine maintenance.
3. Hold the Property Long Enough for Long-Term Capital Gains Treatment
Holding a real property for more than one year before selling can move the gain from short-term treatment to long-term treatment. This often results in substantially lower federal tax rates. Before listing a property for sale, it may be worthwhile to evaluate whether waiting a few additional months could produce a better after-tax outcome.
4. Offset Gains With Capital Losses
Capital losses can help reduce capital gains taxes. By selling your losing investments, you can realize capital losses and offset them with capital gains from selling real estate. This technique is known as tax-loss harvesting. Investors often review their broader investment portfolios before completing major property sales to identify opportunities for offsetting gains.

5. Consider a 1031 Exchange for Investment Property
A 1031 exchange allows investors to defer capital gains taxes by reinvesting proceeds into another qualifying investment property. Instead of recognizing gain immediately, the gain is carried forward into the replacement property.
To qualify, the exchange must satisfy specific IRS requirements, including:
- The real property must be held for investment or business purposes
- Replacement properties must generally be identified within 45 days
- The acquisition must generally be completed within 180 days
- A qualified intermediary must be used
A properly structured 1031 exchange can preserve investment capital and allow investors to continue growing their real estate portfolios without an immediate tax hit. It's important to note that primary residences generally do not qualify for 1031 exchange treatment.
6. Installment Sales and Other Deferral Strategies
Some sellers choose to receive payments over multiple years rather than all at once. This approach, known as an installment sale, can spread recognition of gain across several tax years. These approaches often require careful planning and tax advisor guidance, but they may provide meaningful tax benefits in certain situations.
Special Real Estate Capital Gains Situations
Not every real estate transaction follows the same rules. Certain situations involve unique tax treatment that can significantly affect the amount of gain recognized and the taxes ultimately owed.
1. Inherited Property
Inherited real estate often receives favorable tax treatment through what's known as a stepped-up basis. Instead of inheriting the original owner's basis, beneficiaries typically receive a basis equal to the property's fair market value on the date of the owner's death.
For example:
- Original purchase price: $150,000
- Value at date of death: $700,000
- Inherited basis: $700,000
If the beneficiary sells the property shortly afterward for $710,000, only the $10,000 increase may be taxable.
2. Gifted Real Estate
Gifted property follows a different set of rules. Rather than receiving a stepped-up basis, the recipient generally receives the donor's original basis through a carryover basis rule.
Example:
- Parent purchases home for $200,000
- Parent gifts property when worth $600,000
- Child receives basis of $200,000
If the child later sells for $650,000, the taxable gain may be based on the original $200,000 basis rather than the property's value at the time of the gift.
3. Divorce and Property Transfers
Property transfers between spouses or former spouses during divorce are often non-taxable events at the time of transfer. However, the receiving spouse generally inherits the existing basis. This means future capital gains taxes may still apply when the property is eventually sold.
4. Second Homes and Vacation Properties
Many homeowners mistakenly assume vacation homes receive the same tax treatment as primary homes. In most cases, they do not. A second home or vacation property generally does not qualify for the primary residence exclusion unless the owner satisfies residency requirements. As a result, gains from vacation property sales are often fully taxable.

5. Real Estate Owned Through Trusts or Entities
Real estate held through trusts, LLCs, partnerships, and corporations may be subject to different tax rules. Trust-owned property can be particularly complex because trust tax brackets often reach higher rates more quickly than individual tax brackets. For this reason, large or multi-generational real estate holdings frequently benefit from specialized tax planning before a home sale occurs.
Common Capital Gains Tax Mistakes Homeowners Make
Capital gains tax rules can be surprisingly complex, especially for homeowners who only sell property a few times during their lives. Here are common mistakes homeowners make:
- Forgetting Eligible Improvements: One of the biggest mistakes homeowners make is failing to track capital improvements made over the years. If those costs are not included in your adjusted basis, you could end up reporting a larger taxable gain than necessary.
- Losing Documentation: Even if you remember making improvements, documentation matters. The IRS may require evidence supporting basis adjustments if questions arise during an audit.
- Misunderstanding Residency Rules: Many homeowners assume they automatically qualify for the primary residence exclusion. However, eligibility depends on satisfying specific ownership and use requirements.
- Assuming Every Home Sale Is Tax-Free: When discussing capital gains on home sale, it's important to remember that tax outcomes vary based on individual circumstances. A property that qualifies for a full exclusion in one situation may generate a substantial taxable gain in another.
- Waiting Until After the Sale to Seek Advice: Seeking advice before a sale can help identify tax deferral strategies such as timing the transaction, maximizing basis adjustments, evaluating exchange opportunities, etc. In many cases, the best tax-saving opportunities are available before closing rather than after.
The Bottom Line
Capital gains tax on real estate is calculated as the difference between your selling price and adjusted cost basis. Understanding how the capital gains are calculated is the first step to estimating your tax liability.
Keeping track of original cost, capital improvements, depreciation, and selling costs can affect capital gains calculation a lot. Good records will allow you to take advantage of all the deductions and exclusions. No matter whether you are selling your family home, vacation property, or rental investment, proper planning can provide you with a chance to reduce or defer taxes and avoid unpleasant surprises at the closing.
Frequently Asked Questions
What is the federal capital gains tax on real estate and how is it calculated?
Federal capital gains tax is levied on profit made by selling real estate. The calculation process generally involves subtracting your adjusted basis and selling expenses from the selling price of the property and applying the relevant capital gains tax rate.
What are the current tax brackets for capital gains on real estate sales?
For 2026, long-term federal capital gains tax rates remain 0%, 15%, and 20%, depending on taxable income and filing status. Higher-income taxpayers may also be subject to the 3.8% Net Investment Income Tax.
How long do I need to own a property to qualify for long-term capital gains treatment?
You will generally have to own the property for more than one year in order for it to be taxed at the long-term gains tax rate. Properties owned less than one year receive short-term gains treatment and are taxed at ordinary income tax rates.
How does inherited real estate affect capital gains taxes when the property is sold?
Inherited property typically receives a stepped-up cost basis equal to its fair market value at the owner's date of death. This often reduces the taxable gain compared to properties acquired through purchase or gift.
Can I avoid capital gains tax by buying another house?
Not necessarily. The old "rollover" rule that allowed homeowners to defer gains by buying a more expensive residence no longer exists. However, homeowners may qualify for the Section 121 primary residence exclusion, while investors may be able to defer taxes through a properly structured 1031 exchange involving qualifying investment properties.
Disclaimer
This information is educational, and is not an offer to sell or a solicitation of an offer to buy any security which can only be made through official documents such as a private placement memorandum or a prospectus. This information is not a recommendation to buy, hold, or sell an investment or financial product, or take any action. This information is neither individualized nor a research report, and must not serve as the basis for any investment decision. All investments involve risk, including the possible loss of capital. Past performance does not guarantee future results or returns. Neither Concreit nor any of its affiliates provides tax advice or investment recommendations and do not represent in any manner that the outcomes described herein or on the Site will result in any particular investment or tax consequence.Before making decisions with legal, tax, or accounting effects, you should consult appropriate professionals. Information is from sources deemed reliable on the date of publication, but Concreit does not guarantee its accuracy.

