Australia Wide Tax Solutions Logo
Rated 4.8 on GoogleRegistered Tax Agent #78641007

Capital Gains Tax on Selling a House in Australia, With Examples

Author

Emmanuel Sarris

Date Published

Agent planting a sign post in the lawn outside a brick home while owners embrace behind

You generally don't pay capital gains tax when you sell your home in Australia, as long as it was your main residence for the whole time you owned it and wasn't used to earn income. That's the Main Residence Exemption. CGT can apply, in full or in part, if the property was rented out, used for a business, never your home, or inherited (depending on the circumstances). The six-year rule can keep a former home exempt for up to six years while it's rented.

What You'll Learn

  • Your Guide to Capital Gains Tax on Selling a Home
  • The Main Residence Exemption Explained
  • How to Calculate Capital Gains Tax on Your Property
  • Navigating Partial Exemptions and Special Cases
  • Strategies to Legally Minimise Your CGT Bill

Your Guide to Capital Gains Tax on Selling a Home


capital-gains-tax-on-selling-a-home-capital-gain.jpg


Let's cut through the jargon. Think of Capital Gains Tax (CGT) as simply a tax on the profit you make when you sell a valuable asset for more than you paid for it. When it comes to property, that "cost" isn't just the purchase price; it also includes a whole range of other expenses we'll get into.

For the vast majority of Aussie homeowners, selling the family home is a completely tax-free event. This exemption is the cornerstone of our property tax system, making sure the wealth you build in your primary home stays yours.

However, CGT becomes a very real consideration in a few common scenarios. You'll almost certainly need to get your head around the rules if you're:

  • Selling an investment property you've been renting out.
  • Selling a holiday home that was never your main residence.
  • Selling a home where you also ran a business.
  • Selling a property you inherited, depending on the circumstances.

When CGT Applies to Your Home Sale at a Glance

To make it even clearer, here's a quick summary of when you're likely to encounter CGT.

  • Selling your family home (main residence): CGT generally doesn't apply if it has been your home for the whole time you've owned it.
  • Selling a rental property: CGT applies, because the property was used to produce income.
  • Selling a home you lived in, then rented out: CGT may partly apply for the period it was rented, unless the six-year rule covers it.
  • Selling a property you inherited: It depends on whether it was the deceased's main residence and when you sell.
  • Selling a "fix and flip" property: The profit is often taxed as ordinary business income rather than as a capital gain.

This table is just a starting point, of course. The specifics of your situation will always determine the final outcome.

The Basic Idea of Capital Gains

At its heart, the concept is pretty straightforward. The Australian Taxation Office (ATO) is interested in the difference between what you sold your property for and what it cost you to buy, hold, and sell it. This profit is your "capital gain," which then gets added to your taxable income for that financial year.

It's crucial to understand that CGT isn't a separate tax. Instead, the net capital gain from your property sale is included in your income tax return and taxed at your personal marginal rate. This distinction can make a huge difference to the final tax bill.

To get a complete picture, it’s useful to know how the ATO views profits from different property activities. For example, there's a big tax difference between a long-term investment and a quick 'flip'. If you buy, renovate and resell a property as a profit-making venture, the profit is generally taxed as ordinary income rather than as a capital gain, so the 50% CGT discount isn't available.

Core Concepts to Get Started

Before we get into the nitty-gritty, let's lock down two key terms you'll see again and again. Getting these right is the first step to an accurate calculation.

  • Capital Proceeds: This is the money you receive from the sale, which is usually just the selling price on the contract. Selling costs like the real estate agent's commission and the legal fees for the sale aren't taken off the proceeds; they're added to your cost base instead.
  • Cost Base: This is where things get a bit more detailed. It starts with the original purchase price, but you also add a range of other expenses. Think stamp duty, legal fees from when you bought it, the cost of major capital improvements like a new kitchen or an extension, and the costs of selling.

The simplest way to think about it is as a basic subtraction sum: Capital Proceeds – Cost Base = Capital Gain (or Loss). Our goal in this guide is to break down each part of that equation so you can navigate the rules with confidence.

The Main Residence Exemption Explained

For most Aussie homeowners, the phrase "capital gains tax" is something that happens to other people. That's because of a cornerstone in our tax system called the main residence exemption. It's the single most important rule that lets you sell your family home and walk away with the profit, completely tax-free.

But what actually makes a house your "main residence"? It's not just about the address on your driver's licence. The Australian Taxation Office (ATO) wants to see that it's genuinely your home base.

