---
title: "Property Exchange Agreement Spain (Contrato de Permuta de Inmueble)"
url: "https://forms-legal.com/espana/real-estate/purchase-sale/property-exchange-agreement-spain"
description: "A Property Exchange Agreement Spain (Contrato de Permuta de Inmueble) is a bilateral contract governed by Articles 1538 to 1541 of the Código Civil español by which two parties (permutantes) mutually transfer ownership of real estate to each other — Party A transfers Property 1 to Party B, and Party B simultaneously"
language: "en"
jurisdiction: "Spain"
category: "Real Estate / Purchase & Sale"
primaryStatute: "Código Civil art. 1538–1541; Real Decreto Legislativo 1/1993 (ITP-AJD)"
dateModified: "2026-07-05"
maintainer: "Vladislav Sergienko, founder (not a lawyer)"
---

# Property Exchange Agreement Spain (Contrato de Permuta de Inmueble)

- Spain · Real Estate / Purchase & Sale
- Legal basis: Código Civil art. 1538–1541; Real Decreto Legislativo 1/1993 (ITP-AJD)

## What Is a Property Exchange Agreement Spain (Contrato de Permuta de Inmueble)?

A Property Exchange Agreement Spain (Contrato de Permuta de Inmueble) is a bilateral contract governed by Articles 1538 to 1541 of the Código Civil español by which two parties (permutantes) mutually transfer ownership of real estate to each other — Party A transfers Property 1 to Party B, and Party B simultaneously transfers Property 2 to Party A — without the primary consideration being a monetary payment, distinguishing the permuta (exchange) from the compraventa (sale and purchase) under Article 1445 CC. Article 1538 of the Código Civil defines permuta as 'un contrato por el cual cada uno de los contratantes se obliga a dar una cosa para recibir otra' — each contracting party commits to give one thing in order to receive another.

The Código Civil applies the rules of the compraventa to the permuta by analogy under Article 1541 CC: 'si uno de los contratantes hubiera recibido la cosa que se le prometió en permuta, y acreditase que no era propia del que la dio, no podrá ser compelido a entregar la que él ofreció en cambio, y cumplirá con devolver la que recibió.' The garantía de evicción (warranty of title) provisions of Articles 1475–1483 CC apply to both properties in a permuta — each party warrants that they have good title to the property they are transferring and that it is free of undisclosed encumbrances.

In practice, properties exchanged in a permuta in Spain are rarely of exactly equal value — a compensating monetary payment (compensación en metálico or precio suplementario) is typically agreed to equalise the exchange. The presence and proportion of the monetary payment determines the tax classification of the transaction: if the monetary payment exceeds the value of the property received in exchange, the Spanish tax authorities (Agencia Tributaria autonómica) may reclassify the transaction as a compraventa for tax purposes under the Real Decreto Legislativo 1/1993 (Texto Refundido de la Ley del Impuesto sobre Transmisiones Patrimoniales y Actos Jurídicos Documentados — TRLITPAJD).

The property exchange contract is particularly common in the Spanish urban development sector: the permuta de solar por obra (exchange of land for constructed units) is a standard development mechanism by which a landowner (propietario del solar) transfers a plot of land to a developer (promotor inmobiliario) and receives in exchange a number of completed apartments or commercial units in the building to be constructed on the land. This type of permuta is governed by Article 1538 CC and supplemented by the Ley del Suelo (Real Decreto Legislativo 7/2015, TRLSRU) provisions on land development rights.

From a property registration standpoint, a permuta of real estate in Spain requires a escritura pública (public notarial deed) executed before a Notario público and presented for inscription at the Registro de la Propiedad — the cancellation of each party's existing registration and the creation of new registrations in each party's favour are processed simultaneously in the folio of each property. The Registro de la Propiedad applies the principle of tracto sucesivo (continuous chain of title) under Article 20 of the Ley Hipotecaria — neither party can register the incoming property in their favour until the outgoing party's title is clear and the transfer deed is presented.

