How do you defer capital gains on a real estate sale?

Asked by: Jorge Emard  |  Last update: January 18, 2026
Score: 4.3/5 (36 votes)

By reinvesting the proceeds from a property sale into a Qualified Opportunity Fund (QOF) within 180 days, investors can defer tax on the original gain until December 31, 2026, or until the investment is sold, whichever comes first.

Can you defer capital gains on real estate?

Homeowners have options to reduce the taxes paid by using IRS Code Section 1031 to recognize a "like-kind" exchange when selling an investment property. In this manner, capital gains are able to be deferred by buying a similar investment property.

How to avoid paying capital gains tax on sale of rental property?

Use a 1031 Exchange to Defer Capital Gains

It's a popular way to defer capital gains taxes when selling a rental home or even a business. Often referred to as a “like-kind” exchange, this tax deferment strategy is defined in Section 1031 of the Internal Revenue Code.

How to defer capital gains without doing a 1031 exchange?

Utilizing a Deferred Sales Trust, investors can defer capital gains taxes over time. Deferred Sales Trusts provide an alternative to 1031 exchanges for deferring capital gains taxes on appreciated assets.

How to avoid capital gains tax after selling a house?

How Do I Avoid Paying Taxes When I Sell My House?
  1. Offset your capital gains with capital losses. ...
  2. Use the IRS primary residence exclusion, if you qualify. ...
  3. If the home is a rental or investment property, use a 1031 exchange to roll the proceeds from the sale of that property into a like investment within 180 days.13.

How to LEGALLY Pay 0% Capital Gains Tax on Real Estate

17 related questions found

What is a simple trick for avoiding capital gains tax on real estate investments?

Use a 1031 exchange for real estate

Internal Revenue Code section 1031 provides a way to defer the capital gains tax on the profit you make on the sale of a rental property by rolling the proceeds of the sale into a new property. The capital gains tax bill will be paid once the new property is sold.

Do you have to reinvest all profit from home sale to avoid capital gains?

A: Yes, if you sell one investment property and then immediately buy another, you can avoid capital gains tax using the Section 121 exclusion. However, you must reinvest the sale proceeds into a new real estate property to qualify.

What is the 6 year rule for capital gains tax?

Here's how it works: Taxpayers can claim a full capital gains tax exemption for their principal place of residence (PPOR). They also can claim this exemption for up to six years if they move out of their PPOR and then rent it out. There are some qualifying conditions for leaving your principal place of residence.

How do I reinvest capital gains without paying taxes?

To avoid paying capital gains taxes (and depreciation recapture), you can reinvest in a "like-kind" asset with a sales price of at least $500,000. The IRS allows virtually any commercial real estate property to qualify as 'like-kind” as long as you hold it for investment purposes.

What is the real estate exchange to avoid capital gains?

A 1031 exchange – also known as a “like-kind” or Starker exchange – is a real estate investing tool that allows investors to exchange an investment property or business property for another property of equal or higher value and defer paying capital gains tax on the profit they make from the sale.

What is the capital gains loophole in real estate?

This tax loophole allows property owners to defer capital gains on their sale as long as the proceeds are used to purchase another property within a set time frame.

Can I move back into my rental and avoid capital gains tax?

If you like your rental property enough to live in it, you could convert it to a primary residence to avoid capital gains tax. There are some rules, however, that the IRS enforces. You have to own the home for at least five years. And you have to live in it for at least two out of five years before you sell it.

Do I have to pay capital gains tax immediately?

This tax is applied to the profit, or capital gain, made from selling assets like stocks, bonds, property and precious metals. It is generally paid when your taxes are filed for the given tax year, not immediately upon selling an asset.

What is the 2 year rule for 1031 exchange?

Under § 1031(f)(1), a taxpayer exchanging like-kind property with a related person cannot use the nonrecognition provisions of § 1031 if, within 2 years of the date of the last transfer, either the related person disposes of the relinquished property or the taxpayer disposes of the replacement property.

Do you have to pay capital gains after age 70?

Current tax law does not allow you to take a capital gains tax break based on your age. In the past, the IRS granted people over the age of 55 a tax exemption for home sales, though this exclusion was eliminated in 1997 in favor of the expanded exemption for all homeowners.

What is the 5 tax deferred rule?

Q. What is the 5% tax deferred allowance? A. This is a rule in tax law which allows investors to withdraw up to 5% of their investment into a bond, each policy year, without incurring an immediate tax charge.

How do you defer capital gains on real estate?

A 1031 exchange, also known as a “like-kind exchange,” is named after Section 1031 of the Internal Revenue Code and allows investors to defer capital gains tax by exchanging real property held for business or investment purposes for similar real property that will also be held for business or investment purposes.

Do you have to buy another home to avoid capital gains?

Can You Avoid Capital Gains Tax On Real Estate? It's possible to legally defer or avoid paying capital gains tax when you sell a home. You can avoid capital gains tax when you sell your primary residence by buying another house and using the 121 home sale exclusion.

Where should I put money to avoid capital gains tax?

Investing in retirement accounts eliminates capital gains taxes on your portfolio. You can buy and sell stocks, bonds and other assets without triggering capital gains taxes. Withdrawals from Traditional IRA, 401(k) and similar accounts may lead to ordinary income taxes.

What is the exemption of capital gains?

Long-term capital gains of up to ₹1 lakh are exempted from tax. However, please note that as per the latest Union Budget, this limit of ₹1 lakh has been increased to ₹1.25 lakh, which will be effective from FY 24-25.

What is the 12 month rule for capital gains tax?

For an asset to qualify for the CGT discount you must own it for at least 12 months before the 'CGT event' happens. The CGT event is the point at which you make a capital gain or loss.

How do you calculate capital gains on the sale of a house?

Determine the cost basis of your assets, which is the original value of the asset, plus any improvements and minus any depreciation. Subtract the cost basis from the selling price. The resulting number is your capital gain (or loss).

At what age can you sell your home and not pay capital gains?

The seller, or at least one title holder, had to be 55 or older on the day the home was sold to qualify. Following the passage of the Taxpayer Relief Act of 1997, the exemption was replaced. As of 1997, there are new per-sale exclusion amounts for all homeowners regardless of age.

How to avoid capital gains tax on inherited real estate?

How to Avoid Paying Capital Gains Tax on Inheritance
  1. Sell the inherited property quickly. ...
  2. Make the inherited property your primary residence. ...
  3. Rent the inherited property. ...
  4. Disclaim the inherited property. ...
  5. Deduct selling expenses from capital gains.

How to offset capital gains?

Use Capital Losses to Offset Gains

Say you own two stocks, one worth 10% more than you paid for it, while the other is worth 5% less. If you sold both stocks, the loss on the one would reduce the capital gains tax that you would owe on the other.