When a leasehold flat or house is first sold, a lease is granted for a fixed period of time, typically between 99 and 125 years – but sometimes up to 999 years. People may extend their lease or buy the freehold, but this can be complicated and expensive and involve legal fees.