Guide · Licences and legality

Can you put a prefab or mobile home on rustic land in Spain? Licence, minimum plot and the risk of skipping it

11 min · Updated

A prefab or modular home on rustic land in Spain needs a licence like any house. Minimum plots by region, Valencia's one hectare and the risks without one.

In this article

The plan usually arrives with the same reasoning attached: it has no foundations, it sits on blocks, it can be lifted off in a day, so it is not a building. Modular-home and mobile-home sellers say it, and so do expat forums. Spanish national law rules it out in one line, and the Supreme Court ruled it out again in December 2024.

One part of the answer has no "it depends": every prefabricated home needs a municipal licence. The part that does depend, whether that licence can be obtained on a particular piece of rustic land, is decided by the law of the region (comunidad autónoma) and the plan of the municipality, and you can check it before you buy.

This is a screening guide, not legal advice. On any specific plot, the town hall (Ayuntamiento) has the final word.

The national rule: an express licence, and silence means no

Spain's consolidated Land and Urban Renewal Act (Texto Refundido de la Ley de Suelo y Rehabilitación Urbana, TRLSRU, Royal Legislative Decree 7/2015) sets the general regime for anything done on land in article 11. Paragraph 4 lists the acts that can only go ahead with an express authorisation, where the town hall's silence counts as a refusal. Among them:

  • letter b), new building works and installations;
  • letter c), "the placing of prefabricated houses and similar installations, whether temporary or permanent".

"Temporary or permanent" disposes of the argument that something removable is not a house: letter c) draws no line at foundations, only at placing the house on the land.

The Supreme Court applied letter c) to mobile homes in judgment 1917/2024 of 5 December 2024 (cassation appeal 7459/2022). A campsite in Tarragona wanted to legalise its mobile homes; the town hall refused and the Court set doctrine: a mobile home is equivalent to a prefabricated house for the purpose of requiring a planning licence, and the campsite's business licence does not replace it. If that holds for a campsite, where the use is authorised, it holds even more for a private rustic plot.

A real case from Cáceres

The advisory service the Cáceres provincial council runs for small municipalities (SAAEL) answered a town hall in August 2022 that had asked whether a resident could put a light wooden mobile home on his private rustic land. The report of 31 August 2022 concludes that the installation needs a municipal licence, and that residential use requires it even when the home is mobile or temporary. It is a public document, and it is what you will hear in almost any Spanish town hall.

Prefabricated does not mean no architect

The Building Act (Ley 38/1999 de Ordenación de la Edificación, LOE) requires a technical project for new buildings. Its article 2.2.a) exempts only minor, technically simple structures on one floor that have no residential or public character, "whether occasional or permanent". A house you live in is residential, so it is not exempt, even if a factory built it and a lorry delivered it.

In practice:

  1. A Spanish-registered architect draws up the basic project (proyecto básico), which goes in with the licence application, and then the execution project (proyecto de ejecución), adapting the manufacturer's model to the site: foundations or supports, drainage, water and power connections or off-grid systems.
  2. The execution project must be stamped by the architects' professional association (visado). Royal Decree 1000/2010, art. 2.a), makes it compulsory for building execution projects. The basic project does not need it.
  3. You pay the municipal construction tax (Impuesto sobre Construcciones, Instalaciones y Obras, ICIO) on the construction budget, at a rate each town sets up to a cap of 4% (art. 102.3 of the consolidated Local Finance Act). Soria's tax bylaw no. 21, for example, sets 3.90%: a modular home with a €90,000 construction budget pays €3,510 in ICIO, plus the licence fee.
  4. Without a licence, the new building cannot be recorded at the Land Registry (art. 28 TRLSRU). Unrecorded, it does not exist for a mortgage lender or a future buyer.

If you are importing a modular home from another country, the architect also has to show it meets Spain's Building Technical Code (Código Técnico de la Edificación) for your climate zone: insulation, structure, fire. A manufacturer's certificate from elsewhere helps, but the Spanish project is what the town hall reads.

Sellers advertising "no licence needed" usually mean the product complies with technical standards. That is useful for the project. It does not replace the licence.

Where it can work: your region decides

Rustic land (suelo rústico, called suelo no urbanizable in some regions) is, by definition, land the plan keeps out of development. A free-standing house on it is an exception, and each region writes its own. Three very different models:

Valencia region: one hectare and 2%

