Selling a home can create a large financial gain, but not every sale results in capital gains tax.
In many cases, homeowners qualify for a federal tax exclusion that removes all or part of the taxable profit.
Understanding when capital gains tax applies helps homeowners avoid surprises when filing taxes.
Capital gains tax is generally applied when you sell a home for more than your adjusted cost basis, and the profit exceeds available IRS exclusions.
What Is a Capital Gain on a Home Sale?
A capital gain is the profit made from selling property. For a home sale, the gain is usually calculated by subtracting your adjusted basis from the final selling price.
| Save 10% on TurboTax Easy Online Tax Filing! |
| Take advantage of this offer and save 10% on TurboTax! |
Your adjusted basis typically includes:
- Original purchase price
- Closing costs from the purchase
- Major home improvements
- Certain selling expenses
Example: You bought a home for $250,000, spent $50,000 on qualifying improvements, and later sold the property for $450,000. Your adjusted basis would be $300,000, creating a $150,000 gain before exclusions.
When Does Capital Gains Tax Apply?
Capital gains tax usually applies when:
- The property increased significantly in value
- The homeowner does not qualify for the IRS home sale exclusion
- The gain exceeds the exclusion limit
- The property was not used as a primary residence long enough
- The home was used primarily as an investment or rental property
For many homeowners, the IRS exclusion eliminates most or all taxable gain.
The IRS Home Sale Exclusion
The IRS allows qualifying homeowners to exclude part of the gain from taxable income.
Current federal exclusion limits are:
- Single filers: up to $250,000
- Married filing jointly: up to $500,000
To qualify, homeowners generally must meet both of these rules:
- Owned the home for at least 2 years during the 5-year period before the sale
- Lived in the home as a primary residence for at least 2 years during that same period
The 2 years do not have to be consecutive.
When the Exclusion Does Not Fully Apply
Capital gains tax may apply if your profit exceeds the exclusion amount.
Example: A married couple sells their home and earns a $700,000 gain. If they qualify for the full $500,000 exclusion, the remaining $200,000 could become taxable capital gain income.
Tax may also apply if:
- The home was inherited and later converted to an investment property
- The property was primarily used as a rental
- The homeowner sold another primary residence within the last 2 years and already claimed the exclusion
- The ownership or residency tests were not met
Short-Term vs Long-Term Capital Gains
The amount of tax owed can depend on how long the property was owned.
Short-Term Capital Gains
If the home was owned for 1 year or less and does not qualify for the primary residence exclusion, gains are generally taxed at ordinary income tax rates.
These rates are usually higher than long-term capital gains rates.
Long-Term Capital Gains
If the property was owned for more than 1 year, gains are generally taxed using long-term capital gains tax rates.
Federal long-term capital gains tax rates are commonly:
- 0%
- 15%
- 20%
The exact rate depends on taxable income and filing status.
How Home Improvements Affect Capital Gains Tax
Many homeowners overlook the importance of keeping records for major improvements.
Qualifying improvements can increase your adjusted basis and reduce taxable gain.
Examples of improvements that may qualify include:
- Roof replacement
- Kitchen remodels
- Bathroom renovations
- HVAC systems
- Room additions
- New flooring
- Permanent landscaping improvements
Routine repairs and maintenance usually do not qualify.
Do State Taxes Apply Too?
Some states also tax capital gains from home sales.
A few states have no state income tax, while others tax capital gains as ordinary income. State rules can vary significantly depending on where the property is located.
This is especially important for retirees relocating to lower-tax states.
Reporting a Home Sale to the IRS
Even if the entire gain is excluded, some home sales still must be reported on a federal tax return.
Home sales are commonly reported using:
- Form 8949
- Schedule D
Reporting requirements often depend on:
- Whether a Form 1099-S was issued
- Whether the entire gain qualifies for exclusion
- Whether part of the gain is taxable
Keeping closing statements, improvement receipts, and purchase records is important for accurate reporting.
Situations Where Capital Gains Tax Often Applies
Capital gains tax is more common in these situations:
- Selling a vacation home
- Selling rental property
- Selling inherited real estate with appreciation after inheritance
- High-value home sales
- Flipped properties
- Selling a home after living there for less than 2 years
These situations usually involve different IRS rules than standard primary residence sales.
Electronic Filing Recommendation
💻 Filing federal taxes electronically is often the easiest way to report a taxable home sale, calculate capital gains, and maintain accurate IRS records for Form 8949 and Schedule D reporting.
Summary
Capital gains tax on a home sale usually applies when profit exceeds IRS exclusion limits or when the property does not qualify as a primary residence under federal rules.
Many homeowners qualify for the $250,000 or $500,000 exclusion, but investment properties, second homes, and high-profit sales can still create taxable gains.
Understanding adjusted basis, ownership rules, and reporting requirements can help homeowners reduce tax liability and avoid filing mistakes.
| Save 10% on TurboTax Electronic Tax Filing |
| Take advantage of this offer and save 10% on TurboTax! |






