Home β€Ί Blog β€Ί Capital Gains Tax on Home Sale (US): Complete Guide to IRS Section 121 Exclusion

Capital Gains Tax on Home Sale (US): Complete Guide to IRS Section 121 Exclusion

Last Updated: March 01, 2026 β€’ 4 min read β€’ Reviewed by Tool100Plus Research Team

Capital Gains Tax on Home Sale (US): Complete Guide to IRS Section 121 Exclusion

Selling a home can be both exciting and overwhelming. For many homeowners, the sale of a primary residence represents years of hard work, mortgage payments, and rising property values. But before you celebrate your profit, it is important to understand how capital gains tax may affect your final proceeds.

In the United States, homeowners benefit from one of the most generous tax exclusions available under the IRS β€” Section 121. However, not everyone qualifies automatically, and high appreciation markets have pushed many sellers closer to taxable thresholds.

What Is Capital Gains Tax?

Capital gains tax is applied when you sell an asset for more than you originally paid for it. In real estate, your gain is calculated as the difference between your selling price and your adjusted cost basis.

If your home increased significantly in value over time, that appreciation may create taxable exposure β€” unless you qualify for the primary residence exclusion.

Understanding Adjusted Cost Basis

Your cost basis starts with your original purchase price. However, it does not end there. Major capital improvements can increase your basis and reduce taxable gain.

Examples of qualifying improvements include:

  • Room additions
  • Kitchen or bathroom remodels
  • New roofing
  • Structural repairs
  • Permanent landscaping

The higher your adjusted basis, the lower your capital gain.

Deducting Selling Costs

When calculating total gain, you can subtract legitimate selling expenses such as:

  • Real estate agent commissions
  • Closing costs
  • Title fees
  • Legal expenses

These deductions reduce the amount subject to tax.

IRS Section 121 Exclusion

Under Section 121 of the Internal Revenue Code, eligible homeowners may exclude:

  • $250,000 of gain if filing Single
  • $500,000 of gain if Married Filing Jointly

This exclusion applies only to primary residences, not rental or investment properties.

Ownership and Use Test

To qualify, you must:

  • Have owned the home for at least two years
  • Have lived in the home as your primary residence for at least two of the last five years

The two years do not need to be consecutive, but they must fall within the five-year window prior to the sale.

Long-Term Capital Gains Tax Rates

If your gain exceeds the exclusion amount, the remaining portion is generally taxed at long-term capital gains rates. These rates are typically 0%, 15%, or 20%, depending on your income level.

Lower-income taxpayers may qualify for a 0% rate, while higher-income households may pay 15% or 20%.

When You May Owe Tax

You may owe capital gains tax if:

  • Your gain exceeds $250,000 or $500,000 thresholds
  • You did not meet the two-year residency requirement
  • The home was used as a rental property
  • You claimed depreciation deductions

Rental property owners may also face depreciation recapture tax, which is taxed separately.

High Appreciation Markets

In recent years, many US housing markets have seen rapid appreciation. Homeowners who purchased a decade ago may now be sitting on significant equity gains. While this is positive financially, it can also increase the likelihood of taxable exposure beyond IRS limits.

Planning ahead can help you evaluate timing strategies and understand your potential tax liability before listing your home.

Strategic Planning Before Selling

Running a capital gains estimate before finalizing a sale allows you to:

  • Evaluate whether you qualify for the exclusion
  • Time the sale strategically
  • Calculate your net proceeds more accurately
  • Avoid unexpected tax bills

Primary Residence vs Investment Property

The Section 121 exclusion applies only to primary residences. Investment properties follow different capital gains rules and may not qualify for the same tax benefits.

If you converted a rental property into your primary residence, special allocation rules may apply.

Final Thoughts

Understanding capital gains tax on home sales is essential for protecting your profits. By factoring in your adjusted cost basis, selling expenses, IRS exclusions, and federal tax brackets, you can approach your home sale with confidence.

While most primary residence sellers qualify for significant exclusions, higher-value properties may still generate taxable gains. If your financial situation is complex, consulting a tax professional can provide additional clarity.

A little planning before selling can make a meaningful difference in your final net proceeds.

Pro Tip: Explore our free tools to simplify your workflow and improve productivity.

Try Our Free Online Tools

Fast, secure, and completely free.

Browse All Tools β†’