The Valencian planning code (TRLOTUP, Legislative Decree 1/2021) allows a "detached family house" (vivienda aislada y familiar) on non-developable land as an exceptional use, in art. 211.1.b), on conditions you can calculate:

  • minimum plot of one hectare per house, 10,000 m²;
  • maximum footprint of 2% of the plot;
  • at least half the plot unbuilt and in genuine farming or forestry use;
  • water supply, waste and wastewater treatment guaranteed.

The arithmetic: 10,000 m² × 2% = 200 m² of footprint at most. A 6,000 m² plot does not qualify however cheap it is, and buying it jointly with someone else to "add up" changes nothing, because the hectare is per house. A municipal plan can be stricter.

Two rulings by the regional planning directorate show where buyers trip. In Xeraco (query C-41/24, 10 October 2024), the part of a plot classed as protected non-developable land did not count towards the hectare. In Busot (C-63/22, 22 February 2024), the dispute was over which area the 2% applies to when the registered property and the cadastral parcel do not match. Both are published on mediambient.gva.es.

In September 2026 the Valencian government approved a bill for a new regional Land Act that will replace the TRLOTUP; the regional parliament is handling it by urgent procedure and the text may change. As of 2 November 2026 the TRLOTUP applies: check whether the new act is in force before you buy.

Andalusia: prior approval, no fixed hectare in the law

Andalusia's Law 7/2021 (LISTA), art. 22.2, quoted in art. 31.1 of its implementing Regulation (Decree 550/2022), says detached single-family homes not linked to a farm "may be authorised" on rustic land "provided they do not lead to the formation of new settlements". That is not a direct licence. You first need a prior authorisation from the town hall, with its own file and public consultation, and only then the building licence. Approvals are published in the provincial gazette; the Córdoba gazette (BOP) carries several from 2025 and 2026.

What the law does not contain is a single minimum plot size. Each municipality's general plan sets it, so the same 5,000 m² can be viable in one municipality and not in the next.

Galicia and Catalonia: the village route

In Galicia, the Land Act (Ley 2/2016) lists the uses allowed on rustic land in art. 35 and prohibits everything else; Law 5/2025 changed part of the list from 1 January 2026. In Catalonia, the consolidated Planning Act (Legislative Decree 1/2010) bans urban-type subdivision on non-developable land and focuses residential exceptions on restoring catalogued farmhouses (masies).

If your plot is in another region, the method is the same: find the article on exceptional uses on rustic land in the regional act, then the zone sheet in the municipal plan.

What happens if you install it without a licence

Three routes, which can run at the same time.

Planning enforcement. The town hall, or the region on protected land, opens proceedings to restore legality: an order to remove or demolish, and a fine. A prefab is easier to remove than a masonry house, which makes the order more likely to be carried out. In March 2025 a prefabricated house on a rustic estate in Mallorca was demolished, as Última Hora reported.

Criminal. Article 319.2 of the Criminal Code punishes developers, builders or directing technicians who carry out building works that cannot be authorised on non-developable land with one to three years in prison, a fine of twelve to twenty-four months and a professional ban. Art. 319.3 lets the judge order demolition at the offender's expense. "Cannot be authorised" is the key: if the house could never have been licensed, this is no longer a missed formality.

Registry and resale. No licence means no recorded building, no mortgage on it and no reliable insurance. When you sell, the buyer inherits the problem. Art. 28.4 TRLSRU lets older buildings be recorded once the time limit for enforcement has run out, but those limits are regional, and on protected land there is often none. Buying a house already in that position is covered in illegal house on rustic land.

Before you buy the land: four checks, in order

  1. Land class and category. On the national planning viewer (SIU) or the regional one. "Rustic" is not enough: you need the category (common, special protection, agricultural protection…). Protected usually closes the door.
  2. Zone sheet in the municipal plan. Minimum plot, footprint, height, setbacks from boundaries and tracks, and whether a house not linked to a farm is allowed. If the town has no up-to-date general plan, the regional law and older subsidiary rules apply.
  3. Real area, in one piece. Compare the Cadastre area with the Land Registry extract (nota simple); if two parcels have to be added together, check they adjoin and are in the same category. Xeraco is the cautionary case.
  4. A written answer from the town hall. A planning report or certificate on whether a detached house fits on that plot. Each town hall sets its own timescale and fee; see planning certificate.

If the seller agrees, put a condition precedent (condición suspensiva) in the deposit contract (arras): the sale goes ahead only if the town hall's report is favourable, with a deadline long enough to receive it. Promises from a seller or estate agent that "the town hall turns a blind eye" are worth nothing once the town hall changes its mind, or a neighbour complains.

