Guide · Licences and legality

What you can do on rustic land in Spain: permitted uses, exceptional uses and the permit each one needs

13 min · Updated

Rustic land in Spain: sheds, fences, solar, livestock, glamping, a caravan or a home. Which uses are ordinary, which are exceptional, and the permits.

In this article

Listings for Spanish fincas rústicas are full of promises: "ideal for glamping", "perfect for a yoga retreat", "room for horses and a small house", "off-grid living". Each of those is a land use, and Spanish planning law sorts land uses on rustic land into two groups. Farming, forestry, a tool shed or a fence belong to the ordinary group and need, at most, a municipal licence. Tourism, events and most houses belong to the exceptional group, which means a separate prior approval, a public-interest justification, months or years of paperwork and, in Andalusia, a payment to the town hall of up to 10 % of the building cost.

One real file shows the scale. On 16 December 2025 the full council (Pleno) of a municipality in the province of Córdoba approved, as an "extraordinary action on rustic land", a venue for celebrations with rural accommodation on polygon 43, plot 1. The approval was published in the provincial gazette (Boletín Oficial de la Provincia, BOP) on 13 January 2026, notice BOP-A-2025-4562, and refers to a planning file numbered 1/2023. The file dates from 2023, the approval came in December 2025, and the owner still needed a building licence.

This guide is for buyers who want to know, before they pay a deposit, whether the plan they have for a piece of countryside is legally possible and by which route. It covers the state rule, the activities buyers ask about most, how three regions handle them, how to get a written answer from the town hall, and what to do when the answer is no. For taxes, the nota simple and the deposit contract, see buying land in Spain. For the basic land classes, see rustic, urban and developable land in Spain; for an existing house without permits, see illegal house on rustic land.

The one national rule

Spain's national land law, the consolidated Land and Urban Regeneration Act (Texto refundido de la Ley de Suelo y Rehabilitación Urbana, TRLSRU, Royal Legislative Decree 7/2015), says in Article 13.1 that the owner of rural land may use it according to its nature: for agriculture, livestock, forestry, hunting or any other use linked to the rational use of natural resources. That is the ordinary route.

The same article allows, exceptionally and under the procedure and conditions of regional planning law, specific uses "of public or social interest" that contribute to rural development or have to be located in the countryside. That is the exceptional route.

What this means for a buyer:

  • The details are regional and local. Each autonomous region has its own planning law and each municipality its own plan. Minimum plot sizes, distances and the exact permit come from those, not from Madrid.
  • "Public interest" is a legal test, not a description of your business plan. Spanish case law reads it restrictively: public utility or social interest is not the same as any commercial activity. A livestock installation in Melilla was justified in 2026 as being of public or social interest under Article 13.1 because livestock farming needs to be in the countryside (gazette notice BOME-P-2026-3074). A wedding venue has to argue harder.

Ordinary rustic land and protected rustic land

Plans divide rustic land into categories. The basic split is between common rustic land and specially protected rustic land (protected for farming value, forest, landscape, nature, heritage or natural hazards). Exceptional uses are often possible on common land and often prohibited on protected land. A single plot can have both: in Valencia the regional planning directorate ruled in 2024 (query C-41/24, Xeraco) that the protected part of a plot does not count towards the minimum area for a house on the common part.

The category appears in the municipal plan and in a planning certificate, not in the Cadastre (Catastro). The cadastral record tells you the plot is "rústico"; it does not tell you what the plan allows there.

The activities buyers ask about

A shed for tools (caseta de aperos)

Usually an ordinary use with a licence or a sworn notice (declaración responsable). Many towns regulate it in a specific bylaw; Almonte (Huelva) has bylaw URB/03 on tool sheds in rustic land, with size and height limits. Size limits, distance to boundaries and a ban on residential features are the usual conditions. Adding a kitchen, a bathroom and a bed turns it into an unlicensed dwelling. Enforcement orders go to whoever owns the land at the time, so a shed that has quietly become a guest room is the buyer's problem.

Fencing

Generally needs a licence or sworn notice, with limits on height, materials and setback from paths. If the plot borders a drove road or a public path, the boundary is set by that public domain, not by your deeds: see drove roads and public paths. Within 100 m of a watercourse, even a dry rambla, a fence also needs the river basin authority's permit: see building near a river or rambla.

