How much time do you have between selling a home and buying a new home to avoid capital gains taxes?
Andrew Mclaughlin
Published Apr 13, 2026
2 years
You can only deduct capital gains on your primary residence. You must have lived in your home for at least 2 years out of the last 5 years before you sell it to qualify for an exemption. The years you’ve lived in the home don’t have to be consecutive.
You can only deduct capital gains on your primary residence. You must have lived in your home for at least 2 years out of the last 5 years before you sell it to qualify for an exemption. The years you’ve lived in the home don’t have to be consecutive. You’ve owned your home for at least 2 years.
When to claim capital gains tax on house sale?
However, tax exemptions can be claimed in this case unlike in the case of short term capital gains. Home Loan – If you have purchased a house after taking out a home loan, and consequently sold the house within a period of five years, then there will be a reversal of any tax benefits that you have claimed under Section 80C.
How are capital gains taxes calculated in California?
The tax on capital gains income is calculated separately from the tax on your regular income and often at a different rate. In addition to federal capital gains taxes, most states, including California, tax the gains too. Take the purchase price of your property and add the cost of any improvements.
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.
Do you have to pay capital gains when you sell an asset?
No capital gains tax is incurred on inventory assets. Capital gains tax might result from selling your home, stocks, bonds, commodities, mutual funds, a business, and other similar capital assets. Capital gains tax is usually charged as a percentage of the profit earned from selling your assets based on your country’s tax laws and prevailing rates.