The Impuesto sobre el Incremento del Valor de los Terrenos de Naturaleza Urbana (IIVTNU — plusvalía municipal), governed by Articles 104–110 of Real Decreto Legislativo 2/2004 (Ley Reguladora de las Haciendas Locales), applies to both properties in a permuta — each transferring party must self-assess and pay the plusvalía to the Ayuntamiento of the municipality where their respective property is located within 30 days of the deed. The STS (Pleno) of 26 October 2021 (rec. 4983/2019) declared the previous calculation method partially unconstitutional and introduced a new calculation system; taxpayers may now choose between the traditional cadastral method and a direct calculation method based on actual capital gain.

## When Do You Need a Property Exchange Agreement Spain (Contrato de Permuta de Inmueble)?

A Property Exchange Agreement Spain is needed whenever two parties wish to transfer real estate to each other as mutual consideration, whether the exchange is of equal or unequal value, and whether or not a compensating monetary payment (compensación en metálico) is agreed.

A permuta de inmueble is needed when two families or individuals wish to exchange residential properties — for example, an owner of a larger property who wishes to downsize in exchange for a smaller property plus a compensating payment, or two owners who wish to swap properties in different cities for relocation purposes — without a straightforward cash sale.

The contract is needed in the permuta de solar por obra (land-for-units exchange), the most commercially significant application of the permuta in Spain, where a landowner transfers a building plot (solar) to a real estate developer in exchange for completed residential or commercial units (viviendas o locales terminados) to be delivered upon completion of the building. The agreement must address the risk of developer insolvency before delivery, requiring appropriate guarantees (avales bancarios or insurance under Ley 38/1999 LOE) for the value of the promised units.

A property exchange agreement is needed when two companies (sociedades limitadas or sociedades anónimas) exchange real estate assets as part of a corporate restructuring — a fusión, escisión, or aportación no dineraria a sociedad — where the exchange of properties is part of a broader business combination subject to Ley 3/2009 de Modificaciones Estructurales de las Sociedades Mercantiles and requires independent property valuations (informes de valoración) by a registered tasador de bienes inmuebles (certified appraiser) with ECO/805/2003 methodology.

The contract is required when co-owners of multiple properties (copropietarios de fincas múltiples) wish to reorganise their ownership — for example, two siblings who each own 50% of two inherited properties (herencia indivisa) and wish to exchange their respective shares so that each owns one property outright (extinción de condominio). This common post-inheritance restructuring uses the permuta framework and requires accurate tax planning.

A property exchange agreement is needed when a property developer or real estate investor exchanges a completed development project for land or another property in a transaction structured to defer capital gains tax (IRPF or Impuesto sobre Sociedades) through a permuta con aplazamiento del pago del precio (deferred consideration permuta), which the Dirección General de Tributos has addressed in numerous vinculant binding consultations (consultas vinculantes).

The agreement is also needed when an autónomo or individual exchanges business premises for a residential property or vice versa — a transaction with complex IVA and ITP implications depending on the classification of each party and property that must be addressed in the contract and reviewed by a gestor fiscal.

Under the Ley de Arrendamientos Urbanos (LAU) 29/1994, Spanish tenancy law sets minimum duration (5 years individuals, 7 years entities) and deposit requirements. The Código Civil Articles 1445–1541 govern sale of property. The Ley Hipotecaria governs the Registro de la Propiedad. The Ley 5/2019 (LCCI) regulates mortgage lending with mandatory FEIN/FiAE disclosure. The Impuesto sobre Transmisiones Patrimoniales (ITP) applies to property transfers.

## What to Include in Your Property Exchange Agreement Spain (Contrato de Permuta de Inmueble)