They’ll look at a few practical things to connect the dots:

  • Do you and your family actually live there?
  • Is that where you keep your personal belongings?
  • Is it the address your mail gets sent to?
  • Are you on the electoral roll at that address?
  • Are the utility bills, like electricity and gas, in your name?

Here’s a crucial point: you can only have one main residence at any given time. If you own a few properties and split your time between them, you have to nominate just one as your main residence for tax purposes. You can't claim the exemption on two places at once.

Understanding the Temporary Absence Rule

Life happens. Maybe you get a great job offer interstate, decide to travel the world for a year, or just want to try living somewhere else for a bit. This is where the temporary absence rule, often called the "six-year rule," is an absolute game-changer.

This rule lets you move out of your home, rent it out, and generate income for up to six years without losing the full main residence exemption. The catch is you can't buy and treat another property as your main residence during that period. Even better, if you move back in before the six years is up, the clock resets, and you can rent it out again later for another six-year stretch.

This is a powerful strategy for homeowners needing to relocate temporarily. It means you can have a tenant paying your mortgage while your property's tax-free status is preserved, giving you incredible financial flexibility.

The Six-Year Rule in Action

Let’s run through a quick example to see how it works on the ground.

Sarah and Tom bought their home in Melbourne in 2018 and lived in it as their main residence. In 2022, Tom landed a four-year work contract in Brisbane. Instead of selling, they decided to rent out their Melbourne place and rent a home for themselves in Brisbane.

  • 2022: They pack up and their Melbourne home gets its first tenants.
  • 2026: Tom's contract finishes, and they move back into their Melbourne house.
  • 2028: They decide it's time to sell.

Because they moved back within the six-year window and didn't buy another home to live in, they can treat their Melbourne house as their main residence for the entire time they owned it. The result? The whole capital gain from the sale is completely exempt from CGT. For a more detailed breakdown, our guide on the capital gains tax main residence exemption has you covered.

But what if they'd stayed in Brisbane for seven years before selling? The exemption would no longer fully apply. In that scenario, they'd be up for a partial CGT bill, calculated on the period the property was income-producing after that initial six-year grace period. It just goes to show how critical timing and knowing these rules are.

How to Calculate Capital Gains Tax on Your Property

Figuring out the capital gains tax on your property sale might feel a bit daunting, but it’s really just a logical, step-by-step process. If you break it down, you can get a really clear picture of what your tax bill might look like. The whole calculation hinges on three key stages: nailing down your cost base, working out your capital proceeds, and then calculating the final gain.

This isn’t as simple as subtracting what you paid from what you sold it for. It’s about being meticulous and accounting for every legitimate cost along the way to make sure you’re only paying tax on your actual profit.

Stage One: Understanding Your Cost Base

The first—and most important—step is to calculate your property's cost base. This number represents the total amount the property has cost you from the day you bought it to the day you sold it. A common mistake is thinking the cost base is just the purchase price, which can lead to a nasty surprise in the form of a much bigger tax bill.

Your cost base is actually the sum of a few different parts:

  • The purchase price: This is the straightforward one—the original amount you paid for the property.
  • Incidental costs of buying: Think back to when you first bought the home. This includes things like stamp duty, legal fees, and conveyancing costs.
  • Capital improvements: This is where you account for major upgrades that added lasting value. We're talking about a new kitchen, adding a deck, or building a room extension—not minor repairs.
  • Ownership costs: In some situations, you can include costs like council rates, insurance, and interest on your home loan. This generally only applies if the property was bought after 20 August 1991 and you haven’t already claimed these costs as a tax deduction (for instance, against rental income).
  • Costs of selling: This covers the final expenses, like real estate agent commissions, legal fees, and any advertising costs you paid to sell the property.

It’s absolutely vital to keep detailed records of every single one of these expenses. Why? Because a higher cost base directly reduces your capital gain, which means less tax to pay.

Stage Two: Determining Your Capital Proceeds

Once your cost base is locked in, the next piece of the puzzle is determining your capital proceeds. In plain English, this is the money you receive from selling your property.

For most sales, the capital proceeds will simply be the sale price listed on the contract. The direct costs of the sale itself, such as the real estate agent's commission and the legal fees for handling the sale, are added to your cost base rather than subtracted from the proceeds. Either way, they reduce your capital gain, but make sure you only count them once.

The calculation in a nutshell: Capital Proceeds (Sale Price) minus Cost Base (Purchase Price + Buying Costs + Improvements + Selling Costs) equals Your Gross Capital Gain

This simple bit of maths gives you your total, or gross, capital gain. But hold on—this isn't the final number the ATO taxes you on. The next step is where a massive tax-saving opportunity comes into play for anyone who has held their property for a decent amount of time.

