Selling a property in Almería: Mojácar, Vera, Albox and the Almanzora valley
Selling a property in Almería follows the same national path as anywhere in Spain: a private deposit contract, then the deed of sale (the escritura) signed in front of a notary, then the taxes. What makes Almería different is its planning history. A licensed flat or townhouse on urban land in Mojácar, Vera or Roquetas de Mar sells like any other. A country house inland, particularly in the Almanzora valley around Albox, Arboleas and Cantoria, may have been built on rustic land without a valid licence, and that shapes who will buy it and for how much.
This guide explains Andalusia's rules as they stand in November 2026: the time limits for town halls, the AFO declaration and what it does and doesn't fix, and how to sell realistically. It is general information, so have a lawyer and a technician look at your own property.
Why Almería has so many unlicensed homes
Over past decades a great many houses were built on rustic land in Andalusia without a valid licence. Some stand on plots that were split up without permission, some had licences that were later annulled, and some never had a licence at all. Andalusia's planning law has rules for each of these situations.
The scale is set out by the Junta de Andalucía itself. In its 2019 commentary on the regularisation law of that year, the Junta estimated that of around 500,000 buildings on non-developable land in Andalusia, about 300,000 were irregular, and that only 26% of those had been declared AFO. The Andalusian Ombudsman's 2014 report records cases from the Almanzora valley itself, including a court ruling in Albox that buyers of homes built on non-developable land must be compensated, and homes in Cantoria whose demolition a court had ordered.
Not every irregular house faces demolition, as the sections below explain. But the history means buyers and their lawyers in Almería check the planning position of a country house very carefully.
The rules that apply: national, Andalusian and local
| Topic | Who sets the rule |
|---|---|
| The deposit contract, the notary and the deed | National |
| Tax on the gain, and the 3% retention for non-residents | National |
| Registering old buildings at the Land Registry | National (Land and Urban Rehabilitation Law) |
| Planning time limits and the AFO | Andalusia (Law 7/2021, known as LISTA) |
| Licences, AFO decisions and the plusvalía | Your town hall |
Six years, and where there is no limit
Under article 153 of Andalusia's planning law, a town hall can only order unlicensed work to be put right while it is under way and for six years after it is completely finished, or after outward signs of it first appear if that is later.
There is no time limit for:
- Building on public land and its protection zones.
- Building on rustic land in the coastal zone of influence, which matters on the Almería coast.
- Building on rustic land at real risk of flooding, landslides or similar, while the risk lasts. Many Almería houses sit near ramblas, dry riverbeds that flood after storms.
- Building that affects green spaces or listed heritage.
- Unlawful plot divisions on rustic land, except the plot under a building whose own time limit has passed.
So the first question for any country house is when it was finished and what kind of land it stands on. Your lawyer can ask the town hall for a certificate of its planning position.
The AFO: what it does and doesn't fix
AFO stands for asimilado a fuera de ordenación, roughly "treated as outside the plan". Under article 173 of the planning law, a finished irregular building that can no longer be ordered down because the time limit has passed is in the AFO position. The owner applies to the town hall, which gathers any reports and permits the law requires and has six months to decide. If it doesn't answer in time, the application counts as refused.
What an AFO declaration allows:
- Registration. The AFO is noted in the margin of the property's entry at the Land Registry, so the house can be recorded and sold with its position stated.
- Utilities. Until the AFO is recognised, the building may not be connected to basic services. Afterwards, water, electricity and drainage can be connected where only the connection works are needed, and the supply companies ask for the AFO decision.
- Repairs. Conservation and reform works can be licensed, as long as they don't add floor area or volume.
What it doesn't do. The law says plainly that an AFO declaration is not legalisation. You cannot extend the house, although for utility contracts the law treats the AFO decision in the same way as an occupation licence. A town hall cannot grant an AFO to a building that does not meet minimum safety and health standards, or that stands on land at real risk of flooding or landslides, until the necessary works are done.
Other routes. Buildings on non-developable land finished before Spain's land law reform of 2 May 1975 came into force are treated as if they had a licence for the use they had then, under the planning law's fifth transitional provision. Article 175 also lets town halls draw up special plans for whole groups of irregular houses.
The Catastro, the deed and the house
Check that the Land Registry, the Catastro (the property tax register) and the house on the ground all describe the same thing. Where the time limit has passed, national law lets the house or an extension be added to the deed and the register with a technician's certificate, a notarial record or a Catastro certificate showing when it was finished. The registrar then tells the town hall, which records the house's planning position against the entry. Changes made without a licence can also be declared to the Catastro, but an entry there is a tax record, not a licence. Our guide to selling a property with illegal extensions in Spain covers these steps.
Flats and townhouses on the coast
Apartments and townhouses in Mojácar, Vera, Garrucha or Roquetas de Mar that were built with a licence on urban land sell in the usual way. Andalusia does not use a cédula. Under its planning law, occupying an existing home on urban land that has had no works is covered by a declaración responsable, a signed declaration filed with the town hall, and supply companies ask for that or the occupation licence when a new contract is signed. Buyers' lawyers generally ask to see it. See the habitation licence when selling in Spain.
Taxes on the sale
These are mostly national. Spanish tax residents pay income tax on the gain in their annual return. As of November 2026 the Agencia Tributaria gives the rate for non-residents as 19% of the gain, and the buyer holds back 3% of the price and pays it to the tax office on Modelo 211 within one month. The town hall charges the plusvalía on the rise in land value. See taxes when selling property in Spain.
Selling realistically
A clean flat on the coast and an unlicensed farmhouse inland are different sales, so be honest with yourself about which you have.
Before you market it:
- Get a nota simple from the Land Registry and a Catastro certificate, and compare them with the house as it stands.
- Ask a technician to date the building and any extensions, and to say what land it stands on.
- Have your lawyer ask the town hall about the property's planning position, any proceedings against it, and whether an AFO is possible.
- If an AFO is possible, consider applying before you sell. It widens the range of buyers.
Who to sell to. If the house is licensed or has its AFO, and you have time, an estate agent who knows the area is likely to get you more. If its position is uncertain, many buyers will need a mortgage that the bank may not grant, and some will not proceed at all.
A cash buyer does not have to wait for a mortgage approval or a bank valuation, and some cash buyers will consider a property with planning problems. The trade-off is price: cash buyers usually offer less than the asking prices on the property portals, and a house with an unclear planning position usually attracts lower offers still. A cash sale doesn't suit anyone who wants the open-market price and can wait for it.
Your House Bought's cash buyer panel is one way to test that route alongside an agent. There is one fixed fee, confirmed in writing first: €299 to list the property with the panel. There is no exclusive listing, every offer is passed to you in writing, and whether to accept is your decision alone. Whoever buys, tell them everything you know about the planning position in writing, and let your own lawyer handle the sale at the notary. For rural land more generally, see selling a rustic property or finca in Spain.
Questions people ask
What is an AFO certificate in Andalusia?
AFO stands for asimilado a fuera de ordenación. It is a town hall decision recognising that a finished building was built irregularly but can no longer be ordered down, because the time limit for action has passed. Under Andalusia's 2021 planning law it lets the owner register the building, connect to utilities where networks exist and carry out repairs. It does not make the building legal.
Can I sell a house in Almería that has no licence?
Often yes, but what you can sell depends on its planning position. A house with an AFO declaration, or one finished before Spain's 1975 land law reform came into force, can be sold and registered in the normal way, with its limits written into the record. A house still within the six-year window, or on land with no time limit, such as the coastal zone or land at real risk of flooding, can still face a demolition order, and many buyers will walk away.
How long does a town hall in Andalusia have to act against an illegal build?
Under Andalusia's 2021 planning law, six years from when the work was completely finished, or from when outward signs of it first appeared if that is later. There is no time limit at all for building on public land and its protection zones, rustic land in the coastal zone, rustic land at real risk of flooding or landslides, green spaces, and protected heritage sites.
Will a cash buyer take a house with planning problems?
Some will, but expect the price to reflect the problem. Cash buyers usually offer less than the asking prices on the property portals, and a house whose planning position is unclear usually attracts lower offers still. A buyer who needs a mortgage depends on the bank's view of the property, which a cash buyer does not. Getting an AFO declaration first can widen the field of buyers.
Sources
- Ley 7/2021 de impulso para la sostenibilidad del territorio de Andalucía, articles 138, 142, 153, 173 to 175 and transitional provision 5 (Boletín Oficial del Estado)
- Decreto-ley 3/2019, texto comentado con preguntas frecuentes (Junta de Andalucía, November 2019)
- Real Decreto Legislativo 7/2015, Ley de Suelo y Rehabilitación Urbana, article 28 (Boletín Oficial del Estado)
- Informe anual 2014, actuaciones de oficio en urbanismo (Defensor del Pueblo Andaluz)
- Procedimientos y trámites: declaraciones y regularización (Dirección General del Catastro)
- Ganancias patrimoniales derivadas de la venta de inmuebles, Manual de tributación de no residentes (Agencia Tributaria)
Related guides
Selling a property with illegal extensions in Spain: what to check and what you can do
You can usually sell a Spanish property with an unlicensed extension, pool or conversion, but it affects who buys and the price. Each region sets how long the town hall has to act: six years in Andalusia and Catalonia, eight in the Balearic Islands and fifteen in the Valencian Community, with no limit on some land. Running out of time does not make work legal, but it can open routes to register it.
The processSelling a rustic property or finca in Spain: what to check first
Selling a finca in Spain follows the normal sale steps, but rustic land brings extra checks: whether the house was built with a licence, the region's minimum plot size if you sell only part, rights of first refusal for some neighbours, and any water rights. Land classed as rustic for IBI is outside the plusvalía tax. Rules on building and time limits are set by each region.
Your situationSelling a property on the Costa del Sol: Andalusia's rules, taxes and paperwork
Selling on the Costa del Sol follows Spain's national steps: an arras contract, then the deed signed before a notary, with national tax on any gain and the 3% retention for non-residents. What is Andalusian is the planning law that covers occupation and older builds on rustic land (the AFO), the inheritance tax reliefs, the tourist-let register, and each town hall's plusvalía rate.
General information about selling property in Spain, not legal, tax or financial advice. Rules and rates change and differ between regions, so check with a Spanish lawyer or tax adviser. Last checked 25 November 2026.