A valid Property Exchange Agreement Spain under Código Civil Articles 1538–1541 and Real Decreto Legislativo 1/1993 (ITP-AJD) must contain the following essential elements to be enforceable, to comply with Registro de la Propiedad requirements, and to correctly allocate the tax obligations of both parties. Identification of Parties: Full legal name, DNI/NIF/NIE, nationality, civil status (estado civil), and domicile of both permutantes (exchanging parties). Married permutantes must comply with the matrimonial property regime (régimen económico matrimonial) under Articles 1344–1444 CC — spouses under the régimen de gananciales (community of property) require both spouses' consent to dispose of immovable property. The applicable matrimonial property regime must be stated. Description of Property 1: A precise description of the first property being exchanged — full address, referencia catastral (land registry cadastral reference), Registro de la Propiedad inscription details (tomo, libro, folio, número de finca registral), surface area (metros cuadrados útiles y construidos), existing encumbrances and mortgages (cargas y gravámenes), the title by which the transferring party owns the property, and the current inscription in the Registro de la Propiedad. A Nota Simple Informativa from the Registro de la Propiedad should be obtained before execution. Description of Property 2: An equally precise description of the second property in identical format. Both descriptions should be verified against the current Registro de la Propiedad entries, the Catastro reference, and recent IBI (Impuesto sobre Bienes Inmuebles) receipts. Valuation of Properties: The agreed or market value (valor declarado) of each property — critical for tax assessment purposes. The ITP-AJD tax base is the higher of: the agreed consideration (valor declarado), the cadastral value (valor catastral), and the valor de referencia del Catastro (cadastral reference value introduced by Ley 11/2021 de Fraude Fiscal) for properties with a catastral reference value assigned from 1 January 2022. Where the values of the properties differ, the compensating monetary payment (compensación en metálico) must be stated. Compensating Payment: If the exchange is not of equal value, the agreed compensating payment — amount, payment date, payment method (bank transfer, notarial deposit, or retention against mortgage subrogation) — and the conditions for payment. The proportion of monetary consideration to property value determines the tax classification of the transaction for ITP-AJD purposes. For mortgages, the banco acreedor (lending bank) must consent to the subrogation or the mortgage must be cancelled (cancelación registral) before or at the time of the exchange deed. Title Warranties: Mutual warranties (garantías de saneamiento) that each party has full ownership and legal capacity to transfer the property, that the property is free of undisclosed easements (servidumbres), encroachments, or tenancy rights, and that there are no pending proceedings that could affect title. The evicción (eviction) warranty under Articles 1475–1483 CC applies by virtue of Article 1541 CC. Notarial Execution: The obligation that the exchange is formalised in a escritura pública before a Notario — specifying the Notario's office or, if not yet agreed, the obligation to present at a mutually agreed Notaría within a defined period. The notarial fees (aranceles notariales) governed by Real Decreto 1426/1989 are typically borne by each party for the property they are receiving, consistent with the compraventa convention. Tax Obligations: An allocation of ITP-AJD obligations — each party pays ITP on the value of the property they receive from the other party, in the autonomous community where their respective received property is located. The IIVTNU (plusvalía municipal) is paid by each transferring party to the Ayuntamiento of the municipality where the property they are transferring is located. The contract should address IRPF implications for capital gains (ganancias patrimoniales) under Ley 35/2006 del IRPF for individuals, or Impuesto sobre Sociedades for companies. Property exchange transactions — particularly the permuta de solar por obra and cross-border permuta involving non-Spanish residents — require detailed tax analysis by a qualified abogado fiscalista and careful due diligence on both properties by a registered tasador (certified appraiser) and a Notario before execution of the escritura pública. Under the Ley de Arrendamientos Urbanos (LAU) 29/1994, Spanish tenancy law sets minimum duration (5 years individuals, 7 years entities) and deposit requirements. The Código Civil Articles 1445–1541 govern sale of property. The Ley Hipotecaria governs the Registro de la Propiedad. The Ley 5/2019 (LCCI) regulates mortgage lending with mandatory FEIN/FiAE disclosure. The Impuesto sobre Transmisiones Patrimoniales (ITP) applies to property transfers.

## Frequently Asked Questions

### ¿Qué impuestos gravan la permuta de inmuebles en España?