Horses, goats, a small farm

Keeping animals as a farm is an ordinary use, but stables and livestock buildings have distance rules from villages and other farms and need an activity or environmental permit. If you keep two horses for pleasure rather than as a farm, ask the town hall how it classifies the stable before you build it: either way it is a structure and needs a licence.

Solar panels and electricity

Panels on the roof of a legal building, for your own consumption, are works on an existing building. A ground-mounted array is a different thing. The city of Palencia (Castile and León) processed a 2025 photovoltaic installation on rustic land as an exceptional-use authorisation (file 2025-16255). In Andalusia, Article 12 of the Renewable Energy Act (Law 2/2007) charges renewable generation on rustic land 10 % of the planned investment: on a €60,000 installation, €6,000.

On "off-grid": solar panels do not make an illegal house legal. And the distribution company connects buildings that have the paperwork, which is why buyers are often told a house "can't have mains electricity": see utility connections in rural Spain.

A well

Two separate permissions: the works (municipal) and the water (river basin authority). Explained in wells and water rights.

Glamping, yurts, rural tourism, events

These are not farming. They go down the exceptional route and, in addition, need registration with the regional tourism authority. Córdoba's provincial gazette shows what approvals look like: rural accommodation in Hinojosa del Duque (2023, polygon 48, plots 520 and 521), a rural hotel in Posadas (2024, polygon 3, plot 50), and the celebrations venue approved in December 2025. In a 2025 notice for an events hall on polygon 17 (BOP-A-2025-2963), the council wrote into the approval that it does not replace the municipal building licence.

Tents and yurts are a frequent trap. A structure used for paying guests, even a removable one, is a tourist use of rustic land. A private campsite on rustic land without permits also causes trouble at the Land Registry: in 2026 the Navalcarnero no. 2 registrar refused to register the sale of a share in a rustic plot on which a private campsite was operating (the case was published in the Official State Gazette as BOE-A-2026-21295).

Living in a caravan or mobile home

Parking a motorhome on your land for a weekend is not building. Living in it is using the land as a home. Spain's Supreme Court ruled in judgment 1917/2024 of 5 December that a mobile home is equivalent to a prefabricated house when it comes to needing a licence. If a house is not allowed on that plot, a caravan used as a permanent home is not allowed either. The details, including what one regional authority told owners in 2022, are in prefab and mobile homes on rustic land.

Building a house to live in

Two kinds of house are possible in some regions:

  • A house linked to a farm (agricultural, livestock or forestry). You must show a real holding.
  • A house not linked to a farm. Andalusia and Valencia allow it with a minimum plot and conditions against creating new settlements; Valencia's rule is one hectare per house and 2 % coverage, so a 10,000 m² plot allows a 200 m² footprint. Other regions barely allow it outside existing rural settlements.

If the plot has a ruin, rebuilding may follow different rules: see rebuilding a ruin on rustic land.

Three regions, three procedures

Andalusia: ordinary and extraordinary actions

Andalusia's planning law (LISTA, Law 7/2021) divides works on rustic land into ordinary actions (Article 21: farming, livestock, forestry, hunting and other rational uses of natural resources that do not change the rustic nature of the land, plus water and renewable energy uses, among others) and extraordinary actions (Article 22: uses of public or social interest). Ordinary actions need a licence or, for the acts listed in Article 138, a sworn notice. Extraordinary actions need a prior authorisation from the town council and only then a licence.

Article 22.5 adds a compensatory payment (prestación compensatoria), developed in Article 35 of the implementing regulation (Decree 550/2022): 10 % of the construction budget, excluding machinery and equipment. Town halls may lower it by bylaw. Montilla, Vélez-Rubio and Roquetas de Mar (bylaw published in the Almería provincial gazette no. 117 of 20 June 2025) have their own.

What it costs on a €180,000 rural guesthouse:

ItemCalculationAmount
Compensatory payment at the general rate€180,000 × 10 %€18,000
If the bylaw halves the rate€180,000 × 5 %€9,000
Construction tax (ICIO), legal maximum€180,000 × 4 %up to €7,200

