How do I avoid capital gains tax when selling a second home?

Asked by: Virginia Jaskolski II  |  Last update: September 5, 2026
Score: 4.3/5 (48 votes)

To avoid or minimize capital gains tax on a second home, you can convert it into your primary residence for at least two of the five years before selling to qualify for the $ 250 , 000 / $ 500 , 000 $ 2 5 0 , 0 0 0 / $ 5 0 0 , 0 0 0 exclusion, use a 1031 exchange to defer taxes on investment property, or donate the home to charity.

How do I avoid capital gains tax on a second home?

To avoid or minimize capital gains tax on a second home, you can convert it into your primary residence for at least two of the last five years to use the $250k/$500k exclusion (single/married), perform a 1031 exchange (for investment properties) to defer gains into another investment, donate it to charity, increase your cost basis with improvements, or strategically time the sale for lower income years. 

How to prove 2 out of 5 year rule in real estate?

To prove the IRS's 2-out-of-5-year rule, you must show you owned and lived in your home as your primary residence for at least 24 months (two years) (not necessarily consecutive) within the five years before the sale, using documentation like utility bills, driver's license, voter registration, tax returns, bank statements, and mail all showing the home address. This proves you meet both the ownership and use tests for excluding capital gains on the sale, requiring documentation to back up your claim of residency during that period.
 

What is the 36 month rule for capital gains tax?

The "36-month rule" for capital gains tax (CGT) primarily refers to the UK's Principal Private Residence (PPR) Relief, where the final 36 months (or 9 months for most) of a property's ownership period are tax-exempt, even if not lived in, provided it was a main home at some point. In the US, the relevant rule for home sales is the "2-out-of-5-year rule" for the Section 121 exclusion, allowing up to $250k/$500k profit tax-free if owned and used as a main home for 2 of the 5 years before sale, with exceptions for unforeseen circumstances.

How much capital gains tax do you have to pay when you sell a second home?

Long-term capital gain – If you've owned your second home for more than a year or inherited it, you'll be taxed at a long-term capital gains rate, which is typically lower than your income tax rate. These rates vary based on your income, ranging from 0% to 20%.

How to Avoid Capital Gains Tax When Selling Real Estate (2023) - 121 Exclusion Explained

43 related questions found

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.
 

How long do you have to keep an investment to avoid capital gains?

Generally, if you hold the asset for more than one year before you dispose of it, your capital gain or loss is long-term. If you hold it one year or less, your capital gain or loss is short-term.

How do you avoid capital gains tax on property?

You can avoid or defer capital gains tax on real estate by using the primary residence exclusion ($250k/$500k for 2-year ownership), executing a 1031 Exchange for investment properties, selling at a loss to offset gains, gifting to charity, holding the property in a self-directed IRA, or using strategies like installment sales, but the most common methods involve living in the home or reinvesting in another property. 

What is the time limit to avoid capital gains tax?

If you plan to sell your property after 24 months, the gains will be taxed under the long-term capital gain tax for property. After July 2024, there have been several changes to how property gains are taxed, indexation benefits and exemptions.

Does improvements on my home affect capital gains?

Unlike business expenses, you can't simply write off a kitchen renovation or new flooring on your current tax return. However, this doesn't mean your improvements provide no tax benefit. They may impact your capital gains tax when selling the home.

At what age can a homeowner sell a residence without paying capital gains?

Key Takeaways

The over-55 home sale exemption allowed homeowners over 55 to exclude up to $125,000 of capital gains from their taxes when selling a primary residence; however, this exemption ended in 1997.

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.

Is there a one-time capital gains exemption?

There isn't a single "one-time" capital gains exemption, but the most common exemption allows you to exclude up to $250,000 (single) or $500,000 (married filing jointly) of profit from the sale of your primary residence, which can be used multiple times as long as you meet ownership and use tests (lived in it 2 of the last 5 years) and haven't used the exclusion in the past two years. Other options exist, like 1031 exchanges for investment properties or Charitable Remainder Trusts, but they have different rules. 

What expenses can you deduct when selling a second home?

When selling a second home, the same expenses that accrue when selling can be deducted. These will include the escrow fees, title fees, commissions, and document preparation costs.

Is there a legal way to 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.

Who is eligible for a 50% CGT discount?

The beneficiary claiming the discount must be an Australian resident for tax purposes. The trust must have held the asset for at least 12 months before the CGT event occurs.

How do the rich avoid paying capital gains tax?

How Wealthy Households Use a “Buy, Borrow, Die” Strategy to Avoid Taxes on Their Growing Fortunes

  1. Step 1: Buy Assets. Wealthy family buys stocks, bonds, real estate, art, or other high-value assets. ...
  2. Step 2: Borrow Against Assets. ...
  3. Step 3: Die and Pass Assets Tax Free to Heirs.

How to pay 0 capital gains tax?

Starting in 2025, single filers can qualify for the 0% long-term capital gains rate with taxable income of $48,350 or less, and married couples filing jointly are eligible with $96,700 or less. However, taxable income is significantly lower than your gross earnings.

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 soon do you have to reinvest to avoid capital gains?

As long as you sell your first investment property and apply your profits to the purchase of a new investment property within 180 days, you can defer taxes.

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

At what age does capital gains tax stop?

The capital gains tax over 65 is a tax that applies to taxable capital gains realized by individuals over the age of 65. The tax rate starts at 0% for long-term capital gains on assets held for more than one year and 15% for short-term capital gains on assets held for less than one year.

How to get exemption from capital gains tax?

Section 54F of the Income Tax Act provides an exemption from long-term capital gains tax when the gains arise from the sale of a long-term capital asset (Long term asset can be defined like asset with holding period of 24 months or more except for listed securities where it is 12 months or more) other than a ...