Can you offset capital gains by buying a house?

Asked by: Francesco Lindgren  |  Last update: August 22, 2025
Score: 4.9/5 (14 votes)

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.

How long do I have to buy another home to avoid capital gains?

Sale of your principal residence. We conform to the IRS rules and allow you to exclude, up to a certain amount, the gain you make on the sale of your home. You may take an exclusion if you owned and used the home for at least 2 out of 5 years. In addition, you may only have one home at a time.

Are closing costs deducted from capital gains?

By properly deducting eligible closing costs and major improvements, you reduce your capital gain, potentially lowering your tax liability significantly.

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

A few options to legally avoid paying capital gains tax on investment property include buying your property with a retirement account, converting the property from an investment property to a primary residence, utilizing tax harvesting, and using Section 1031 of the IRS code for deferring taxes.

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.

Capital Gains Tax For Property Investors | What You Need To Pay And When | Buy To Let Property

40 related questions found

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.

What should I do with a large lump sum of money after sale of house?

Financial Goal Setting

Reinvest this chunk of cash into your next house/down payment. Invest in other types of real estate (aside from primary residences) Save it in a traditional savings account or money market account. Pay down debt like credit cards, student loans, auto loans, etc.

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.

How to pay zero capital gains tax?

Capital gains tax rates

A capital gains rate of 0% applies if your taxable income is less than or equal to: $47,025 for single and married filing separately; $94,050 for married filing jointly and qualifying surviving spouse; and. $63,000 for head of household.

Do you have to pay capital gains if you reinvest in another house?

You can avoid capital gains tax when you sell your primary residence by buying another house and using the 121 home sale exclusion. In addition, the 1031 like-kind exchange allows investors to defer taxes when they reinvest the proceeds from the sale of an investment property into another investment property.

What costs can be offset against capital gains?

Taxable capital gains and losses are calculated after deducting:
  • The costs of acquisition and enhancing the asset.
  • Incidental costs of buying and selling, including Stamp Duty Land Tax (SDLT), Land and Buildings Transaction Tax (LBTT), Land Transaction Tax (LTT), legal fees, agent fees etc.

Can I deduct home improvements from capital gains?

Can I deduct home improvements from capital gains? Yes, you can deduct qualifying home improvement costs from capital gains when selling your home. These costs add to the home's cost basis, which reduces the taxable gain.

Can I write off closing costs?

You can only deduct closing costs for a mortgage refinance if the costs are considered mortgage interest or real estate taxes. You closing costs are not tax deductible if they are fees for services, like title insurance and appraisals.

What is the one-time capital gains exemption?

If it's your primary residence

You can sell your primary residence and avoid paying capital gains taxes on the first $250,000 of your profits if your tax-filing status is single, and up to $500,000 if married and filing jointly. The exemption is only available once every two years.

How do I calculate capital gains on sale of property?

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).

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.

At what age do you not pay capital gains?

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 states have no capital gains tax?

There are only eight states that do not tax capital gains:
  • Alaska.
  • Florida.
  • Nevada.
  • New Hampshire*
  • South Dakota.
  • Tennessee.
  • Texas.
  • Wyoming.

Does social security count as income when calculating capital gains tax?

Social Security and capital gains

Keep in mind that up to 85% of Social Security benefits can be subject to tax depending on your overall income, including capital gains. The calculation that determines how much of your Social Security benefits are taxable includes realized gains.

What is the 6 year rule for capital gains?

What is the CGT Six-Year Rule? The six-year capital gains tax property rule allows you to use your property investment as if it were your principal residence in Australia for up to six years whilst you rent it out.

Do you pay capital gains on inherited property?

In California, real property is one of the most valuable assets you can inherit from a loved one. But inheriting real estate that has increased in value over time can trigger capital gains tax consequences when you sell that piece of property.

Can I sell my house and keep the profit?

Generally, the proceeds from a home sale are excludable up to $250,000 for individual filers and $500,000 for married couples, as long as the home was your primary residence and you lived in it for at least two of the last five years. Amounts over the exclusion limit are subject to capital gains tax.

Can seller give buyer money at closing?

Sellers can pay the buyer's closing costs. A seller credit is a sum of money the property seller agrees to give the homebuyer at closing. The buyer can use the credit to pay closing costs, reducing out-of-pocket expenses associated with purchasing a home.

Is 900000 a lot of money?

No question about it: $900,000 is a lot of money. Congratulations on all the hard work it took to get here—after so many years of financial planning and saving, it's no wonder that you're ready to start planning for retirement.