The basic legislation regulating real estate law is contained in the Royal Decree of 24 July 1889, which approved the Spanish Civil Code. Mortgage legislation was established in the Decree of 8 February 1946, which approved the Spanish Mortgage Law, and the Decree of 14 February 1947, which approved the Mortgage Regulations.
The basic legislation regulating real estate law is contained in the Royal Decree of 24 July 1889, which approved the Spanish Civil Code. Mortgage legislation was established in the Decree of 8 February 1946, which approved the Spanish Mortgage Law, and the Decree of 14 February 1947, which approved the Mortgage Regulations.
The legislation governing urban leaseholds is the Spanish Urban Leasehold Law 29/1994, of 24 November. Real estate law covers the main laws governing real estate ownership and letting in Spain. However, other related regulations should be considered, such as local regulations applicable in some regions (e.g., in Catalonia, where there are specific laws regulating real estate rights).
For planning and zoning law, the Royal Legislative Decree 7/2015, of 30 October, which approved the consolidated text of Land and Urban Redevelopment Law, should be considered.
The environmental regulations regarding polluted land are mainly foreseen in the Law 7/2022, of 8 April, about waste and polluted land.
The right of ownership is the most common right in real estate transactions, whereby the owner holds all the legal powers to be exercised over a given asset. However, Spanish law also includes other types of rights that, without covering such broad powers as the right of ownership, are usually taken into consideration by economic operators for certain commercial activities. These include surface rights regulated in State land legislation passed by Legislative Royal Decree 7/2015, of 30 October, by which the Consolidated Land and Urban Regeneration Law was approved. According to this law, surface rights are defined as rights in rem enabling buildings or structures to be constructed in the airspace above and the ground beneath another property, while the holder of the surface rights maintains temporary ownership of the buildings or structures built, notwithstanding the separate ownership of the land. For these surface rights to be valid, they must (i) be executed in a notarial deed and registered at the Property Registry, and (ii) establish a term for such surface rights not exceeding 99 years. Surface rights may only be created by the owner of the land, whether a public or private entity.
Another right generally used in Spain is the administrative concession, which is a legal transaction whereby the public authorities grant one or several rights over, or obligations in relation to, public property.
The administrative concession concept may be analyzed from two different perspectives: (i) the concession of public domain regulated in the Law 33/2003, of 3 November, of Property of the Public Administration; and (ii) the administrative concession contracts, regulated in Law 9/2017, of 8 November, of Public Procurement.
Lastly, a right that does not appear frequently in real estate transactions is usufruct, whereby the owner of an asset grants the use and enjoyment of it to a third party. Regarding the existing restrictions on real estate ownership, the right of ownership is defined in Article 348 of the Spanish Civil Code as the right to "enjoy, use and dispose of a thing, with no limitations other than those established by laws". This definition means that the right of ownership is not an absolute right and is limited by legal provisions.
There are limitations regulated in private law, such as the Spanish Civil Code, Spanish Mortgage Law, etc., whereby the right of ownership may be limited. For example, in accordance with Article 26 of the Spanish Mortgage Law, the following are considered to be prohibitions relating to disposition and alienation:
In addition, other types of restriction on ownership involve those included in administrative law whereby reasons of public interest prevail over private ownership. This would be, for example, in the case of compulsory purchase, where the deprivation of ownership is due to reasons of public use entailing the recognition of a right to compensation for the owner of the property subject to compulsory purchase. Another instance would be where the building in question has a historic value, which would prevent it from being purchased by a private operator. In both cases, the right of ownership would be limited.
Another limitation on the right of ownership in real estate transactions in Spain lies in the urban planning legislation of each autonomous community and the urban planning rules of each municipality.
Urban planning legislation, both at autonomous community and municipality level, in the latter case implemented through municipal planning regulations, implies a limitation on the powers inherent to the right of ownership and on the building rights over a piece of land. This is due to the fact that it regulates the maximum buildable volume calculated by reference to the use, the free and green spaces per square meter to be granted as part of the planning obligations relating to the ownership, including limitations on uses and the establishment of technical and construction conditions relating to specific buildings.
In addition, there is the industry-specific legislation, which, together with the urban planning legislation, also limits the right to build (for example, where a residential area was to be built in an avigation or road easement zone). In these instances, despite having ownership of the land, it may not be built on or, where this is possible, there are limits to construction.
The Property Registry is a public registry that falls under the Spanish Ministry of Justice. Each registry is headed by a registrar and has a specific territorial scope.
Any acts affecting ownership or rights in rem over public or private real estate are registered at the registry.
Certain administrative concessions and public property can also be registered.
The Property Registry provides legal certainty regarding the rights registered and helps ensure that legal dealings are secure and run smoothly.
The principles governing the functioning of the Property Registry are as follows:
In addition, registration at the Property Registry results in the following most significant effects:
Lastly, the Cadastral Registry is an administrative registry managed by the Ministry of Finance. The Cadastral Registry contains a description of the real estate properties for tax purposes.
Historically, there was usually no coordination between the Property Registry and the Cadastral Registry so that it was, and still is, possible for the surface area of a property registered at the Property Registry to be different from that registered at the Cadastral Registry.
Spanish Law currently establishes a system of coordination between the Property Registry and the Cadastral Registry to ensure that the first includes a graphical georeferenced description of the registered properties.
The notary plays an essential role in real estate transactions in Spain. In accordance with current legislation, only notarial documents may be registered at the Property Registry.
Although the sale and purchase of a property is usually first instrumented in a private document, in order for it to be registered and for its owner to be legally protected vis-a-vis third parties, it must be executed in a notarial deed.
The notary confirms that the transaction complies with all the legal requirements as the parties' ability, among others.
Before executing the sale and purchase of real estate, the following issues should be ascertained (preferably with the assistance of an attorney), among others:
In accordance with the Civil Code (and without prejudice to other provisions under local regulations), the seller is liable to the buyer for the legal and peaceful possession of the item sold and any flaws or defects it may have and, therefore, the buyer may seek liability due to breach of the contractual terms of the sale and purchase and due to hidden flaws. As regards hidden flaws in buildings, reference should be made to Building Law 38/1999, of 5 November, and the timeframes it stipulates. The purpose of this law is to regulate essential aspects of the building process by establishing the obligations and responsibilities of the parties involved in the process (developer, architect/technical architect, and builder). Additionally, it also regulates the guarantees required to carry out the process correctly, to ensure quality through compliance with basic building requirements and sufficient protection of the users' interests.
In all other respects, whatever cannot be verified in this regard should be included in the representations and warranties; otherwise, unexpected losses could be caused for the buyer.
From the seller's perspective, as in the case of all representations and warranties, an attempt will be made to negotiate the price by restricting or broadening the related clauses of the representations and warranties.
In real estate sales and purchases, the seller undertakes to hand over the property and the buyer to pay a price. Although ownership is transferred merely by agreement between the parties, price may be deferred and so, while the buyer immediately becomes the owner, it may take time for the seller to receive the entire price.
There are various systems for securing payment of this deferred price, which most notably include personal guarantees and in rem guarantees (such as mortgages).
In personal guarantees, the price is secured by a third party.
A mortgage, used very frequently in Spain, is a security interest created directly in others' disposable real estate, enabling the mortgage creditor to realize the value of the real estate in the event of breach of the principal obligation, such as the sale and purchase of the real estate, whether it be the real estate on which the mortgage is created or another piece of real estate. The registration of the mortgage at the Property Registry renders it effective, as compared to other legal transactions. If the mortgage debtor stops paying the instalments, the mortgage creditor may realize the value of the real estate in order to receive the price.
In accordance with the Urban Leasehold Law, there are two types of property leases: (i) a residential housing lease, and (ii) a lease for other uses. The latter encompasses leases of urban properties entered into for periods and those executed to carry on an industrial, commercial, professional, or other activity at a property.
One of the main differences between the legal regime governing residential housing leases and leases for other uses is the protective nature of the regulations for housing leases. Leases for other uses are governed in general by free will.
In practice, leases entered into in real estate other than housing transactions mostly have the following characteristics:
In addition, there are some aspects that do not generally arise, but which are regulated in the Urban Leasehold Law, such as mortis causa transfer by subrogation to the heir or legatee who continues to carry on the activity or the lessee's right to indemnification for loss of customers.
Real estate leased for agriculture, farming or forestry are regulated separately in Law 49/2003, of 26 November.
Royal Legislative Decree 7/2015, of 30 October, establishes the basic regulations regarding urban planning to be developed by the autonomous communities and the municipalities on their own powers.
Law 38/1999, of 5 November, regarding Building Regulation establishes (i) the technical and administrative requirements applicable on building, (ii) the agents involved in the construction; and (iii) guaranties and responsibilities that should be taken by the agents.
Additionally, a series of authorizations and permits in Spain are required to carry out economic activities and to build the facilities needed to perform them.
Acts which require a planning permit include building and construction works, and the installation of all types of new facilities and extensions thereto. In this case, urban planning legislation is the determining legislation when it comes to the granting of these permits by the municipal authorities, as the planning rules included in the municipal plan determine the planning limits (permitted uses, permitted volume, etc.) and construction terms and conditions (facade, distances, etc.) of the facilities to be built.
Once the corresponding building permit has been obtained and the building work completed, a first occupancy permit must be obtained, which verifies that the work completed complies with the building permit granted by the municipal authorities.
In order to carry out the activity, it is also compulsory to obtain an activity permit and, according to the type of activity to be carried out, another type of authorization may be required, such as the integrated environmental authorization granted by the environmental departments of autonomous communities, besides other types of authorizations required by industry-specific legislation.
Having obtained the activity permit, an opening permit may be also necessary to verify that the activity will be carried out in suitable conditions of habitability and used for the particular activity in question.
There is a variety of legislation on pollution in Spain although, for the purposes of real estate transactions, of particular note is the following, notwithstanding applicable local laws:
On the other hand, the owner of a property who wishes to sell or rent must obtain an energy efficiency certificate to be issued by a professional with the suitable academic and professional qualifications (architect, technical architect, etc.). This requirement arises from European Directives.
The taxes which are generally the most significant in real estate transactions are:
Agustín is a partner and head of real estate law at Deloitte Legal Spain, as well as a professor of law at ESADE – Ramon Llull University, and a member of the Barcelona Bar Association. Before joining Deloitte Legal Spain, Agustín has been a lawyer at other national and international law firms and has served as secretary and vice-secretary of the board of directors in different companies. He has also been published as author/co-author in several legal publications.
Opens in new window