Authorities in Málaga province have launched a crackdown on illegal mobile homes placed on rural land, warning owners they could face fines, demolition orders, and even suspended prison sentences.
The operation, known as Operation Murus, is being coordinated by the environmental prosecutor’s office together with the Guardia Civil, as officials attempt to tackle a rapid rise in so-called casas móviles across parts of the Costa del Sol hinterland.
Authorities say the initiative forms part of Operation Murus, an investigation led by the Guardia Civil’s environmental unit SEPRONA under the direction of Málaga’s environmental prosecutor. The operation has already resulted in 125 people being investigated and 62 suspected urban planning offences uncovered across the province, mainly involving illegal construction on rural land.
Prosecutors say many of these homes are being installed on agricultural land where permanent residential use is not permitted under Spanish planning laws.
Why mobile homes are appearing across rural Málaga
Mobile homes and prefabricated units have become increasingly popular in recent years as property prices rise across the province.
New models can cost around €50,000, with second-hand options available for much less. They typically include a bedroom, kitchen, bathroom and living area, making them a relatively quick and affordable alternative to traditional housing.
In areas such as the Valle del Guadalhorce — including Cártama, Alhaurín de la Torre and Alhaurín el Grande — local authorities say the number of installations has increased sharply.
However, many are placed on suelo rústico (rural land), where planning rules strictly limit residential use.
When a “mobile” home becomes illegal
According to Málaga’s environmental prosecutor, Fernando Benítez, the legal issue is not the type of structure but how the land is being used.
Even if a home is prefabricated or technically movable, it may still be considered a permanent dwelling if it is installed for residential use.
That means planning permission is required, and placing the structure on rural land without authorisation can constitute a breach of planning regulations.
Benítez also warned that some companies marketing mobile homes mislead buyers by claiming no permit is needed, something prosecutors say is incorrect.
Environmental and infrastructure concerns
Authorities say the rapid spread of these homes is creating environmental and infrastructure problems in some areas.
In several cases, installations have included unregulated electricity connections, water supplies and septic systems, which can cause soil contamination and pollution.
Local councils also report increased traffic on narrow rural roads and tracks, raising safety concerns and creating access problems for emergency vehicles.
Some structures have even appeared in flood-prone areas, where previous storms have already caused significant damage.
What owners could face
If courts determine that a mobile home has been installed illegally, owners may be ordered to remove the structure and restore the land to its original state.
In addition to demolition orders, penalties can include financial fines and, in more serious cases, suspended prison sentences of up to one year linked to planning offences.
Prosecutors say the goal of Operation Murus is not only enforcement but also prevention, working with municipalities and police to stop new illegal installations appearing.
A growing issue across southern Spain
The rise of mobile homes reflects a wider housing challenge in parts of Spain where property prices have surged, and affordable alternatives are scarce — an issue that has also fuelled the spread of illegal homes on rural land across parts of Andalucía.
But prosecutors say the legal framework remains clear: placing any dwelling on agricultural land without permission is considered a change of land use, regardless of whether the structure is labelled “mobile”.
Planning experts in Andalucía say many buyers wrongly assume that a mobile or prefabricated home does not require planning permission because it can technically be moved. In practice, Spanish courts usually treat any structure used for permanent living — particularly if it is connected to water, electricity or septic systems — as a dwelling that requires authorisation under local planning laws.
With enforcement now intensifying in Málaga, authorities warn that owners considering similar installations should check planning rules carefully before placing a home on rural land.
Can you legally live in a motorhome in Spain?