La permuta de inmuebles en España genera múltiples obligaciones fiscales para ambas partes, al tratarse cada una de ellas simultáneamente como transmitente del inmueble que cede y como adquirente del que recibe. Para particulares que transmiten segunda vivienda o inmueble de inversión: (1) ITP (Impuesto sobre Transmisiones Patrimoniales Onerosas) — cada parte paga ITP en la Comunidad Autónoma donde radica el inmueble que adquiere, al tipo TPO vigente (habitualmente entre el 6% y el 11% según la comunidad), sobre el mayor de los valores: declarado, catastral o de referencia del Catastro (introducido por la Ley 11/2021 de Fraude Fiscal). (2) IRPF — cada parte debe declarar en su IRPF la ganancia patrimonial derivada del inmueble que transmite, calculada como diferencia entre el valor declarado y el coste de adquisición. (3) IIVTNU (plusvalía municipal) — cada transmitente abona la plusvalía al Ayuntamiento del municipio donde radica el inmueble que cede. Para promotores y empresas: se aplica IVA al 10% (primera entrega de vivienda) o al 21% (comercial o segunda transmisión) en lugar del ITP. Resulta imprescindible asesorarse con un gestor fiscal antes de otorgar la escritura.

### ¿Qué es la permuta de solar por obra y cómo funciona en España?

La permuta de solar por obra es un mecanismo habitual en la promoción inmobiliaria española mediante el cual el propietario del solar transmite la parcela al promotor inmobiliario y recibe a cambio un número determinado de viviendas, locales o plazas de garaje en el edificio que se construirá sobre el solar cedido. La contraprestación no es dineraria sino edificaciones futuras, lo que configura una permuta atípica en la que uno de los bienes objeto del contrato no existe en el momento de la firma. La Dirección General de los Registros y del Notariado (DGRN) y el Tribunal Supremo han validado este contrato al amparo de los artículos 1538 y 1271 CC (las cosas futuras pueden ser objeto de contrato). El principal riesgo del propietario es la insolvencia del promotor antes de la entrega, por lo que debe exigirse un aval bancario o seguro de caución conforme a la Ley 38/1999 LOE por el valor de las unidades prometidas. El contrato debe especificar: número, ubicación y características de las unidades a entregar; plazo de terminación y entrega; calidades constructivas; y consecuencias del concurso de acreedores del promotor. Fiscalmente, el promotor repercute IVA al 10% en la entrega de viviendas (primera transmisión) y el propietario del solar declara en el IRPF la ganancia patrimonial derivada de la transmisión de la parcela.

### ¿Requiere la permuta de inmuebles escritura pública ante Notario en España?

Sí. Conforme al artículo 1280.1 del Código Civil, todas las transmisiones de bienes inmuebles deben formalizarse en escritura pública ante Notario para poder acceder al Registro de la Propiedad. Si bien el documento privado es válido entre las partes conforme al artículo 1279 CC — pudiendo cualquiera de ellas compeler a la otra a elevarlo a escritura pública —, no puede presentarse en el Registro de la Propiedad. La inscripción registral es imprescindible para que la transmisión del dominio surta efectos frente a terceros conforme a los artículos 32 y 34 de la Ley Hipotecaria (fe pública registral). En la permuta de inmuebles, el Notario autentica las firmas, verifica la identidad y capacidad de las partes, consulta telemáticamente la situación registral de ambas fincas a través del Colegio Notarial, comprueba las obligaciones por AJD y tramita la autoliquidación del ITP-AJD. Los aranceles notariales (Real Decreto 1426/1989) se calculan sobre el valor declarado. Ambas partes deben asesorarse con su propio abogado antes de acudir a la Notaría para revisar el borrador de la escritura y confirmar la estructura de la operación.

### ¿Qué ocurre si el inmueble permutado en España tiene una hipoteca oculta?

