Skip to content
holdfast

Capital Gains Tax on home sale: Private Residence Relief explained

Capital Gains Tax on home sale: when Private Residence Relief makes your home tax-free, the final 9 months, letting, lodgers, two homes and when to report.

Updated · Checked against GOV.UK on

Written by the Holdfast team

Capital Gains Tax on a home sale is usually nothing: if the property was your only or main home for the whole time you owned it, Private Residence Relief makes the whole gain tax-free and you have nothing to report. You only pay tax on part of the gain if you lived elsewhere, let it out, used part of it only for business or have grounds over 5,000 square metres. Even then, the last 9 months you owned it always count as if you lived there.

For most homeowners the answer to "do I pay Capital Gains Tax on my house" is no. This guide explains when Private Residence Relief applies in full, when it covers only part of the gain, and how to report the rest. For second homes and buy-to-lets that were never your home, see our guide to Capital Gains Tax on property.

Do I pay Capital Gains Tax when I sell my home?

No, if you meet all of GOV.UK's conditions for Private Residence Relief. The relief is automatic, so there is no form to fill in and no tax to pay.

You get full relief if all of these apply:

  • you have one home and you have lived in it as your main home for all the time you have owned it
  • you have not let part of it out (having a lodger does not count as letting)
  • you have not used part of it exclusively for business (a room used as a temporary or occasional office does not count)
  • the grounds, including all buildings, are less than 5,000 square metres (just over an acre) in total
  • you did not buy it just to make a gain

A home can be a house, a flat, a houseboat or a fixed caravan, owned outright, on a lease or jointly. Companies do not get the relief.

If you fail a test, you still get relief for the time and the parts of the home you lived in, and pay tax only on the rest.

Which periods count towards Private Residence Relief?

The time you actually lived there counts, plus the last 9 months you owned it, plus some absences that HMRC treats as if you were living there. Any other time reduces your relief.

Period (sales from 6 April 2020)Does it count for relief?Condition from GOV.UK
Time you lived there as your only or main homeYesIt must be genuinely your home
Last 9 months before you sellYes, alwaysIt was your only or main home at some point
Last 36 months before you sellYes, instead of 9 monthsYou own only one home and are disabled or in long-term residential care
Up to the first 2 yearsYesIt was being built or renovated, or you could not sell your old home, and you moved in within 2 years
Absences for any reason, up to 3 years in totalYesYou lived there before and after
Working away in the UK, up to 4 yearsYesYou lived there before and after, unless your work prevented you
Working outside the UK, any lengthYesYou lived there before and after, unless your work prevented you
Any other time away, such as letting the whole homeNoThat share of the gain is taxable

The absence rules apply if you have one home, or if you have nominated the home as your main home. HMRC's manual adds that the work absences also apply when your husband, wife or civil partner is the one working away.

If you sold between 6 April 2014 and 5 April 2020, the final period was 18 months instead of 9. Before 6 April 2014 it was 36 months.

What is the 9 month rule?

You always get relief for the last 9 months you owned a home that was your only or main home at some point, however many homes you own. It does not matter where you lived during those months. This is why moving out a few months before the sale completes usually costs nothing.

What if I moved out before selling?

If you move out and sell within 9 months, you still get full relief. If it takes longer, the extra months are usually taxable, unless an allowed absence covers them.

Relief is worked out by time: the months that count, divided by the months you owned it, gives the share of the gain that is tax-free. You do not value the property on the day you moved out.

GOV.UK gives this example: you owned a home for 20 years and were away for 5 of them, outside the final 9 months and not covered by any other relief. That is 25% of the time, so the gain you get relief on is cut by 25%.

The absence rules need you to have lived in the home before and after the absence. If you move out and never move back, the "up to 3 years" rule does not help. Only the final 9 months does.

If you owned the home before 31 March 1982, the count starts on 31 March 1982.

What happens if I let out my home?

You get relief for the years you lived there plus the last 9 months. The rest of the gain is taxable. If you only let part of it while you lived there, Letting Relief can cover some or all of the taxable part.

Letting the whole home after you move out

GOV.UK's example: you make a £120,000 gain on a home you owned for 15 years. You lived in it for 7.5 years, then let it out for 7.5 years. You get relief for 7.5 years plus the last 9 months, so 8.25 years, or 55% of the time. That makes £66,000 of the gain tax-free, and the remaining £54,000 is your chargeable gain.

Letting Relief: only if you lived there with your tenants

Letting Relief only applies if you lived in the home at the same time as your tenants. It does not apply where the whole home was let. You get the lowest of:

  • the amount of Private Residence Relief you get
  • £40,000
  • the chargeable gain you made from the part you let

It does not cover any time the home was empty.

GOV.UK's example: you let a large bedroom that makes up 10% of your home and make a £75,000 gain. Private Residence Relief covers 90%, which is £67,500. The other £7,500 relates to the let room, so Letting Relief covers it in full. You pay no tax.