Stage Three: Applying the 50% CGT Discount

Here’s where a bit of patience really pays off. The Australian tax system rewards long-term property investors with a very powerful tax break: the 50% CGT discount.

Changes from 1 July 2027: for capital gains that accrue from that date, the 50% CGT discount is replaced with cost base indexation and a minimum tax of 30% on certain gains. Gains that accrued before 1 July 2027 keep the 50% discount, and different rules apply to new residential builds. See the ATO's capital gains tax reform page.

If you're an Australian resident individual and have owned the property for more than 12 months, you can slash your calculated capital gain in half. This is, without a doubt, the most effective way to minimise the capital gains tax you’ll pay.

Let's say you owned an investment property for a few years and sold it, making a capital gain of $100,000 after all your costs are accounted for. Because you held it for more than 12 months, you qualify for that all-important 50% discount. This instantly cuts your taxable gain down to just $50,000. That's the figure that gets added to your other income for the year and taxed at your marginal rate.

This flowchart gives you a simple visual of how to think about the main residence exemption, which is always the first thing to consider before you even start calculating.


capital-gains-tax-on-selling-a-home-exemption-process.jpg


As you can see, checking if your property qualifies, making sure you only have one main residence at a time, and knowing about things like the six-year rule are the foundational concepts you need to get right.


What is capital gains tax (CGT) and when does it apply in Australia?

CGT is not a separate tax — a capital gain is included in your assessable income for the year a CGT event occurs. It applies when you dispose of a CGT asset including shares, investment properties, business assets, and cryptocurrency. Your primary residence is generally exempt, though partial exemptions apply in specific circumstances.

How do I calculate a capital gain on an investment in Australia?

The capital gain is capital proceeds (sale price) minus the cost base. The cost base includes purchase price, stamp duty, legal fees, and capital improvement costs. If the asset was held for more than 12 months, apply the 50% CGT discount to reduce the gain before adding it to taxable income. Keep all acquisition records from the purchase date.

What is the 12-month CGT discount rule in Australia?

Australian resident individuals and trusts that have held a CGT asset for more than 12 months can reduce their capital gain by 50% before inclusion in assessable income. Superannuation funds receive a one-third discount. Companies do not qualify. The holding period begins on the purchase date and ends on the disposal contract date.

How does CGT apply to shares in Australia?

Shares are CGT assets. When you sell shares, the gain or loss is proceeds less cost base (purchase price plus brokerage). Gains on shares held more than 12 months qualify for the 50% discount. Capital losses can only offset capital gains — they cannot reduce other income. Carry forward unused losses to offset future gains.

What CGT exemptions apply to selling your main residence?

The main residence exemption can entirely or partially exempt the gain from selling your home. Full exemption applies if the property was your main residence throughout the ownership period, was never used to produce income, and sits on land of two hectares or less. Partial exemption applies where it was rented or used for business during part of the ownership period. If you're a foreign resident for tax purposes when you sign the sale contract, you generally can't claim the exemption at all.


Navigating Partial Exemptions and Special Cases

The main residence exemption is wonderfully straightforward when a property has only ever been your family home. But life is rarely that simple.

What happens when your home doubles as your workplace, or you start renting out a spare room to help with the mortgage? In these situations, the tax-free status of your home sale can become partial, meaning a portion of your capital gain suddenly becomes taxable.

Think of your home's tax-free status like a whole pie. If you use a part of it to earn an income, the Australian Taxation Office (ATO) considers that you've cut out a slice for business purposes. When you sell, the "family home" part of the pie is still exempt from tax, but the "business slice" is now on the table for capital gains tax.

This is a really common scenario for many Australians, especially with the rise of remote work and the gig economy. The key is understanding how to correctly portion out the gain so you only pay tax on what you absolutely have to.

When Your Home Is Also Your Workplace

Using part of your home to run a business or renting out a room directly affects your main residence exemption. If you've claimed (or were entitled to claim) tax deductions for "interest on your home loan" or other running costs against your business income, you will almost certainly face a partial CGT bill when you sell.

The ATO needs you to figure out the taxable portion based on two key factors:

  1. Floor Area: You have to work out the percentage of your home's total floor area that was used for income-producing activities. For example, if your dedicated home office takes up 10% of your home's floor space, that’s your starting point.
  2. Time Period: You also need to calculate the exact period you used the space to earn an income. If you ran the business from home for five of the ten years you owned the property, you’ll need to account for that timeframe.

The taxable part of your capital gain is then calculated based on a blend of both the space and the time it was used for business.

Calculating the Taxable Portion