Add the licence fee, architect's fees and any environmental assessment. These are costs on top of the price of the land, and the €9,000 difference depends on a municipal bylaw you can download before you make an offer.

Castile and León: permitted, subject to authorisation, prohibited

The regional Planning Act (Law 5/1999, Articles 23.2 and 25) and its regulation (RUCyL, Decree 22/2004) list exceptional uses in Article 57 and assign them, by category of rustic land, to one of three regimes in Article 58: permitted, subject to authorisation, or prohibited. Articles 306 to 308 set the procedure: the authority must accept that there is a public interest and that the use needs to be on rustic land. That authorisation comes before the licence. A published example of the ordinary route is a December 2025 municipal technical report in Burgohondo (Ávila) on a farm storage building on polygon 21, plot 413, in common rustic land.

Galicia: a closed list

Galicia's Land Act (Law 2/2016) lists permitted uses on rustic land in Article 35.1 and declares every other use prohibited; Law 5/2025 amended part of the list from 1 January 2026. Under Article 36.1 those uses need only the municipal licence or prior notice, in any category of rustic land; Article 36.2 sets out the cases that also need a regional planning authorisation, including specially protected land. You apply at the town hall (concello) and the regional authority decides.

Valencia, briefly

In the Valencian Community the planning code (TRLOTUP, Legislative Decree 1/2021) lists permitted uses on non-developable land in Article 211.1; several of them need a declaration of community interest (declaración de interés comunitario, DIC) with public consultation and a fee for using the land. A new Valencian Land Act was approved as a bill in September 2026 and is going through the regional parliament; as of 2 November 2026 the TRLOTUP applies.

Before the deposit: get it in writing

  1. Identify the plot by polygon and parcel number in the Cadastre.
  2. Find the land class and category in the regional planning viewer or the national SIU viewer: see the SIU planning viewer.
  3. Read the table of uses for that category in the municipal plan, with its conditions (minimum plot, coverage, height, distances).
  4. Ask the town hall for a planning certificate (certificado or cédula urbanística), naming the exact activity: "rural guesthouse of 150 m² with six rooms", not "what can I do here?". See the planning certificate.
  5. Search the provincial gazette for "actuación extraordinaria", "uso excepcional" or "interés comunitario" plus the municipality's name. You will see what has been approved nearby and how long it took.
  6. Make the purchase conditional. If your use needs the exceptional route, write the approval into the deposit contract (contrato de arras) as a condition, with a deadline and the return of the deposit if it is refused.

If you do not speak Spanish, a local architect (arquitecto) or planning lawyer (abogado urbanista) can file the certificate request and read the reply. Ask for the reply in writing: a phone call with a town hall technician is not a document you can rely on later.

Check the land class and constraints on your parcel in a TerrenoCheck report, from €29 → · See a sample report

If the answer is bad

The plot is protected and your use is prohibited. No licence changes that. Pay the price of farmland or woodland, not of a project.

The use is possible, but only by the exceptional route. Budget the time (the Córdoba file opened in 2023 was approved in December 2025, before the licence) and the money (up to 10 % of the build cost in Andalusia). Negotiate the price, or make the approval a condition of the purchase.

The useful part of the plot is too small. A protected strip may not count towards the minimum. Have a surveyor measure the area of the usable category, not the total in the Cadastre.

There are existing buildings without permits. Deal with those first; they affect the sale, the mortgage and future licences.

The town hall refuses. Refusals can be appealed administratively or in court. Ask first what change would make a yes possible: smaller floor area, a different position, or linking the use to a farm.

What the report covers

A TerrenoCheck report shows, for the plot you select on the map, the cadastral parcel on aerial imagery, the land classification where it is published, protected areas, watercourses and flood zones, drove roads, public forests and other constraints, each with its source and date. It tells you what kind of land you are on and which layers restrict it. It does not interpret your municipal table of uses for your specific project, does not apply for permits, and is not legal advice or a valuation.

Select your plot and order a TerrenoCheck report (€29, or €39 in Spanish and English) → · See a sample report

Already have a plot in mind?

