Can You Avoid Capital Gains Tax by Buying Another Property?

By Edward E. Fernandez | November 28, 2025

Key Takeaways

  • Buying another property does not automatically eliminate capital gains tax on a primary residence or investment property.
  • Homeowners may qualify for the Section 121 Exclusion, which allows up to $250,000 in tax-free gains for single filers or $500,000 for married couples if residency requirements are met.
  • 1031 exchanges apply only to investment properties, not primary residences, though former rentals may qualify under certain IRS rules.
  • Capital gains tax rates depend on income level, filing status, and holding period—with short-term gains taxed as ordinary income and long-term gains taxed at 0%, 15%, or 20%.

When you sell real estate, understanding the tax implications is crucial. It’s a common misconception that simply buying another property eliminates capital gains tax, but the reality is more nuanced. Two commonly utilized tax provisions—Section 121 and Section 1031—can provide significant benefits, depending on the type of property being sold.

Section 121 applies to personal residences, offering potential tax exclusions on capital gains, while Section 1031 applies to investment properties, allowing for tax-deferred exchanges.

In this article, we’ll walk through how these rules work in 2025, clarify when each applies, and help you determine which strategy may be the better fit for your situation.

Deferring Capital Gains Tax on a Primary Residence

You can potentially avoid capital gains tax on the sale of your primary residence by meeting specific requirements outlined in Section 121 of the Internal Revenue Code. This provision allows homeowners who have lived in their home for at least two years out of the past five to exclude up to $250,000 (or $500,000 for married couples) of capital gains from their taxable income.

In 2025, long-term capital gains tax rates are as follows.

Filing Status

0% Rate Threshold*

12% Rate Threshold

20% Rate Applies Above

Single

Up to $48,350

$48,351 to $533,400

Over $533,400

Married Filing Jointly

Up to $96,700

$96,701 to $600,050

Over $600,050

Head of Household

Up to $64,750

$64,751 to $566,700

Over $566,700

Married Filing Separately

Up to $48,350

$48,351 to $300,000

Over $300,000

* “Threshold” means your total taxable income must fall within the specified range to qualify.

Short-Term Capital Gains (assets held 1 year or less) are taxed at ordinary income tax rates, which for 2025 range from 10% up to 37%, depending on your filing status and total taxable income.

How the Section 121 Exclusion Works

The Section 121 home sale exclusion, also known as the primary residence exclusion, helps homeowners reduce their tax burden when selling their primary residence. It provides a significant capital gains tax exclusion, potentially reducing or eliminating the amount of taxable gains. There is no age limit for claiming the exclusion, and you do not have to reinvest the proceeds from the sale into a new property.

You must meet certain conditions:

  • Exclusion Amount: If you’re single, you can exclude up to $250,000 of capital gains or up to $500,000 if married.
  • Eligibility: You must have lived in the home for at least 24 months within the last five years, though these months do not need to be consecutive. If you rented or used the house for business purposes, the exclusion only applies to the period you lived there.

Most residential properties qualify, but investment and rental properties are ineligible for the 121 exclusion. If you’re selling an investment or rental property, consider a 1031 exchange to potentially defer capital gains taxes.

  • Special Exemptions: Special exclusions to the Section 121 tax exemption include significant life changes (such as health issues or job moves) and certain service members and government employees. Widows and widowers can also get the full $500,000 exclusion if they sell their home within two years of their spouse’s death.

How Does a 1031 Exchange Work to Avoid Capital Gains Tax?

A 1031 exchange, named after Section 1031 of the Internal Revenue Code, allows investors to defer capital gains taxes when they sell an investment property and reinvest the proceeds into another “like-kind” property. Instead of recognizing the gain immediately, the IRS permits the investor to roll over their equity into a replacement property, keeping more capital working.

Key requirements for a valid 1031 exchange include:

  • Both the relinquished and replacement property must be held for investment or business use.
  • The replacement property must be of equal or greater value to fully defer taxes.
  • Investors must identify potential replacement properties within 45 days of the sale.
  • The exchange must be completed within 180 days.
  • A Qualified Intermediary must hold and transfer funds—investors cannot take possession.

When executed correctly, a 1031 exchange defers not only federal capital gains taxes but also depreciation recapture and, in many cases, state-level taxes. This makes it one of the most powerful tools for real estate investors looking to grow portfolios tax-efficiently.

Know the Rules Before You Sell

Understanding the options available under Section 121 and Section 1031 of the IRS Code is crucial for managing capital gains tax when selling real estate. For investors with life insurance policies or annuities, Section 1035 exchanges offer similar tax-deferral benefits for transferring insurance products. Check out our article on 1031 vs. 1035 exchanges.

During the critical 45-day identification window, understanding property listing terminology can save your exchange. Learn what active under contract means in real estate—these properties have accepted offers but may fall through, creating uncertainty during your time-sensitive search.

Seek guidance from a tax advisor to choose the best approach based on your situation and financial objectives.

Interested in learning more about 1031 exchanges or tax-advantaged real estate strategies? Register for a free investor account at 1031 Crowdfunding to view offerings and resources.

1031 Crowdfunding LLC does not offer securities under the JOBS Act or Regulation CF. This material does not constitute an offer to sell or a solicitation of an offer to buy any security. An offer can only be made by a prospectus that contains more complete information on risks, management fees and other expenses. This literature must be accompanied by, and read in conjunction with, a prospectus or private placement memorandum to fully understand the implications and risks of the offering of securities to which it relates. As with all investing, investing in private placements is speculative in nature and involves a degree of risk, including loss of your principal. Past performance is not necessarily indicative of future results and forward-looking statements and projections are not guaranteed to achieve the results described and your actual returns may vary significantly. Investments in private placements are illiquid in nature and there may be no secondary market or ability to sell the investment should the need for liquidity arise. This material should not be construed as tax advice and you should consult with your tax advisor as individual tax situations will vary. Securities offered through Capulent, LLC Member FINRA, SIPC.

Get Our Free eBook!

Sign up for our newsletter and receive a free copy of our eBook.

Includes tips on how to:

  • Increase Cash Flow Potential
  • Lower Your Closing Risk
  • Diversify Your R/E Portfolio

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.