Let's run through a quick example. Imagine you sell your home and make a capital gain of $200,000. You used a home office, which makes up 15% of the house's floor area, to run a business for the entire 8 years you owned the property.

In this simplified case, 15% of your capital gain would be subject to CGT.

  • Taxable Portion: $200,000 (Total Gain) x 15% (Business Use Area) = $30,000

This $30,000 is your gross capital gain. And because you've owned the home for more than 12 months, you can then apply the 50% CGT discount, reducing your taxable gain to just $15,000.

This apportionment principle is crucial. It ensures you’re not unfairly taxed on the part of your home you genuinely lived in, while still accounting for the slice that helped you earn an income and claim deductions.

Other Complex Scenarios to Consider

Partial exemptions aren't just for home businesses. Other special cases can complicate your capital gains tax on selling a home, often needing careful calculations and professional advice.

For instance, inheriting a property comes with its own set of rules. The CGT implications depend on when the deceased bought it, whether it was their main residence, and how long you hold onto it before selling. Similarly, if you move into a home you previously rented out, you can't just wipe the slate clean: the gain is apportioned between the days it was rented and the days it was your home. The reverse situation is where valuations matter. If your home is first used to produce income after 20 August 1996 (for example, you move out and rent it), you're generally treated as having acquired it at its market value at that time, so get a professional valuation when the tenants move in.

Because property values can rise substantially over a long period of ownership, even a partial CGT liability can be a sizeable sum, which makes accurate calculations essential.

Given the complexities, getting it right is paramount.

Strategies to Legally Minimise Your CGT Bill

Getting the best sale price for your property is only half the battle. The other half is making sure you keep as much of that profit as you legally can.

While paying tax on a capital gain is non-negotiable, there are several legitimate, ATO-approved strategies you can use to reduce your final bill. These aren’t sneaky loopholes; they’re simply the result of smart, forward-thinking financial decisions. By understanding the rules and planning ahead, you can make sure you don't pay a dollar more in tax than necessary.

Hold Your Property for Over 12 Months

Without a doubt, the single most powerful strategy for cutting down your CGT bill is patience. If you're an Australian resident and you hold an investment property for at least 12 months before selling, you unlock the 50% CGT discount.

This is a game-changer. It allows you to slash your taxable capital gain in half, straight off the top. So, if you've calculated a capital gain of $80,000, holding the property for that extra day over the 12-month mark instantly reduces your taxable gain to just $40,000. It’s the cornerstone of managing capital gains tax on selling a home that isn’t your main residence.

The CGT discount is a major wealth-building tool. A 2026 Parliamentary Budget Office report using 2022–23 tax return data found its benefits are highly skewed towards higher-income taxpayers, which gives you an idea of its power.

Time the Sale Strategically

Here’s a crucial detail many people miss: your capital gain is taxed in the financial year you sign the sale contract, not when you settle. This small detail opens up a massive strategic opportunity to time your sale to fall in a year when your other income is lower.

Think about these scenarios:

  • Nearing Retirement: Selling after you've officially stopped working could mean your gain is taxed at a much lower marginal rate.
  • Taking a Career Break: If you're planning to take a sabbatical or switch to part-time work, that financial year might be the perfect window to sell.
  • Launching a Business: In the early years of a start-up, personal income is often much lower, creating an ideal tax environment for a property sale.

By aligning the sale with a lower-income year, you ensure the gain doesn't push you into a higher tax bracket, potentially saving you thousands.

Another smart move is to maximise your deductions in the year of sale. Making a personal deductible contribution to your superannuation (within your concessional contributions cap, $32,500 for 2026–27), for example, can be a highly effective way to lower your total taxable income, which in turn reduces the tax hit from your capital gain.

Maximise Your Cost Base

A higher cost base means a lower capital gain. It’s that simple. But so many property owners make the mistake of thinking the cost base is just the purchase price, leaving thousands of dollars in legitimate expenses on the table.

You need to be meticulous. Track and include every single allowable expense to build up your cost base. This includes more than you might think:

  • Initial buying costs like stamp duty, legal fees, and buyer's agent fees.
  • Major capital improvements, such as renovations, adding an extension, or significant landscaping projects.
  • Selling costs, including real estate agent commissions, styling, and advertising fees.

Every receipt you keep for a capital improvement could save you real money when it comes time to sell.

When it comes to tax, planning is everything. Our capital gains tax service can estimate the tax before you sell, so you can plan the timing and keep enough aside. Our guide to capital gains tax on property covers more ways to legally reduce capital gains tax.

Essential Record Keeping For A Smooth Tax Return