Find it on the map, confirm the boundary and get the report as two PDFs (100 pages in English and 99 in Spanish in the sample report; the length of each order depends on the plot), with its sources and dates.

Check a plot

Frequently asked questions

The listing says "planning potential". What does that mean legally?

Nothing on its own. Ask which use, under which article of the municipal plan, and whether it needs the exceptional route. Then ask the town hall for a planning certificate naming that use.

Can I put up a yurt or bell tents for paying guests?

That is tourist accommodation on rustic land: an exceptional use plus regional tourism registration. Being removable does not change the use.

Can I keep horses on rustic land?

Grazing is a normal rural use. Stables, arenas and fencing are structures and need a licence or sworn notice; the plan may set distances from homes and villages.

I want to live there while I farm it. Is that easier?

Often, yes: a house linked to a genuine farm is the oldest accepted case. You will have to prove the farm, and the house remains tied to that use.

Who decides, the town hall or the region?

It depends on the region. In Andalusia the town council gives the prior authorisation; in Galicia some cases need a regional authorisation; in Valencia the DIC is regional. The licence is always municipal.

Sources

SourceWhat it backsChecked
Royal Legislative Decree 7/2015, TRLSRU, Article 13.1article text as cited in the Murcia regional gazette, borm.es, accessed via search engine 2.11.20262 Nov 2026
Autonomous City of Melilla, BOME-P-2026-3074 (livestock installation of public or social interest)accessed via search engine 2.11.20262 Nov 2026
Restrictive reading of public or social interest in case law2.11.2026 (secondary source)2 Nov 2026
Córdoba provincial gazette, 13.1.2026, no. 7, BOP-A-2025-45624.9.2025, BOP-A-2025-2963, bop.dipucordoba.es; Hinojosa del Duque (2023) and Posadas (2024) notices at bop.dipucordoba.es, accessed via search engine 2.11.20262 Nov 2026
Andalusia Law 7/2021 (LISTA), Articles 21, 22, 22.5 and 138Decree 550/2022, Article 35, accessed via search engine 2.11.20262 Nov 2026
Compensatory payment bylaws: MontillaRoquetas de Mar, roquetasdemar.es; Vélez-Rubio, velezrubio.org, accessed via search engine 2.11.20262 Nov 2026
Andalusia Law 2/2007 on renewable energy, Article 12accessed via search engine 2.11.20262 Nov 2026
City of Palencia, file 2025-16255accessed via search engine 2.11.20262 Nov 2026
Castile and León Law 5/1999, Articles 23.2 and 25; Decree 22/2004 (RUCyL), Articles 56–65 and 306–308Burgohondo municipal technical report of 4.12.2025, burgohondo.es, accessed via search engine 2.11.20262 Nov 2026
Galicia Law 2/2016, Articles 35, 36 and 38Xunta Consultiva report XCP-23-040, territorioeurbanismo.xunta.gal, accessed via search engine 2.11.20262 Nov 2026
Valencian Legislative Decree 1/2021 (TRLOTUP), Articles 211, 219 and 223regional planning directorate query C-41/24 (Xeraco), mediambient.gva.es, accessed via search engine 2.11.20262 Nov 2026
Almonte bylaw URB/03 on tool shedsaccessed via search engine 2.11.20262 Nov 2026
Royal Legislative Decree 2/2004 (local finance), Article 102.3, ICIO maximum 4 %, 1.11.2026 (source and date in the TerrenoCheck guide on building permits)1 Nov 2026
Supreme Court judgment 1917/2024 of 5 December (appeal 7459/2022), source and date in the TerrenoCheck guide on prefab homes, 1.11.20261 Nov 2026
Directorate General for Legal Certainty and Public Faith, decision on the Navalcarnero no. 2 Land Registry, BOE-A-2026-21295accessed via search engine 2.11.20262 Nov 2026

This guide is general information on the rules in force on the date checked. It is not legal advice: for a specific purchase, ask a lawyer or the notary.

Written and reviewed by the TerrenoCheck team (Kandyb Studio - Paweł Kandybowicz, responsible for the content). Each statement is checked against the official source linked in the table, on the date shown. If you find a mistake, write to us and we will correct it.