Tallyroo.

Capital gains tax · Your former home

The CGT six-year rule

Rented out your old home? See how much of the gain the six-year rule leaves taxable, counted in days as the ATO does.

What you did with it, in order

Leave a row’s date blank to skip it. Settlement dates, not contract dates: that is what the Act counts.

Used only if the market-value rule applies, which the result will tell you. A valuation from that time, not today’s, plus the cost of any improvements made after it, because the reset cost base is that value and later spending only.

Your tally

Not fully exempt — rented about 4 years past the six years

Taxable part of the gain

$140,128.12

40.5% of a $346,000 gain: 1,492 of 3,684 days were not your main residence.

Covered while away 2,192 daysTaxable 1,492 days

The 1,583 days before it was first rented are not counted: the market-value reset treats it as bought again that day, at that day’s value, so the count starts there.

How it’s worked out

Cost base: market value on first rental$780,000
Capital gain$346,000
Exempt as your main residence−$205,871.88
Taxable, before any discount$140,128.12
  • Absence 1: 3,684 days rented, 2,192 covered, 1,492 past the six years.

Taken to have been acquired at market value on the day it first earned income; only days from then count.

Next: the tax on the taxable part → Capital gains tax calculator. It opens with your dates and figures filled in, and applies the discount, which changes for sales from 1 July 2027.

Rules read from the Income Tax Assessment Act 1997 and the ATO, 2026-10-04. Not modelled: renting part of the home while you lived in it, a second home claimed for the same days, the six-month overlap when moving, couples with a home each, and foreign residency at the sale. General information only — not tax advice.

What the rule actually says

Moved out and rented your home? It can stay exempt for six years of renting, a fresh six years each time you move back in, and without limit while it sits empty. Enter what you did with it, year by year, and the calculator above shows how much of the gain is left taxable, counted in days as the ATO counts it.

Section 118-145 of the Income Tax Assessment Act lets you keep treating a former home as your main residence after you move out. It has three sentences that matter, and the second is the one most people have never heard:

  • Six years while it earns income. Rent it out, or make it available for rent, and the cover lasts up to six years.
  • A fresh six years every time. The Act gives you “another maximum period of 6 years each time the dwelling again becomes and ceases to be your main residence”.
  • Indefinitely while it earns nothing. Left empty, or lent to family rent-free, it can stay your main residence without limit.

So the six years is not six years from moving out. It is six years of renting within one absence, and empty time in between does not use any of it up.

Moving back in resets the clock

On the example above, renting from mid-2016 to the sale ten years later runs four years past the limit, and 40.5% of the gain is taxable. Change one thing: move back in for a year from January 2020 before renting it out again. Each absence is now under six years, and the taxable part falls from $140,128 to $0.

No minimum stay is set: the ATO’s guide says so in terms. But the move has to make it your main residence again, and to be your main residence, the ATO says, you must have lived in it.

When six years runs out, it is worked in days

Past the limit the gain is split, not lost. The taxable share is the days the property was not your main residence, divided by the days you owned it. The ATO’s own worked example: a home first rented on 29 September 1999 and sold on 29 September 2024, with a $320,000 gain.

The ATO's worked example of the six-year rule: the days owned, the days not covered, and the taxable part of a $320,000 gain.
StepATO figure
Days owned, from first renting to the sale9,133
Days covered, through the sixth anniversary2,193
Days not your main residence6,940
Taxable part: $320,000 × 6,940 ÷ 9,133$243,162

The calculator reproduces that to the dollar. The ATO is not perfectly consistent with itself: in another of its examples it counts the six years one day shorter, which on that example’s facts is worth about $22. Days are counted from the day ownership starts to the day it ends, both included.

The rule that replaces what you paid

If the home was fully exempt until it was first rented, and renting it means only part of the gain is now exempt, section 118-192 treats you as having bought it again that day at its market value. The years you lived there drop out of the sum, and the price you originally paid stops mattering. It is not optional. It does not apply when the six-year rule leaves the home fully exempt, because there is then no gain to apportion, and it applies only where the income first began after 7.30 pm on 20 August 1996.

That is why the calculator asks for a valuation from the day it was first rented. If you did not get one at the time, a valuer may be able to value it as at that day.

Who cannot use it

  • Anyone who never lived there. The rule applies only to a dwelling that was your main residence first.
  • Anyone claiming another home for the same days, apart from up to six months of overlap when moving.
  • Most people selling as foreign residents, unless they pass the life events test.
  • Part of a home earning income while you lived in it — a rented room, say — is never covered for that part.

Did the 2026 reform change it?

No. The Treasury Laws Amendment (Tax Reform No. 1) Act 2026 does not amend the main residence rules. What it changes is the tax on whatever part of a gain is taxable: for sales from 1 July 2027 the 50% discount is replaced by indexation, as our guide to the 2027 changes explains.

One amendment does meet this page. The market-value reset above treats your home as bought again the day it is first rented, and that could have looked like a purchase after Budget night for the new negative gearing rules. Section 26-155(3AA), added by the Tax Reform No. 2 Act from 1 October 2026, says to disregard it: a home you owned before 12 May 2026 and first rent out later keeps its rental loss deductible against your salary.

Frequently asked questions

Does the six-year rule reset if I move back in?
Yes. The Act gives you another maximum period of six years each time the home becomes your main residence again and you then move out. Picture someone who rents their home for five years, lives in it for two, then rents it for another four: nine years of renting in total, and every day of it covered, because neither absence passed six years on its own.
How long do I have to live back in it for the clock to restart?
There is no set number of days. The ATO’s guide says there is “no minimum time a person has to live in a home” before it counts as their main residence. What restarts the clock is the dwelling becoming your main residence again before you move out, and that means actually living there.
Can I rent my old home out for more than six years?
You can, but only the first six years of renting in each absence are covered. Every day after that is a day the property was not your main residence, and that share of the gain is taxable. It is worked in days, not years, so selling a few months past the limit costs only a few months’ worth of the gain.
Can I buy a new home and still use the six-year rule on the old one?
Not for the same days. While you are treating the old place as your main residence under this rule, you cannot treat any other dwelling as your main residence, with one exception: when you are moving, both can count for up to six months. Couples with a home each have their own rule: they pick one home for both or nominate one each, and a spouse who owns more than half of their nominated home gets the exemption for half the period.
Does the six-year rule apply if I never lived in the property?
No. It only applies to a dwelling that was your main residence first. If you bought it, rented it out straight away and moved in later, the rental years before you moved in are not covered, and the market-value rule does not reset the cost base either.
What if I am living overseas when I sell?
Then you may lose the exemption entirely. Someone who is a foreign resident when the sale happens cannot claim the main residence exemption at all, unless they have been a foreign resident for six years or less and pass the life events test: a terminal medical condition affecting them, their spouse or a child under 18, the death of a spouse or child under 18, or a relationship breakdown. The rule applies to sales from 7.30 pm on 9 May 2017, and from 1 July 2020 for a home held since before then.

Keep tallying

Sources