Do I Pay Capital Gains Tax When I Sell My Home in Australia? Main Residence Exemption and the 6-Year Rule
Your home is usually exempt from CGT if you are an Australian resident, it was your home for the whole time you owned it, it was not used to produce income and the land is 2 hectares or less. Renting it out or running a business can mean only a partial exemption, unless the 6-year rule applies.
Usually not. If you are an Australian resident and the property has been the home of you, your partner and dependants for the whole time you owned it, it has not been used to produce income, and it sits on land of 2 hectares or less, the Australian Taxation Office (ATO) treats it as exempt from capital gains tax (CGT). If you rented it out, ran a business from it or did not live there for the whole period, you may get only a partial exemption, unless a special rule such as the 6-year absence rule applies.
This guide sets out the main residence exemption as the ATO explains it, the rules for moving out and renting your home, what happens when you rent out a room or work from home, and what to check before you sell.
The full main residence exemption
The ATO says your home is exempt from CGT if you are an Australian resident and the dwelling:
- has been the home of you, your partner and other dependants for the whole period you have owned it;
- has not been used to produce income, which means you have not run a business from it, rented it out, or bought it to renovate and sell at a profit; and
- is on land of 2 hectares or less.
If you do not meet every condition, you may still be entitled to a partial exemption. The ATO's CGT property exemption tool can help work out the exempt proportion.
Some important limits:
- Vacant land. You are not entitled to the exemption for a vacant block.
- Foreign residents. If you were not an Australian tax resident while living in the property, the ATO says you are unlikely to satisfy the requirements. If you are a foreign resident when the CGT event happens for Australian residential property, you may not be entitled to the exemption.
- Genuine occupation. How long you stayed in the dwelling and whether you intended to occupy it as your home may also be relevant.
Moving out: the 6-year rule
If you move out, you can choose to keep treating the former home as your main residence:
- for up to 6 years if you use it to produce income, such as rent (often called the 6-year rule); or
- indefinitely if you do not use it to produce income.
While you treat the former home as your main residence, you cannot treat any other property as your main residence, except for up to 6 months when you are moving house. The 6-year limit applies separately to each period of absence. A period of absence ends when you stop renting it out and either move back in or leave it vacant. You can also choose to end the period earlier.
This choice matters when you buy a new home. If you keep the old home as your main residence, the new home is not exempt for that period (beyond the moving-house overlap), so think about which property is likely to grow more in value.
Renting out a room or running a business from home
The ATO is clear that you are not entitled to the full exemption if you rent out part of your home or run a business from it. The part used to earn assessable income is subject to CGT when you sell. The ATO links this to the interest deductibility test: if you would be allowed a deduction for home loan interest for that use, the home is subject to CGT to the same extent.
The taxable portion is worked out by looking at the floor area used for rent or business and the period that area was used that way. If you first used your home to produce income after 20 August 1996, you are generally taken to have acquired it at that time, and you must get a market valuation when you first start using it for rental or business. The gain is then measured from that value. This rule has conditions and exclusions, so check whether it applies before relying on it.
Practical example
Sam bought a house in Brisbane in 2016 and lived in it until 2020, when she moved interstate for work and rented it out. She did not buy another home. She sells it in 2025, within 6 years of moving out. If she chooses to keep treating it as her main residence for the absence, the whole gain can be exempt even though it was rented, because she sold within the 6-year limit and did not treat another property as her main residence.
If Sam had instead rented out one of three bedrooms while living there, part of the gain would be taxable, based on the floor area used for rent and how long it was rented.
What to do before you sell
- Work out every period you lived in the property, moved out, rented it, or used part of it for business.
- Decide whether to apply the absence rule and confirm you have not treated another dwelling as your main residence at the same time.
- If you started renting or running a business after 20 August 1996, find or obtain the market valuation from when that use began.
- Keep purchase, sale and cost records, and floor plans if part of the home was used to earn income.
- Use the ATO CGT property exemption tool and report any capital gain in your tax return for the year of the CGT event.
When to get professional help
See a registered tax agent or a lawyer if you were a foreign resident at any time, if the land is more than 2 hectares, if you built, renovated or subdivided, if the property was inherited, or if you have more than one property you could treat as your main residence. Getting the choice wrong can mean an unexpected tax bill, and the ATO may ask for evidence of how you used the home.
Step by step
- Map your use of the property — List when you lived there, moved out, rented it, or used part of it for business.
- Check the basic conditions — Confirm Australian residency, home use for the whole ownership period, no income use and land of 2 hectares or less.
- Consider the absence rule — If you moved out, decide whether to keep treating it as your main residence: up to 6 years if rented, indefinitely if not.
- Work out any partial exemption — Use the floor area and period of income use, and the market value when income use began if after 20 August 1996.
- Use the ATO tool and keep records — Run the ATO CGT property exemption tool and keep purchase, sale, valuation and usage records.
Documents you need
- Purchase and sale contracts and settlement statements
- Records of dates lived in, rented or used for business
- Market valuation from when income use started
- Floor plans showing any rented or business area
- Rental income records and tax returns
- Receipts for capital improvements and costs
Common mistakes to avoid
- Treating two properties as main residence at once beyond the 6-month moving overlap.
- Not getting a market valuation when renting out the home first began.
- Assuming the 6-year rule resets without moving back in.
- Forgetting that renting out a room reduces the exemption.
- Ignoring foreign residency status at the time of sale.
Frequently asked questions
Can I rent out my home and still avoid capital gains tax?
Possibly. After you move out you can treat it as your main residence for up to 6 years while it is rented, as long as you do not treat another property as your main residence.
Does renting out a room affect the main residence exemption?
Yes. The ATO says you lose the full exemption if you rent out part of your home; the part used to earn income is subject to CGT based on floor area and time.
Can foreign residents claim the main residence exemption?
Generally not. The ATO says foreign residents at the time of the CGT event may not be entitled to it for Australian residential property.
Is a vacant block covered by the main residence exemption?
No. The ATO states that you are not entitled to the main residence exemption for a vacant block of land.