While you let a property, the rent is income and taxed separately. Our guide to tax on rental income in the UK explains how.

Does having a lodger affect Capital Gains Tax on my home?

No, a lodger who shares your living space does not count as letting out your home, so your relief is not reduced. GOV.UK also says children or parents living with you and paying rent or housekeeping does not count.

HMRC's manual says relief is not restricted for a single lodger who lives as part of the household. With more than one lodger, HMRC may restrict relief to some extent, and Letting Relief may then cover the restricted part.

The rent from a lodger is a separate question. Under the Rent a Room Scheme you can earn up to £7,500 a year tax-free from letting furnished accommodation in your home, or £3,750 if you share the income with someone else. Our Rent a Room Scheme guide covers it.

Do I pay Capital Gains Tax if I work from home?

Not if the room you work in is also used for ordinary living. Only part of a home used exclusively for business loses relief.

GOV.UK says using a room as a temporary or occasional office does not count as exclusive business use. HMRC's manual calls the exclusive use test "stringent" and says a room with some regular residential use should not usually lose relief. A desk in a spare bedroom where guests also sleep, or a dining table you work at, keeps full relief.

Where part is used only for business, such as a shop with a flat above, you split the gain by the value of each part: the business part may be taxable and the living part gets relief.

Claiming some household costs against your profits does not by itself mean a room is used exclusively for business. For those claims, see simplified expenses and working from home.

Is there Capital Gains Tax on a large garden or land?

Gardens and grounds up to 5,000 square metres (half a hectare, just over an acre), including the buildings on them, get relief in full. Above that, you only get relief on the area HMRC accepts is needed for the reasonable enjoyment of the home.

The larger "permitted area" depends on the size and character of the house, and HMRC may ask the District Valuer to decide it. A few rules catch people out:

  • Selling part of the garden first: you can get relief on garden land you sell, as long as it is within the permitted area and you sell it while you still own the home.
  • Selling the garden after the house: there is no relief if you sell garden land after you have already sold the home.
  • Land fenced off or under development: land divided off from the garden for development, or being built on when you sell, does not count as garden.
  • Land used for something else: farmland, commercial woodland or land let or used for a business is not part of the garden. HMRC's manual says paddocks or orchards can still count if there is no significant business use.

What if I have two homes?

You can only get Private Residence Relief on one home for any period. You choose which one by writing to HMRC within 2 years of your mix of homes changing. If you do not choose, HMRC decides on the facts when you sell.

To nominate a home, write to HMRC with the address of the home you want to count. All owners of that property must sign the letter. A new 2-year window starts each time your combination of homes changes, for example when you buy a flat for work or inherit a house.

For example, if you bought a second home in May 2025, you can nominate either home until May 2027. Also:

  • You must have actually lived in a home at some point for it to be nominated.
  • The final 9 months, and the first 2 years when building or renovating, still count on the home you did not nominate.
  • From 6 April 2015, you can only nominate a home abroad for a tax year in which you lived in it for at least 90 days.

Our guide to Capital Gains Tax on inherited property covers the common case where inheriting a house leaves you with two.

How does Private Residence Relief work for married couples and civil partners?

A married couple or civil partners living together can only have one main home between them at any time. If you each owned a home when you married and kept using both, you can jointly nominate one within 2 years of the date you married or registered.

If you give or sell your share of a home to your husband, wife or civil partner while you live together, there is no Capital Gains Tax on the transfer. HMRC's manual says the person receiving it is treated, for Private Residence Relief, as having owned it from when you first did, and gets relief for the time it was your main home. The same applies when a home passes to a spouse or civil partner on death.

If you separate, each of you can have a different main home. HMRC's manual says that from 6 April 2023, transferring your share of the former family home to your ex as part of the divorce or dissolution settlement normally qualifies for no gain and no loss treatment. The rules here are detailed, so read GOV.UK's tax when your relationship ends page if this applies.

Worked example: Priya sells a flat she used to live in

Priya makes a £160,000 gain on a flat she lived in for 6 of the 10 years she owned it. Private Residence Relief covers £108,000, and she pays £11,298 in Capital Gains Tax.

Priya bought a flat and lived in it as her only home for 6 years (72 months). She then moved in with her partner and let the whole flat to tenants for 4 years (48 months) before selling, with completion in January 2027. She owned it for 120 months in total.

After deducting what she paid, her solicitors' and estate agent fees and a new kitchen extension (an improvement), her gain is £160,000.

Working out the reliefFigure
Months she lived there72
Final 9 months (falls in the letting period, still counts)9
Months that qualify for relief81 out of 120
Share of the gain that is tax-free67.5%
Private Residence Relief (67.5% of £160,000)£108,000
Letting Relief (she did not live there with the tenants)£0
Chargeable gain£52,000
Less: tax-free allowance for 2026/27£3,000
Taxable gain£49,000