Conforme a los artículos 1475 a 1483 del Código Civil, aplicables a la permuta en virtud del artículo 1541 CC, la parte que transmite un inmueble con una carga oculta — como una hipoteca no declarada — responde frente al adquirente por la disminución de valor y puede verse obligada a indemnizarle por el saldo pendiente de la hipoteca. Si la carga oculta provoca que el adquirente pierda parcial o totalmente el inmueble como consecuencia de una ejecución hipotecaria, el transmitente deberá indemnizarle por el valor íntegro del inmueble más los gastos y daños conforme al artículo 1478 CC. Para evitar estos conflictos, ambas partes deben: (1) obtener una Nota Simple Informativa del Registro de la Propiedad inmediatamente antes de firmar el contrato y nuevamente antes de otorgar la escritura, confirmando todas las cargas inscritas; (2) exigir al transmitente un certificado de deuda pendiente del banco acreedor; (3) organizar la cancelación hipotecaria (cancelación registral) en la Notaría en el momento de otorgar la escritura de permuta, utilizando parte de la compensación en metálico pactada. El Registrador de la Propiedad denegará la inscripción a favor del adquirente si existen cargas registrales no canceladas, a menos que las partes acuerden la subrogación hipotecaria.

### ¿Cómo tributa la ganancia patrimonial en una permuta de inmuebles en España para residentes?

Para los contribuyentes residentes en España sujetos al IRPF (Ley 35/2006), cada parte de la permuta se considera que ha realizado una transmisión del inmueble que cede, generando una ganancia o pérdida patrimonial conforme a los artículos 33 a 40 de la Ley 35/2006. La ganancia se calcula como: valor declarado del inmueble transmitido menos valor de adquisición (precio de compra original más gastos de adquisición: ITP, aranceles notariales y mejoras). La ganancia obtenida se integra en la renta del ahorro y tributa a los tipos progresivos del 19% (hasta 6.000 €), 21% (de 6.001 a 50.000 €), 23% (de 50.001 a 200.000 €), 27% (de 200.001 a 300.000 €) y 28% (más de 300.000 €) para 2024. Pueden aplicarse exenciones específicas: reinversión en vivienda habitual (art. 38.1 LIRPF) si el inmueble transmitido era la residencia principal y el importe se reinvierte en una nueva vivienda habitual en el plazo de 2 años; exención para mayores de 65 años por la vivienda habitual; y reducción por transmisión derivada de herencia. Los no residentes tributan por las ganancias patrimoniales obtenidas en España conforme al IRNR (RDL 5/2004) al tipo del 19% para residentes en la UE/EEE y al 24% para residentes fuera de la UE.

### ¿Puede una sociedad limitada ser parte en una permuta de inmuebles en España?

Sí. Una sociedad limitada (SL) o sociedad anónima (SA) inscrita en el Registro Mercantil puede ser parte en una permuta de inmuebles al amparo de los mismos artículos del Código Civil que rigen para los particulares. No obstante, las permutas corporativas conllevan consideraciones jurídicas y fiscales adicionales. Autorización corporativa: la permuta debe ser aprobada por el consejo de administración o por la junta de socios (junta general de accionistas) conforme a la Ley de Sociedades de Capital (RDL 1/2010 — LSC) si el valor del inmueble supera el 25% de los activos sociales, al constituir un acto que excede el objeto social que requiere acuerdo de la junta conforme al artículo 160.f LSC. Fiscalidad: la ganancia derivada del inmueble transmitido tributa por el Impuesto sobre Sociedades (Ley 27/2014 LIS), calculada sobre la diferencia entre el valor de mercado del inmueble cedido y su valor fiscal en la contabilidad de la empresa. El tipo general del IS es del 25% (o del 15% para entidades de nueva creación en su primer ejercicio con base imponible positiva). Las reglas de operaciones vinculadas del artículo 18 LIS se aplican si la permuta es entre partes relacionadas, exigiendo valoración a precio de mercado documentada mediante informe de tasador independiente.

Fillable version (PDF or Word): [Download the free template](https://forms-legal.com/espana/real-estate/purchase-sale/property-exchange-agreement-spain)

General information, not legal advice — see our [accuracy & editorial policy](https://forms-legal.com/accuracy-policy). Confirm the cited law is current before relying on it.
