Key points
- If you move out of your home and rent it, you can keep treating it as your main residence for up to six years (ATO).
- If the home isn’t rented out, there’s no time limit, as long as you don’t treat another home as your main residence.
- Moving back in resets the six-year clock.
- You can’t treat another home as your main residence for the same period. A six-month overlap when moving house applies only in limited cases, and usually not if you’ve been renting the old home.
- Since 1 July 2020, anyone who is a foreign resident when they sign the contract to sell gets no main residence exemption, with limited exceptions.
Your home is normally exempt from capital gains tax. The six-year rule, which the tax law calls the absence rule, stretches that exemption to cover a period when you don’t live there. Take a job interstate, rent the place out, come back or sell within six years, and the gain can be entirely tax-free.
It’s one of the most valuable concessions an individual can use, and also one of the most misread. The six years run per absence, the rule interacts badly with buying a second home, and moving overseas can wipe it out. Our capital gains tax guide covers CGT more broadly. This article stays on the six-year rule.
How the rule works
When you stop living in your home, you can choose to keep treating it as your main residence. What you do with it decides how long that lasts:
- Rented out, or otherwise producing income. Up to six years for each period of absence.
- Left empty, or used by family rent-free. Indefinitely, provided you don’t treat another home as your main residence for that time.
The clock is per absence. Move out for five years, move back in, then leave again, and you get a fresh six years. The ATO doesn’t set a minimum stay on return, but you need to genuinely live there again: moving your belongings back, changing your address, connecting the services in your name.
You don’t apply for the rule in advance. You make the choice by the time you lodge your tax return for the income year in which you sign the contract to sell, and you keep the records that support it.
Who can use it
A few conditions decide whether the rule is available at all.
- It must have been your home first. The property has to have been your main residence before you moved out. Buying a place and renting it straight away doesn’t qualify, even if you intend to live there later.
- One main residence at a time. While you treat the old home as your main residence, you can’t claim another property as one for the same period. There is a six-month overlap when you buy a new home before selling the old one, but only if you lived in the old home for at least three continuous months in the 12 months before selling it and didn’t rent it out during that time. If you’ve been renting the old home under the six-year rule, the overlap generally won’t be available.
- Couples share one main residence. Spouses who live in different homes must either choose one home for both of them, or nominate different homes and split the exemption for that period under rules based on each spouse’s ownership share.
- Residency when you sign the contract. You must not be a foreign resident for tax purposes when you sign the contract to sell, unless the life events exception (see Moving overseas) applies.
Past six years
Stay away and keep renting for longer than six years, and the exemption becomes partial. The gain is split by days: the portion of your ownership period not covered by the rule is taxable.
There’s a second rule that often helps. If you first rented the home out after 20 August 1996, and it would have been fully exempt had you sold it just before then, the law treats you as having acquired it at its market value on the day it was first used to produce income. The rule isn’t optional: if the conditions are met, you must use it. That means the gain you made while living there is never taxed, and the apportionment only counts days from when the renting started. Get a market valuation as at the date the home is first rented or made available for rent, because that figure becomes your cost base.
Two worked examples
Both examples assume a home bought for $700,000 in 2014, lived in from settlement until March 2017, then rented out straight away. It was worth $900,000 when first rented. For simplicity, purchase and sale costs are ignored. Both sales happen in income years before the 1 July 2027 CGT changes, so the 50% CGT discount applies.
| Rented 5 years, sold 2022 | Rented 9 years, sold in 2025-26 | |
|---|---|---|
| Sale price | $1,100,000 | $1,300,000 |
| Covered by six-year rule | All 5 years | 6 of 9 years |
| Cost base used | $700,000 (original; market value rule not needed) | $900,000 (market value when first rented) |
| Gain | $400,000, all exempt | $400,000 |
| Taxable share | Nil | 3/9, or about $133,333 |
| After 50% discount | Nil | About $66,667 added to income |
In the second example, the owner who stays away an extra three years pays tax on about $66,667 at their marginal rate. If all of it fell in the 37% bracket, tax plus the 2% Medicare levy would be roughly $26,000. Depending on their other income, part of it could be taxed at 45%. Moving back in for a genuine period before the six years ran out, then renting again, would have started a fresh six-year period and avoided the tax.
When paying the tax makes sense
The six-year deadline shouldn’t decide when you sell. Look at the two examples side by side. The owner who held on for nine years paid roughly $26,000 in tax, but sold for $200,000 more than the owner who sold at five years. Even after the tax, they finished about $174,000 ahead.
A rushed sale into a flat or falling market to beat the deadline can cost far more than the tax it saves. If the market is soft as the six years run out, keeping the property and accepting a partly taxable gain may leave you better off. The reverse can also be true: prices don’t always rise, and every extra year of holding brings costs of its own. The point is to weigh the expected sale price against the tax, rather than treat the deadline as fixed.
Buying another home
The rule creates a choice when you buy again. If you live in a new home while renting the old one, only one of them can be your main residence for any given period.
Claim the old home under the six-year rule and the new home is taxable for that time. Claim the new one and the old home’s rental years count against its exemption. The right answer usually depends on which property is growing faster and which you plan to sell first, and you can make the decision when the first sale happens. An accountant can model both before you lock it in.
Moving overseas
This is the trap that costs the most. Since 1 July 2020, a person who is a foreign resident for tax purposes when they sign the contract to sell can’t claim the main residence exemption at all, even for the years they lived in the home as a resident. For homes bought from 7:30pm AEST on 9 May 2017, this has applied since that date. The six-year rule doesn’t help, because it only lets you treat the home as your main residence. It doesn’t override the residency test.
An exception applies if you’ve been a foreign resident for a continuous period of six years or less and one of these life events happens during that time:
- A terminal medical condition affecting you, your spouse or your child under 18.
- Death of your spouse or your child under 18.
- A relationship breakdown, where the sale or transfer happens because of a court order or formal family law agreement (for example, the home passing to your former spouse).
If you’re working overseas and planning to sell, the timing can decide whether the whole gain is taxed. The test is applied on the date you sign the contract, not at settlement. Sign the contract after you’ve become an Australian resident again and the exemption is back on the table.
Tax while it’s rented
The six-year rule only deals with capital gains. While the home is rented, the rent is taxable income, and you claim the usual deductions: interest, agent’s fees, repairs, rates and insurance. One limit often surprises people. If you first rent out your former home on or after 1 July 2017, you can’t claim depreciation on the furniture, appliances and other items that were already in it while you lived there. Only new assets you buy for the rental qualify. Capital works deductions for the building itself may still be available, but they reduce your cost base when you sell. Under the current negative gearing rules, a rental loss reduces your other income.
From 1 July 2027, legislated changes limit negative gearing on established residential property, so losses can only be offset against residential property income and gains. Property acquired before 7:30pm AEST on 12 May 2026 is exempt. That includes a home you bought and lived in before then and rent out later: the law ignores the market value rule above when working out the acquisition date for this purpose. If part of a gain ends up taxable on a sale after 1 July 2027, the gain up to 30 June 2027 keeps the 50% discount, and the gain from 1 July 2027 moves to the new indexation method and 30% minimum tax.
Records to keep
The ATO can ask you to prove both the home’s status and the dates. Keep these together:
- Proof you lived there. Electoral roll, driver’s licence address, utility bills, mail.
- The move-out date and lease agreements. These start and evidence the absence.
- A market valuation as at the date first rented. Essential if the absence might run past six years.
- Purchase, sale and capital improvement costs. These build the cost base. Keep a record of any capital works deductions claimed, because they reduce it.
Getting the timing right
The six-year rule rewards planning. A decision about when to move back, when to sign a sale contract, or which home to nominate can be the difference between a nil tax bill and a five-figure one.
Our individual tax team prepares the year-of-sale return and makes the main residence choice with you. If you’re based on the North Shore, our North Sydney accountants can review your position before you sign a contract.