Her taxable income after the £12,570 Personal Allowance is £30,000, so £7,700 of the £37,700 basic rate band is left.

Working out the taxAmount
£7,700 at 18%£1,386
£41,300 at 24%£9,912
Capital Gains Tax to pay£11,298

Priya must report and pay within 60 days of completion, and include the sale on her Self Assessment return as a registered landlord. The 3-year absence rule does not help her, because she never moved back in.

The rates and allowance used here are explained in our guide to Capital Gains Tax allowance and rates.

Do I need to report the sale of my home to HMRC?

Not if Private Residence Relief covers the whole gain. HMRC's helpsheet HS283 says you do not need to fill in the capital gains pages of your tax return if you meet all the conditions for full relief and have no other gains, claims or elections to report.

If only part of the gain is covered:

  1. Work out your chargeable gain. GOV.UK's Capital Gains Tax on property calculator handles Private Residence Relief and Letting Relief, as long as you did not sell other assets such as shares in the same tax year and are not claiming other reliefs.
  2. Check it against your allowance. If you are a UK resident and your total gains for the year are under £3,000, you do not need to report the sale online.
  3. Report and pay within 60 days of completion through the Capital Gains Tax on UK property account. You may pay interest and a penalty if you are late. Our guide to reporting Capital Gains Tax on property within 60 days walks through it.
  4. Include it on your tax return if you are registered for Self Assessment. HS283 says to write "Private Residence Relief is claimed" with the amount in your computation, and enter the code PRR (or LET if you claim Letting Relief).

Jointly owned homes are reported by each owner for their own share. If you do not live in the UK, you must report every sale of UK property within 60 days, even when there is no tax.

Keep contracts, improvement invoices and a note of the dates you lived there or let it, for at least a year after the Self Assessment deadline. If you let rooms or a whole home, Holdfast keeps the rent and costs in one place, so the figures are ready when you sell.

Can I lose Private Residence Relief completely?

Yes, even if you lived there, if you bought the home or spent money on it mainly to make a gain, for example buying a house to sell it quickly at a profit. There is also no relief on garden land sold after the house.

If you sell your home at a loss and the sale would have been fully covered by Private Residence Relief, you cannot use the loss against other gains. If it would have been partly covered, that part of the loss cannot be used.

For ways to reduce the tax that is due on the rest of a gain, see how to reduce Capital Gains Tax.

What to do next

  1. Check the conditions in GOV.UK's tax when you sell your home guide, or use its tax relief tool.
  2. List your dates: when you bought, when you lived there, any time away or letting, and the completion date.
  3. Nominate a main home within 2 years if you have more than one.
  4. Work out the taxable part, if any, and report and pay within 60 days of completion.
  5. Call HMRC's Capital Gains Tax helpline if you are not sure how the rules apply. GOV.UK lists it on the Capital Gains Tax enquiries page.

Questions

Do I pay Capital Gains Tax when I sell my house in the UK?

Not if it has been your only or main home for the whole time you owned it, you have not let it out or used part of it only for business, and the grounds are under 5,000 square metres. Private Residence Relief then covers the whole gain and you have nothing to report.

How long do I have to live in a house to avoid Capital Gains Tax?

There is no minimum time. What matters is that it was genuinely your only or main home. Relief covers the time you lived there plus the last 9 months you owned it, so any other time is what can be taxed.

What is the 9 month rule for Capital Gains Tax?

You always get relief for the last 9 months before you sell a home that was your only or main home at some point, even if you had moved out. It is 36 months if you only own one home and are disabled or in long-term residential care.

Does having a lodger affect Private Residence Relief?

No. GOV.UK says a lodger who shares living space with you is not letting out your home, and HMRC's manual says relief is not restricted for a single lodger. More than one lodger, or letting a self-contained part, can reduce it.

Do I lose Private Residence Relief if I work from home?

Not if the room is also used for normal living, such as a spare room or a desk in the lounge. Only a part of your home used exclusively for business loses relief.

Can a married couple have two main homes for Capital Gains Tax?

No. A married couple or civil partners living together can only have one main residence between them at any time. They can choose which one by writing to HMRC within 2 years of having that mix of homes.

Do I need to tell HMRC when I sell my home?

Not if Private Residence Relief covers the whole gain and you have no other gains to report. If part of the gain is taxable and your total gains are over £3,000, you report and pay within 60 days of completion.

What if I make a loss selling my home?

If the sale would have been fully covered by Private Residence Relief, the loss is not allowable, so you cannot use it against other gains. If only part was covered, part of the loss can be used.

Sources

This guide is general information, not financial, tax or legal advice. Tax rules change, so check GOV.UK or ask HMRC if you're unsure. Read our terms.

Try it and read more

More tax guides