Can you avoid capital gains tax by paying off another mortgage?

Asked by: Arielle Gottlieb  |  Last update: July 7, 2026
Score: 4.5/5 (33 votes)

No, paying off a mortgage, whether it is the one on the property sold or another property, does not help you avoid or reduce capital gains tax. The mortgage is a liability related to financing, while capital gains are calculated based on the property's value appreciation (asset).

Do you have to pay capital gains if you reinvest the money into another house?

Yes, you generally have to pay capital gains tax when selling a house, but you can defer it (not avoid it completely) by reinvesting in another investment property via a 1031 exchange, or potentially exclude some gains if it was your primary home using the Section 121 exclusion. For investment properties, a 1031 exchange lets you roll profits into a "like-kind" property (another investment) within strict 45-day identification and 180-day closing deadlines. For a primary residence, you can exclude up to $250,000 (single) or $500,000 (married) of gain if you owned and lived in it for 2 of the last 5 years, but this doesn't apply to investment properties. 

How to legally avoid capital gains tax?

A common way to defer or reduce your capital gains taxes is to use tax-advantaged accounts. Retirement accounts such as 401(k) plans, and individual retirement accounts offer tax-deferred investment. You don't pay income or capital gains taxes on assets while they remain in the account.

What is the loophole for capital gains tax?

Second, capital gains taxes on accrued capital gains are forgiven if the asset holder dies—the so-called “Angel of Death” loophole. The basis of an asset left to an heir is “stepped up” to the asset's current value.

How much capital gains do I pay on $100,000?

On a $100,000 capital gain, you'll likely pay 15% for long-term gains, resulting in about $15,000 in federal tax (plus potential state tax), but it could be 0% or 20% depending on your total taxable income and filing status, while short-term gains are taxed as ordinary income (potentially 22-24%). 

Pay Capital Gains Tax or Buy Another Property?

21 related questions found

Is there a tax disadvantage to paying off a mortgage?

Tax considerations: You may be able to deduct home mortgage interest from your taxes. 2 However, if you pay off your mortgage, you won't be able to utilize this deduction, which could increase your taxable income. To learn more about the tax implications consider speaking with a tax advisor.

How much is capital gains tax on a $500,000 house?

When you sell your primary residence, $250,000 of capital gains (or $500,000 for a couple) are exempted from capital gains taxation. This is generally true only if you have owned and used your home as your main residence for at least two out of the five years prior to the sale.

What happens if I sell my house and don't buy another?

If you sell your house and don't buy another, you'll have cash proceeds (after paying off the mortgage and selling costs) and need to decide on new housing, often renting or moving in with family; financially, you might benefit from the IRS capital gains exclusion (up to $250k/$500k profit if you've lived there two of the last five years), but you'll pay tax on gains beyond that, while also managing the new costs of renting or storage.

What is the 6 year rule for capital gains?

The "6-year rule" for Capital Gains Tax (CGT) in Australia allows you to treat a former main residence as tax-exempt for up to six years after you move out, even if you rent it out, enabling you to avoid CGT on any growth during that period. You qualify by moving out, choosing to treat it as your main home for tax, and can reset the rule by moving back in. If you rent it out for longer than six years, only the portion of the gain after the six-year mark becomes taxable.
 

What is the 2 year 5 year rule?

The "2-year, 5-year rule" primarily refers to the IRS rule allowing homeowners to exclude up to $250,000 (or $500,000 married) of capital gains from the sale of their primary residence if they owned and lived in it as their main home for at least 2 years out of the 5 years before the sale, meeting both ownership and use tests within that 5-year window. There's also a "5-year rule" for Roth IRAs, requiring separate 5-year periods for contributions and conversions to avoid taxes. 

Can mortgage payoff be deducted from capital gains on property?

A mortgage doesn't directly impact capital gains. However, homeowners who have a qualified mortgage and itemize their deductions can deduct mortgage interest annually. Once the home is sold, the mortgage doesn't impact capital gains. The homeowner will use sale proceeds to pay off their mortgage.

What is the 20% rule for capital gains?

The 20% rule for capital gains refers to the highest federal tax rate for long-term capital gains, applying to higher income brackets when you sell investments (stocks, real estate) held for over a year, with lower rates of 0% and 15% for lower incomes, and even higher rates for special assets like collectibles. This rate kicks in for single filers earning over approximately $492,300 (2024) or $533,401 (2025), and higher for joint filers, making holding assets over a year a key tax strategy.

How much capital gains do I pay on $200,000?

Your capital gain (profit) is $200,000. Your taxable capital gain with the 50% discount applied is $100,000. Your estimated capital gains tax obligation is $37,175.

How to get 0% tax on capital gains?

Capital gains tax rates

A capital gains rate of 0% applies if your taxable income is less than or equal to: $48,350 for single and married filing separately; $96,700 for married filing jointly and qualifying surviving spouse; and. $64,750 for head of household.

What does Dave Ramsey say about paying off a mortgage?

“Paying off your mortgage early seems impossible but it is completely doable and people do it all the time, but how can you do it and why would you want to put in the extra effort? Paying off your mortgage early will rev up your wealth building.”

Does paying off a mortgage affect property taxes?

The difference is how and when you pay your property taxes. Once you pay off your house, your property taxes aren't included in your mortgage anymore, because, voila! You don't have one. Now it's on you to pay property taxes directly to your local government.

How much capital gains do you have to pay on $300,000?

Capital gains tax on $300,000 depends on your filing status and total income, but for most, it will be taxed at the 15% federal rate, meaning around $45,000 in tax, potentially rising to 20% if your total income is very high, and you'll also need to account for state taxes and potentially a 3.8% Medicare surtax. A $300,000 gain usually falls into the 15% bracket for single filers (above $48,350) and married filing jointly (above $96,700), while for married filing separately, it hits the 20% bracket (over $300,000).

What is the 6 year rule for capital gains tax?

The "6-year rule" for Capital Gains Tax (CGT) in Australia allows you to treat a former main residence as tax-exempt for up to six years after you move out, even if you rent it out, enabling you to avoid CGT on any growth during that period. You qualify by moving out, choosing to treat it as your main home for tax, and can reset the rule by moving back in. If you rent it out for longer than six years, only the portion of the gain after the six-year mark becomes taxable.
 

What is the lifetime capital gains exemption?

LCGE has an exemption limit for qualified farm and fishing property or qualified small business corporation shares of $1,250,000. This amount is indexed to inflation. With LCGE, you're allowed to subtract your taxable amount from your profits. Note that the LCGE is a cumulative lifetime limit.