According to government guidance, squatters can apply to become the registered owners of a property if they have occupied it continuously for 10 years, acted as owners for the whole of that time and had not previously been given permission to live there by the owner.