The land class, the cadastral area and the protection layers that reduce the countable area are in a TerrenoCheck report for your plot, with source and date, for €29. The town hall's report has to be requested separately. Pin the plot on the map → · See a sample report

If the answer is bad

  • The land is specially protected. No house, modular or otherwise. If the price was justified by "you can put a module here", negotiate it as farm or forest land, or walk away.
  • Not enough land. With a one-hectare minimum (10,000 m²) and a plot of 8,000 m², the only route is buying adjoining land of the same category and merging the properties before applying. Check that the neighbour's land is not protected: in Xeraco that part did not count.
  • The town says no detached house. Ask which uses the zone does allow: farm store, tool shed, farm installations. None of them can later be lived in after a simple notice.
  • You have bought and the house is already there. Get advice before enforcement starts. Removing it voluntarily usually costs less than a demolition order with a fine, and avoids the criminal risk under art. 319 of the Criminal Code.
  • You still want that house. Look for an urban plot or a rural settlement zone (núcleo rural) where housing is a permitted use. A modular house installs the same way there, with an ordinary licence and without the uncertainty of rustic land. Ask the manufacturer whether the model has been approved before in that region; it saves the architect time.
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

Can I live in a caravan on my own land while I build?

Living in it on a stable basis is residential use, and the 2024 Supreme Court ruling treats a mobile home like a prefabricated house. Some town halls allow a caravan on site during works covered by a licence; ask for that in writing as part of the licence, not afterwards.

Is a tiny house on wheels treated differently?

Not if it stays in place and someone lives in it. Wheels and a registration plate do not change the use of the land, which is what art. 11.4.c TRLSRU looks at.

Does a garden shed need the same licence?

A tool shed (caseta de aperos) is not a home, and many bylaws allow one with a simpler licence or declaration, with a size cap and no residential use. Add a bed and a bathroom and it stops being a shed.

If the town hall does not reply, can I go ahead?

No. For prefabricated houses, art. 11.4 TRLSRU makes silence a refusal.

Can I buy the land jointly with someone to reach the minimum plot?

Not if each of you wants a house. In the Valencia region the minimum is per house, and splitting the use of a rustic property among co-owners can amount to an illegal subdivision; see our guide to buying a share of rustic land.

Will a Spanish bank lend on a prefab home on rustic land?

Only once it is licensed and recorded at the Land Registry as a building; before that there is nothing for the bank to take as security beyond the land itself.

Sources

SourceWhat it backsChecked
Royal Legislative Decree 7/2015, consolidated Land and Urban Renewal Act, arts. 11 and 28consulted via search engine on 1 Nov 20261 Nov 2026
Supreme Court, Third Chamber, judgment 1917/2024 of 5 December, appeal 7459/2022 (summary at), 1 Nov 20261 Nov 2026
Diputación de Cáceres, SAAEL, report of 31.8.2022 on a mobile home on private rustic land1 Nov 20261 Nov 2026
Building Act, Ley 38/1999, art. 2.21 Nov 20261 Nov 2026
Royal Decree 1000/2010 on compulsory professional stamping, art. 2and Ministry of Finance note, hacienda.gob.es, 1 Nov 20261 Nov 2026
Local Finance Act, RDLeg 2/2004, art. 102.31 Nov 20261 Nov 2026
Soria City Council, tax bylaw no. 21 (ICIO), art. 51 Nov 20261 Nov 2026
Legislative Decree 1/2021, TRLOTUP (Valencia region), art. 211, DOGV 16.7.2021accessed via search engine 2 Nov 20262 Nov 2026
Valencian Land Act bill (September 2026, urgent procedure): elDiario.esesdiario, esdiario.com, accessed via search engine 2 Nov 2026 (secondary)2 Nov 2026
Generalitat Valenciana, planning directorate, queries C-41/24 (Xeraco) and C-63/22 (Busot)and mediambient.gva.es, 1 Nov 20261 Nov 2026
Andalusia, Law 7/2021 (LISTA) and Decree 550/2022, art. 31.1, as quoted in the Córdoba provincial gazette1 Nov 20261 Nov 2026
Galicia, Ley 2/2016, art. 35; amending Law 5/2025, 1 Nov 20261 Nov 2026
Criminal Code, Organic Law 10/1995, art. 3191 Nov 20261 Nov 2026
Última Hora, prefabricated house demolished on a rustic estate in Mallorca, 2 March 20251 Nov 20261 Nov 2026
eldiario.es on the Valencian Land Act bill (2026)1 Nov 20261 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.