How long do you have to live in a house to avoid capital gains in Canada?

Asked by: Dr. Lew Lesch V  |  Last update: June 20, 2026
Score: 4.4/5 (53 votes)

In Canada, to fully avoid capital gains tax, a property must be designated as your principal residence for every year you own it. While no specific minimum time is set by law for owner-occupancy, a property owned for less than 365 days is generally subject to the anti-flipping rule, treating gains as business income.

How do I avoid capital gains tax on a house in Canada?

When you sell your home or when you are considered to have sold it, usually you do not have to pay tax on any gain from the sale because of the principal residence exemption. This is the case if the property was solely your principal residence for every year you owned it.

How long do you have to own a house to not pay capital gains in Canada?

On the other hand, frequently buying, renovating, and selling properties to make a profit is more like operating a business, in the eyes of the Canada Revenue Agency. As of January 1, 2023, there are new rules if you own a housing unit (including a rental property) for fewer than 365 consecutive days.

How long do you have to live in a house before selling it in Canada?

How Soon Can You Sell a House After Buying It (Canada)? To avoid a tax penalty, you should generally wait at least a year. Otherwise, you might find yourself on the wrong side of the recently enacted Residential Property Flipping Rule.

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.
 

How to LEGALLY Pay 0% Capital Gains Tax on Real Estate

37 related questions found

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

Do I pay capital gains if I sell my house in Canada?

Yes, you have to report it, even if you sell the home at a loss or if it is your principal residence. You will not have to pay capital gains tax unless it is an investment property and you make a profit on the sale.

How long can I live in a house before selling it?

To get a break on capital gains taxes, you must use the house as your primary residence for at least 2 of the first 5 years you own it. If you do this, you can avoid paying capital gains tax on up to $250,000 of profit – $500,000 for married couples filing jointly – when you sell your house.

Can husband and wife have two primary residences?

Outside of your tax circumstances, having two primary residences is possible on the lender side. For example, a married couple could acquire two primary residences if each spouse buys a primary residence and keeps their mortgages separate. This would mean each spouse having sufficient income on their own to buy a home.

How to avoid paying capital gains tax on inherited property?

You can avoid capital gains taxes on inherited property by minimizing the time for appreciation. Selling immediately after inheritance typically results in minimal capital gains tax because there's little time for the property to appreciate beyond its stepped-up basis.

How long do you have to buy a house without paying capital gains?

You don't have a strict timeline to buy another home to avoid capital gains on your primary residence; instead, you must meet the IRS's "2-out-of-5-year rule" for ownership and use of the sold home, allowing you to exclude up to $250k/$500k profit, but you can't use the exclusion again for two years if you sold another home recently, while deferring taxes on investment property requires a strict 45/180-day timeline for a 1031 exchange.

How to avoid paying capital gains on a primary residence?

To avoid capital gains on your primary residence, meet the IRS {Link: ownership and use tests for the Section 121 exclusion, allowing you to exclude up to $250,000 (single) or $500,000 (married) of profit if you've owned and lived in the home as your main residence for at least two of the last five years before selling. Maximize your cost basis by tracking major improvements (roof, new systems, additions) and including original purchase costs and selling expenses to lower your taxable gain. 

What is the 36 month rule?

It allowed sellers to claim CGT exemption for the final 36 months of ownership, even if they had moved out. However, this was reduced to 18 months in 2014 and further to 9 months in 2020, which remains the rule today. This general law is in place as it prevents short-term transaction benefits concerning taxation.

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 renting better than buying?

Short-term savings: Renting is cheaper than buying in the short term because you don't need a big down payment or lump sum to buy a house. Moving flexibility: You have much more flexibility with changing your home and moving around. This is great for individuals not set on living in the same place for years to come.

How long should I live in a house to avoid capital gains?

Live in the house for at least 2 years

One of the most effective ways to avoid capital gains taxes is by meeting the ownership and use test. If you live in your home for at least 2 out of the 5 years before selling, you may qualify for the Section 121 exclusion.

Can I deduct home improvements to avoid capital gains?

Capital improvements: Improvements that add value to your home or prolong its useful life can reduce the amount of capital gains tax you owe when you sell your home, but won't be immediately deductible.

How much capital gains will 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%). 

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

How long to live in a house before selling?

The five-year rule

This has to do with the amount of equity the average homeowner has built in their home after five years of possession, and it also takes into account the costs associated with selling a home (and, if applicable, with purchasing a new one).

How can I 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.