100 metres as the general rule
The protection easement covers 100 metres inland from the inner limit of the shore (art. 23.1 Coastal Law). The State, with the agreement of the Junta and the Town Hall, may extend it by up to another 100 metres (art. 23.2). Residential buildings are prohibited in this zone (art. 25.1.a).
20 metres for land already urban in 1988
Where the land was classified as urban when the Coastal Law came into force, the protection zone is 20 metres (transitional provision 3.3). Existing uses and buildings are respected, and new ones may be authorised under the plan, subject to the conditions of that provision. The review therefore has to establish how the plot was classified in 1988.

What existing buildings allow
For buildings that are lawful but contrary to the Coastal Law, works of repair, improvement, consolidation and modernisation are allowed in the protection zone, provided they do not increase volume, height or surface area (transitional provision 4.2.c). These works must improve energy efficiency and reduce water use, and require a prior responsible declaration (transitional provision 4.3). In the transit zone, a favourable State report is also needed (4.2.b). If the building is demolished, the new one must comply fully with the law.
No time limit for enforcement
Under the Andalusian planning law, restoration measures can be taken at any time against works in public domain and in protection easements, and against works in rustic land within the coastal influence zone (art. 153.2.a and c LISTA). Because the time limit never runs, the AFO route based on its expiry is in principle not available for those works (arts. 153 and 173.1). An unlicensed extension in the protection zone remains exposed indefinitely.
Before signing
Obtain the deslinde documents and plans, check the position of each building and extension against the lines, establish whether the 20 m or 100 m rule applies, and match the works planned with what transitional provision 4 allows. Pending issues should shape the decision and the contract.
Official sources
General information, not legal advice. The applicable rules and the position of each property require an individual review.