A property portal will show you four bedrooms, one bathroom and a pretty courtyard. What it will not show you is whether you are even allowed to keep horses on the land, whether the stable block has planning consent, or whether there is enough water for the pasture. With a finca, it is precisely these questions that determine whether a purchase makes sense for someone who keeps animals — not the number of bedrooms. This guide sets out the points you should check before buying a finca with stables in Spain.
Before buying a finca with stables, animal owners should check four things: whether keeping livestock is legally permitted on the land (its planning classification), the REGA registration of the stables, existing water rights for the pasture, and secure, legal access. If any one of these is missing, legalisation may be required — and it is not always possible.
Permitted use: may animals be kept on this land at all?
The first and most important step is to look at the planning classification (clasificación urbanística) of the plot. Not every rural plot in Spain automatically allows livestock or agricultural use to the extent you have in mind. Some parcels are designated as pure residential land (suelo urbano), others as rural land (suelo rústico) with specific conditions on stables, minimum distances from neighbouring plots or maximum stocking density.
Before you fall in love with a finca, have the local town hall (Ayuntamiento) or a local specialist lawyer confirm which uses are actually permitted under the cadastre and the planning rules. An attractive property description is no substitute for that check.
The REGA code: why it is decisive for stables
Anyone keeping horses, goats, sheep or other farm or riding animals in Spain has to deal with the Registro General de Explotaciones Ganaderas (REGA). The REGA code is the entry in the national register of livestock holdings, governed by Real Decreto 479/2004. Each autonomous community — for fincas in Catalonia, the Generalitat de Catalunya — issues its own holding code, which identifies the premises unambiguously.
Important: under the law, registration is a precondition before animals may be kept at all, and it is the responsibility of the holding's owner. When buying an existing finca, you should establish whether a REGA code already exists and whether it can be transferred on a change of ownership or has to be applied for afresh. Without a valid REGA registration, keeping animals legally and permanently is not possible — however sound the stable block may look.
Checking the legality of stables and pasture
A stable block that looks solid at first glance is not automatically a legal building. In Spain — as in many countries — there is a meaningful difference between the structures that have actually been built and what is recorded in the official building file (licencia de obra) and the cadastre. On older fincas it is not unusual for stables, barns or indoor schools to have been added later and without consent.
Before buying, you should therefore have the following checked: is the stable block recorded in the municipality's building file? Does the floor area entered in the land registry match what is actually there? And if not, is retrospective legalisation even an option? Ideally these questions should be resolved by a specialist local lawyer before any contract is signed.
Water rights: often underestimated, always essential
Pasture and stables need reliable access to water — for the animals, for irrigation and in part for cleaning out the stables. In many rural regions of Spain, Catalonia included, water is not a given but a legally regulated resource. It makes a considerable difference whether a finca has its own legally licensed well (pozo con concesión), whether it is connected to an irrigation system or the municipal network, or whether the water supply is unclear or informal.
Before buying, check exactly which water rights belong to the property, whether they are recorded in the land registry or with the competent water authority (Confederación Hidrográfica), and whether the available volume is realistically sufficient for the number of animals you plan to keep. A finca without a secure water supply is often unsuitable for keeping animals permanently, however attractive the asking price may look.
Access and services
The final point is often underestimated: access. For animal owners, a driveway that is passable all year round matters — for feed deliveries, horseboxes, the farrier or veterinary emergencies. Check whether access is secured via a public track (camino público) or via a private right of way (servidumbre de paso), which should be recorded in the land registry. A verbal assurance that you may cross a neighbour's land is legally risky and can turn out, in a dispute, to block access completely.
Why standard portals reach their limits here
Standard portals filter by rooms, square metres and plot size. For animal owners, those are not the decisive criteria. Whether a finca is genuinely suitable for horses, goats or sheep depends on planning permissibility, REGA eligibility, legal stables, secure water rights and dependable access — criteria that no standard filter captures. Caballoria-Immo selects listings on exactly those grounds and, where needed, also supports the legalisation of missing permits, including the REGA code.
Frequently asked questions
What is the REGA code and why do I need it?
The REGA code is the registration number of a livestock holding in the Spanish Registro General de Explotaciones Ganaderas. It is a legal requirement before animals may be kept, and it is issued by the relevant autonomous community.
Can I take over an existing REGA code when I buy?
That depends on the individual case. The registration often has to be amended or applied for again when ownership changes. Clarify this before buying with the competent authority or a specialist adviser.
What happens if a stable was built without consent?
Depending on the planning zone, retrospective legalisation may be possible, but it is not guaranteed. In some zones legalisation is ruled out from the start. A legal review before purchase is indispensable.
How do I find out whether a finca has water rights?
Water rights should be documented in the land registry or with the competent Confederación Hidrográfica. A local lawyer or surveyor can review these documents before you buy.
Is good access across a neighbour's land enough if there is no public track?
Only if that access is secured as a registered right of way (servidumbre de paso) in the land registry. A purely verbal arrangement offers no legal certainty.
Caballoria-Immo filters fincas and country houses in Catalonia by what really counts for animal owners — not by the number of bedrooms. We check permitted use, REGA status, water rights and access in advance, and we support you through legalisation. Talk to us about the property you have in mind.
This article is for general orientation only and does not replace legal, tax or veterinary advice. Rules and responsibilities differ by Comunidad Autónoma and can change. As of August 2026.