capital-gains-tax-on-selling-a-home-record-keeping.jpg


When it comes to capital gains tax, meticulous records are your best friend. Seriously. They're your best defence against overpaying the Australian Taxation Office (ATO) and your greatest tool for saving money.

Think of your records as the building blocks for your property’s cost base. Every receipt and invoice you save can potentially increase this base, which in turn directly reduces your taxable capital gain. A shoebox of faded receipts is better than nothing, but a well-organised file—digital or physical—is the key to a stress-free tax season.

Your Essential Document Checklist

From the day you even start thinking about buying a property to the day you sell it, you should be collecting documents. These records are absolutely crucial for accurately calculating the capital gains tax on selling a home.

Make sure you keep a clear trail of the following:

  • Purchase Documents: This includes the original contract of sale, settlement statements, and receipts for things like stamp duty and your solicitor's fees.
  • Improvement Costs: Got invoices for capital improvements? Keep them. This means significant upgrades like a kitchen renovation, adding a deck, or building an extension—not minor repairs like fixing a leaky tap.
  • Ownership Costs: Where applicable, you'll need records of council rates, land tax, and the interest you've paid on your home loan.
  • Selling Documents: Gather the final contract of sale, settlement statements, and receipts for the real estate agent's commission, legal fees, and any advertising costs.

The ATO requires you to keep these documents for the entire time you own the property, plus another five years after the end of the income year in which you sell it (longer if the sale creates a capital loss you carry forward). For a more detailed breakdown, our guide on which tax records to keep has you covered.

Good records do more than just satisfy the ATO. They empower you to make informed financial decisions and ensure you claim every legitimate cost you are entitled to, maximising your final profit from the sale.

How To Report Your Capital Gain

Once you have all your records in order and have crunched the numbers to find your net capital gain, the final step is reporting it on your annual tax return. A key point here: you report it in the financial year that you sign the contract of sale, not the year the sale finally settles. This catches a lot of people out.

In the myTax portal, you'll head to the "Capital gains or losses" section. This is where you'll input the key details from your calculations, including your total capital proceeds and the property's all-important cost base.

The system will then prompt you to apply any relevant discounts, like the 50% CGT discount if you've owned the property for more than 12 months. The final number is your net capital gain, which gets added to your assessable income for the year and is then taxed at your marginal rate.

Got More Questions About CGT on Property?

Working through the capital gains tax rules often brings up a few tricky "what if" scenarios. When your situation isn't a simple buy-and-sell, things can get complicated. Let's tackle some of the most common questions property owners ask.

What Happens If I Make a Capital Loss on My Property?

It's a tough pill to swallow, but sometimes you have to sell a property for less than what you paid for it. When this happens, you’ve made a capital loss. While it’s certainly not the outcome you hoped for, this loss has a very specific purpose in the eyes of the tax man.

You can't use a capital loss to reduce your regular taxable income, like your salary from work. Instead, you have to use it to offset any capital gains you’ve made from other assets in the same year. If you don't have any gains to offset, the loss isn't gone for good. You can carry it forward indefinitely to wipe out capital gains in future years, which is why it's so important to report every loss to the ATO.

Do I Pay CGT on an Inherited Property?

The tax rules for inherited properties can be a real maze, and the answer depends entirely on the history of the property. For example, if the person who left you the property bought it before CGT even existed (pre-20 September 1985), you might be completely exempt if you sell it within two years.

A similar two-year grace period often applies if the property was the deceased's main residence right up until they passed away and wasn't being used to produce income. But if it was their investment property, you effectively step into their shoes and inherit their original cost base, so CGT is calculated on the growth since the deceased bought it when you eventually decide to sell. Given how many variables are at play, this is one area where getting professional tax advice is a very smart move. Our guide to capital gains tax on inherited property goes into more detail.

Inheriting a property doesn’t mean an automatic tax bill. The critical factors are how the deceased used the property and how quickly you act on selling it. Getting your head around these conditions is the key to managing any potential CGT you might face.

Can I Avoid CGT by Moving Into My Rental Property Before Selling?

It’s a common idea: move into your rental property for a while, call it your home, and then sell it tax-free. While this strategy can definitely reduce your CGT, it's not a magic loophole that will wipe the slate clean.

The ATO looks at the entire time you owned the property and requires a proportional calculation. You'll need to figure out the total capital gain over your ownership period and then split it. The gain is apportioned based on the number of days it was rented out versus the days it was your genuine main residence. You'll still pay CGT for the period it was an investment, but the gain attributed to the time you lived there will be exempt.

Related guides

Call usGet a quote