Skip to content

How Long Must You Live in a House to Avoid CGT in Ireland?

Irish tax guides · Property and landlords · 28 November 2026 · 6 min read

There is no minimum number of years. To pay no capital gains tax (CGT) when you sell, you must have lived in the house as your main home for the whole time you owned it, and the last 12 months of ownership count as lived in even if you had already moved out. If you lived there for only part of the time, the relief covers that part and the rest of the gain is taxed at 31% for sales on or after 7 October 2026. So the answer to how long to live in a house to avoid CGT is: all of the time you own it, not a set number of years.

How long do you have to live in a house to avoid CGT?

The rule is about the share of your ownership, not a number of years. The relief is called principal private residence relief. You get it in full when, for the entire period you owned the house, you lived in it as your only or main residence and used all of it as your home. It covers the house and land around it up to one acre.

That means a house you owned for three years and lived in for all three is fully relieved. A house you owned for 20 years and lived in for 15 is not. The 15 years are relieved, the other five are not, apart from the last 12 months, which are added to your 15.

You can have only one main residence at a time. A holiday home or an investment flat is taxed under the ordinary rules. Our guide to principal private residence relief sets out the relief itself; this post looks at the timing question.

What if you lived there for only part of the time?

The part of the gain that matches the time you lived there plus the last 12 months is relieved. The rest is taxable. The sum has three steps.

  1. Count the years you owned the house.
  2. Count the years you lived in it, add the last 12 months, and divide that by the years owned. This is the relieved fraction.
  3. Apply the fraction to the gain, deduct the €1,270 annual exemption from what is left, and apply the CGT rate.

Example: Niamh bought a house in Galway and owned it for 10 years. She lived in it for 6 years, moved to a rented flat in Dublin for work and let the house for the last 4 years. She sells it in December 2026 with a gain of €120,000 after her purchase costs, improvements and selling costs.

  • Years treated as lived in: 6 + 1 = 7 out of 10.
  • Relieved gain: €120,000 x 7/10 = €84,000.
  • Taxable gain: €120,000 minus €84,000 = €36,000.
  • Less the annual exemption: €36,000 minus €1,270 = €34,730.
  • CGT at 31%: €34,730 x 31% = €10,766.30.

Had the sale been before 7 October 2026, the rate would have been 33%, which gives €11,460.90. Because she sold in December, the tax is due by 31 January 2027.

Does the last 12 months rule help if you move out before you sell?

Yes. The final 12 months of ownership are treated as time you lived in the house. If you move into a new home and sell the old one within a year of leaving, the whole period counts and you pay no CGT. If the sale takes longer, the months beyond the last 12 are not relieved unless one of the special absences below applies.

Example: Seán lives in his house for 8 years, buys a new home and moves out. He sells the old house 10 months later. The 10 months fall inside the last 12, so he is treated as having lived there for the full period of ownership, and the gain is fully relieved.

The practical lesson is to put the old house on the market as soon as you move. Each month past the 12 turns part of the gain taxable. If you are letting it in the meantime, the rent is also taxable.

Which absences still count as living there?

Some periods away are treated as if you were at home.

  • Up to four years when your employer required you to live elsewhere.
  • Any period when all the duties of your job were carried out outside the State.
  • Any period when the house was empty because you were being cared for in a hospital, nursing home or convalescent home.
  • Any period when the house was empty because you were a fee-paying resident of a retirement home.

Choosing to move, travel or rent the house out because it suits you is not on the list. Those years are taxable apart from the last 12 months.

Does renting a room or using part of the house for work change it?

A tenant in one room under rent-a-room relief does not affect a full exemption. Using part of the house for a business does: you claim only the part you used as a home. If one fifth of the house is a workshop and your gain is €150,000, the relieved part is €150,000 x 4/5 = €120,000 and €30,000 is taxable before the exemption.

What about a house you inherited?

The same test applies to a house you inherit: it has to be your main residence for the time you own it. If you move in, the time you live there counts. If you leave it empty or let it, that time is not relieved apart from the last 12 months. We cover this in selling an inherited house.

How to check your own position

  1. Write down the date you got the house and the date of sale.
  2. List every period you lived there as your main home, and every period you did not.
  3. Check whether any of the empty periods fall under the four special absences.
  4. Add the last 12 months to the occupied time.
  5. Work out the relieved fraction and the taxable gain, as in Niamh's example.
  6. Pay any CGT by the due date and file the return.

Keep the dates, utility bills and any tenancy records for six years, because the relief depends on proving where you lived.

Key points

  • There is no minimum stay. The relief depends on living there for all of your ownership.
  • The last 12 months of ownership always count as lived in.
  • Employer-required absences up to four years, jobs wholly abroad and time in care count too.
  • Any other time away or let is taxed in proportion, at 31% for sales on or after 7 October 2026.
  • The €1,270 annual exemption comes off the taxable part.

The Tax Planning programme and its course Capital gains and ownership transfers teach you how to compute a part-relieved gain yourself, so you know your CGT bill before you decide when to sell.

Questions people ask

How long do you have to live in a house to avoid CGT in Ireland?
There is no set number of years. You pay no CGT if you lived in the house as your main home for the whole time you owned it. The last 12 months of ownership count as lived in, so you can move out up to a year before selling and still be fully relieved.
Do I pay CGT if I lived in the house for only one year and then sold it?
Not if that one year was your whole period of ownership and you lived there throughout. If you owned it for longer than you lived in it, only the time you lived there plus the last 12 months is relieved, and the gain on the rest is taxable.
What is the CGT rate on a house sale in Ireland in 2026?
The standard rate is 31% for disposals on or after 7 October 2026 and 33% for disposals before that date. You can deduct the €1,270 annual exemption from the taxable gain, and any part of the gain covered by principal private residence relief is not taxed.
If I rent out my old home after moving out, do I lose the relief?
You lose it for the rented years, apart from the last 12 months of ownership. The rent is also taxable income. If you sell within 12 months of moving out, the whole period still counts as lived in and the gain is fully relieved.

Know someone this would help? Share it.