N
The Global Insight

How can I avoid capital gains tax when buying a house?

Author

Mia Phillips

Updated on March 12, 2026

If you structure your transaction as a 1031 exchange with an investment property, you can defer your capital gains tax liability….The 1031 Exchange

  1. You own an investment property.
  2. You wish to sell or exchange your investment property for a “like kind” property.
  3. You must follow specific rules and requirements.

How are capital gains treated on the sale of a home?

Capital Gains on a Home Sale A home used as your principal residence gets special capital gains tax treatment upon sale if certain requirements are met. That special treatment means that you can exclude from taxation up to $250,000 in gains ($500,000 if you’re married filing jointly). To qualify for that exclusion, the following must be true:

When do you have to pay capital gains tax on second home?

Capital Gains Tax on second homes will be affected by new rules which come into force in April 2020, also impacting on second home owners and property investors. Currently, if as a UK resident you sell a property where Capital Gains Tax (CGT) is due, you have to pay this by January 31 after the end of the tax year in which the gain arose.

Can a home be exempt from capital gains tax?

Thanks to the Taxpayer Relief Act of 1997, you may be exempt. Here’s how you can qualify for capital gains tax exemption on your primary residence: If you’ve met these requirements, how much you can exclude depends on your filing status. For a single-filer, the amount is up to $250,000 and for joint filers, the amount is up to $500,000.

How do you calculate the gain on the sale of a home?

1. To get to your gain amount, establish your basis in the home. (Usually, this is what you paid for the residence and the capital improvements that you made) 2. Compare the basis amount to what you received from the sale (excluding commissions and other expenses). This number provides you with the gain on the sale.