Room Rental Agreement Spain (Contrato de Arrendamiento de Habitación)
CONTRATO DE ARRENDAMIENTO DE HABITACIÓN
Room Rental Agreement — Shared Dwelling
Governed by Código Civil Articles 1542–1581 and Ley de Arrendamientos Urbanos 29/1994 (LAU)
1. PARTIES
LANDLORD / SUBARRENDADOR (ARRENDADOR DE HABITACIÓN):
Name: [Landlord Name]
DNI / NIE: [Landlord DNI]
Address: [Landlord Address]
Arrangement: [Landlord Type]
ROOM TENANT (ARRENDATARIO DE HABITACIÓN):
Name: [Tenant Name]
DNI / NIE / Passport: [Tenant DNI]
Occupation / Status: [Tenant Occupation]
Habitual Residence: [Tenant Habitual Residence]
2. LEGAL FRAMEWORK
This contract is governed primarily by Código Civil Articles 1542 to 1581 (arrendamiento de cosas) with the will of the parties prevailing, and subsidiarily by Ley de Arrendamientos Urbanos 29/1994 (LAU) where applicable. The letting of a private room within a shared property does not constitute a residential tenancy (arrendamiento de vivienda) under LAU Title II (Article 2.1 LAU), which requires the letting of a complete habitable building as the tenant's habitual residence. The mandatory minimum terms, tacit renewal provisions, and deposit limits of LAU Title II therefore do not apply.
3. ROOM AND PROPERTY DESCRIPTION
Property Address: [Property Address]
Private Room Allocated to Tenant: [Room Designation]
Furnishing: [Room Furnishing]
Shared Areas (Zonas Comunes): [Shared Areas]
Total Occupants: [Total Occupants]
A signed inventory (inventario) of the room's furniture and condition shall be attached to this contract as Annex 1 and forms an integral part of it.
4. RENTAL TERM, RENT, AND DEPOSIT
Start Date: [Start Date]
Rental Term: [Lease Term]. Either party may terminate the agreement by giving [Notice Period] in writing.
Monthly Rent (Renta Mensual): [Monthly Rent], payable on the 1st of each month by bank transfer to the Landlord's account (IBAN to be provided by Landlord).
Utilities: [Utilities].
Security Deposit (Depósito / Fianza): [Deposit], paid at the time of signing. The deposit shall be returned within 30 days of the end of the rental period, after inspection of the room and deduction of any amounts due for damage beyond ordinary wear and tear or unpaid rent.
5. HOUSE RULES (NORMAS DE CONVIVENCIA)
Overnight Guests: [Guest Policy].
Smoking: [Smoking Policy].
Pets: [Pet Policy].
Quiet Hours (Horario de Descanso): [Quiet Hours], in compliance with applicable municipal ordenanzas on noise and vibration.
Shared Area Maintenance: The Tenant shall maintain the private room and any shared areas used in a clean and orderly condition. Shared areas shall be kept tidy at all times. The Tenant is responsible for disposing of waste in accordance with the municipality's waste collection rules.
6. TENANT'S OBLIGATIONS
The Tenant shall: (a) pay the monthly rent on the agreed date; (b) use the room only as private residential accommodation; (c) comply with the house rules set out in Clause 5; (d) not sublet or assign the room to any third party without the Landlord's prior written consent; (e) not make alterations to the room or the property without the Landlord's prior written approval; (f) notify the Landlord promptly of any damage or malfunction requiring repair; (g) return the room in the same condition as received at the start of the rental, subject to ordinary wear and tear, on the termination date.
7. RIGHT TO PRIVACY AND HOME INVIOLABILITY
The Tenant's private room is protected by the right to home inviolability (inviolabilidad del domicilio) under Article 18.2 of the Constitución Española 1978 and the principle of peaceful enjoyment under Código Civil Article 1554. The Landlord shall not enter the Tenant's private room without the Tenant's consent, except in genuine emergencies. The Landlord may access shared areas freely.
8. DATA PROTECTION
The Landlord processes the Tenant's personal data for the performance of this contract under Article 6.1(b) of Regulation (EU) 2016/679 (GDPR) and Ley Orgánica 3/2018 (LOPDGDD). The Tenant has the right to access, rectify, erase, and object to the processing of their data through the Agencia Española de Protección de Datos (AEPD) at aepd.es.
9. GOVERNING LAW AND JURISDICTION
This contract is governed by the Código Civil (Real Decreto de 24 de julio de 1889) Articles 1542–1581 and, subsidiarily, by Ley de Arrendamientos Urbanos 29/1994. Disputes shall be resolved before the Juzgado de Primera Instancia of the jurisdiction where the property is located.
SIGNATURES
Signed in [Contract City], on [Contract Date].
LANDLORD (ARRENDADOR):
[Landlord Name]
Signature: _________________________ Date: _________________________
ROOM TENANT (ARRENDATARIO DE HABITACIÓN):
[Tenant Name]
Signature: _________________________ Date: _________________________
Landlord (Arrendador)
________________
Signature
Room Tenant (Arrendatario de Habitación)
________________
Signature
What Is a Room Rental Agreement Spain (Contrato de Arrendamiento de Habitación)?
A Room Rental Agreement Spain (Contrato de Arrendamiento de Habitación) is a formal written agreement between a landlord or primary tenant (arrendador/subarrendador) and a room tenant (arrendatario de habitación) for the exclusive use of a furnished or unfurnished private bedroom within a larger shared residential property, together with shared access to common areas — kitchen, bathroom, living room, and any garden or terrace — governed by the Ley de Arrendamientos Urbanos 29/1994 (LAU) and Código Civil (CC) Articles 1542 to 1581 as the general letting statute.
The legal classification of a room rental under Spanish law is nuanced. Article 2 LAU defines residential tenancy (arrendamiento de vivienda) as the letting of a complete habitable building as the tenant's habitual residence. A room rental, by contrast, is not the letting of a complete building — the tenant does not occupy the property as their exclusive home but shares it with the landlord or other tenants. The Tribunal Supremo and Audiencias Provinciales have consistently held that room rentals generally fall outside LAU Title II residential tenancy protection — they are instead governed primarily by Código Civil Articles 1542–1581 (arrendamiento de cosas) with the parties' contractual terms prevailing, giving both landlord and room tenant broad freedom to set rent, term, notice periods, and house rules.
However, the classification can be more complex when the landlord does not live in the property and lets multiple rooms to unrelated tenants in a property they own — some Spanish courts and the AEAT have treated such arrangements as closer to a residential tenancy or as a residential service operation (hospedaje), depending on whether additional services (cleaning, meals, laundry) are provided. When additional services are provided, the arrangement may constitute a hospedaje contract under CC Article 1783, attracting different legal obligations.
Room rentals are extremely common in Spain's major cities — Madrid, Barcelona, Valencia, Seville, and Málaga — driven by high property prices, significant student and young worker populations, and the prevalence of shared flats (pisos compartidos). Monthly rents for individual rooms in shared flats in central Madrid and Barcelona typically range from €500 to €1,200, depending on location, room size, and included services.
Forms-legal.com provides this Room Rental Agreement Spain as a practical template for both owner-landlords letting rooms in their own primary residence and primary tenants subletting rooms under a subarrendamiento arrangement (subject to the landlord's consent under Article 8 LAU).
The legal framework governing the Room Rental Agreement Spain (Contrato de Arrendamiento de Habitación) in Spain draws on several key statutes and regulatory bodies. 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. Parties executing a Room Rental Agreement Spain (Contrato de Arrendamiento de Habitación) in Spain should confirm the document reflects current law, including any amendments enacted since the original drafting date. The Ley de Arrendamientos Urbanos 29/1994 (LAU), Article 2; Código Civil Articles 1542–1581 sets the foundational requirements.
When Do You Need a Room Rental Agreement Spain (Contrato de Arrendamiento de Habitación)?
A Room Rental Agreement Spain is needed whenever a person lets a private bedroom within a shared residential property to a room tenant, regardless of whether the landlord lives in the property or not, and the parties wish to establish clear written terms governing the arrangement.
A room rental contract is required when a homeowner lets one or more rooms in their primary residence to lodgers while continuing to occupy the rest of the property — a common arrangement that generates supplementary income exempt from IRPF under Article 7.a IRPF (habitual residence income exemption, subject to conditions and caps) for owner-occupiers.
A room rental agreement is needed when a primary tenant (arrendatario principal) sublets a room in their rented flat to a room subtenant (subarrendatario de habitación) — a subarrendamiento de habitación that requires the landlord's prior written consent under Article 8.2 LAU, absent which the subletting is a material breach of the primary lease. The room rental contract must be consistent with the terms of the primary lease.
The contract is required when a university (universidad), student residence (residencia universitaria), or student accommodation operator lets rooms in a shared flat to students for the academic year — the agreement documents room allocation, shared facility rules, and academic-year-aligned term provisions.
A room rental agreement is needed when an employer or company houses foreign workers or interns in shared accommodation during a work placement — the contract documents the arrangement and avoids any implication that the employer is providing a residential tenancy with full LAU protections.
The contract is also required when a short-term room rental exceeding 30 days is agreed — distinguishing the arrangement from tourist accommodation (regulated by autonomous community tourism law under LAU Article 5.e) and confirming the Código Civil or LAU non-residential framework applies with agreed notice periods and house rules.
Parties in Spain should prepare a Room Rental Agreement Spain (Contrato de Arrendamiento de Habitación) proactively rather than waiting for a dispute to arise. Courts interpret agreements based on the written terms rather than oral representations. 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. Where the transaction involves regulated activities, prior approval from the relevant authority may be required before execution.
What to Include in Your Room Rental Agreement Spain (Contrato de Arrendamiento de Habitación)
A valid Room Rental Agreement Spain under the Código Civil and LAU framework must contain the following essential elements to be clear, enforceable, and protective of both parties' interests.
Legal Framework Clause: An express statement identifying the legal basis of the contract — Código Civil Articles 1542–1581 as the primary governing law, with LAU 29/1994 applying subsidiarily where appropriate. If the arrangement is a subarrendamiento de habitación (subletting from a primary tenant), the clause must reference Article 8.2 LAU, the landlord's written consent to subletting, and confirm that the subarrendamiento does not create any direct relationship between the room tenant and the building's owner.
Identification of Parties: Full legal name, DNI/NIE/passport number, and contact address of the landlord or primary tenant (arrendador/subarrendador) and the room tenant (arrendatario de habitación). Academic or professional status of the room tenant is often noted for context (student, working professional).
Room and Property Description: Precise identification of the private bedroom allocated to the tenant — room number or designation, approximate floor area (if known), and a description of any furniture, appliances, and fittings included in the room (bed, wardrobe, desk, chair). A signed inventory (inventario) of the room's contents is essential to support any deposit deduction claim on departure.
Shared Areas and Facilities: Clear definition of the shared areas to which the room tenant has access — kitchen, bathroom(s), living room, laundry facilities, garden or terrace — and any areas that are reserved exclusively for the landlord or other tenants. The allocation of bathroom use if multiple tenants share limited facilities should be specified.
Term and Renewal: The agreed start and end date of the rental, or a statement that the contract is for an indefinite period. Many room rental agreements are monthly contracts — the most flexible arrangement for both parties. If a fixed term is agreed, the consequences of early termination by either party must be stated.
Monthly Rent and Included Services: The agreed monthly rent (renta mensual) in euros, the due date for payment (typically the first of each month), and the bank account (IBAN) for transfer. Whether utilities (electricidad, agua, gas, internet) are included within the rent or charged additionally must be specified — and if additional, the method of calculation and any cap on consumption.
Deposit: The agreed deposit amount and its return conditions. For room rentals, a deposit of one month's rent is conventional. The landlord's obligation to deposit the fianza with the relevant regional authority may apply depending on whether the contract falls within LAU scope — parties should take local advice.
House Rules (Normas de Convivencia): The internal rules of the shared flat — quiet hours (hours of noise restriction under municipal ordenanzas), guest policy (whether overnight guests are permitted and any limits), smoking policy (no smoking indoors is standard under Ley 42/2010 de Prevención del Tabaquismo), cleaning responsibilities (individual and shared area rota), pet policy, and kitchen use rules. Clear house rules prevent the disputes that most commonly arise in shared flat situations.
Notice Period for Termination: The required notice for either party to terminate the agreement — typically 15 to 30 days for monthly room rentals. The procedure for giving notice — written notice by email (with read receipt) or burofax — should be specified.
Deposit Return: The timeline for returning the deposit after the tenant vacates — typically within 15 to 30 days of departure, after inspection of the room. The conditions under which deductions may be made — damage beyond normal wear and tear, unpaid rent, unreturned keys — must be itemised.
Data Protection: GDPR-compliant data protection clause under Reglamento (UE) 2016/679 and Ley Orgánica 3/2018 (LOPDGDD). Forms-legal.com recommends a joint inventory inspection at the start and end of the rental period, signed by both parties, to avoid deposit disputes.
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.
Cite this page
Reference this free template in an article, syllabus, or research note:
Forms Legal. (2026). Room Rental Agreement Spain (Contrato de Arrendamiento de Habitación) (Spain) [Legal document template]. Forms Legal. https://forms-legal.com/espana/real-estate/leases/room-rental-agreement-spain
"Room Rental Agreement Spain (Contrato de Arrendamiento de Habitación) (Spain)." Forms Legal, 2026, https://forms-legal.com/espana/real-estate/leases/room-rental-agreement-spain.
@misc{formslegal-room-rental-agreement-spain,
author = {{Forms Legal}},
title = {Room Rental Agreement Spain (Contrato de Arrendamiento de Habitación) (Spain)},
year = {2026},
howpublished = {\url{https://forms-legal.com/espana/real-estate/leases/room-rental-agreement-spain}},
note = {Free legal document template}
}Also available for these jurisdictions:
Frequently Asked Questions
Con carácter general, no. El arrendamiento de habitación en España no queda sujeto al régimen de arrendamiento de vivienda del Título II LAU 29/1994, puesto que el artículo 2.1 LAU define el arrendamiento de vivienda como el alquiler de un edificio habitable en su totalidad para satisfacer la necesidad permanente de vivienda del arrendatario. El arrendamiento de una habitación recae sobre una parte del inmueble, no sobre su totalidad —el arrendatario comparte la vivienda con el arrendador u otros inquilinos—. El Tribunal Supremo y las Audiencias Provinciales han clasificado de forma reiterada el arrendamiento de habitación aislado como contrato de arrendamiento de cosas sujeto a los artículos 1542 a 1581 del Código Civil, reconociendo a las partes libertad contractual para fijar el plazo, la renta, el preaviso y la renovación. En consecuencia, no se aplican el plazo mínimo de cinco años del artículo 9 LAU, la prórroga tácita del artículo 10 LAU, los límites de actualización de renta del artículo 18 LAU ni el depósito obligatorio de una mensualidad del artículo 36.1 LAU. Si el arrendador presta servicios de tipo hotelero (limpieza, desayuno, recepción), el contrato puede calificarse como hospedaje bajo el artículo 1783 CC, con obligaciones distintas. Si se trata de un subarrendamiento de habitación por parte del arrendatario principal, el artículo 8.2 LAU exige el consentimiento escrito previo del arrendador y la renta del subarriendo no puede superar la renta del arrendamiento principal.
No. El artículo 8.2 de la Ley de Arrendamientos Urbanos 29/1994 (LAU) exige que el arrendatario principal (arrendatario principal) obtenga el consentimiento escrito previo del arrendador para poder subarrendar una parte de la vivienda arrendada —es decir, ceder el uso de habitaciones individuales a terceros—. El subarrendamiento sin dicho consentimiento constituye causa de resolución del contrato de arrendamiento principal conforme al artículo 27.2.c LAU, lo que faculta al arrendador a resolver el arrendamiento y a ejercitar la acción de desahucio tanto contra el arrendatario principal como contra el subarrendatario de la habitación. Además, la renta que perciba el arrendatario principal del subarrendatario no puede exceder, en proporción a la parte subarrendada, la renta que el arrendatario principal abona al arrendador conforme al artículo 8.2 LAU. En la práctica, numerosas situaciones de pisos compartidos en España carecen de consentimiento formal del propietario, lo que genera un riesgo legal significativo para el arrendatario principal. La mejor práctica consiste en solicitar el consentimiento escrito del arrendador en el momento de la firma del contrato de arrendamiento o posteriormente, y documentar el subarrendamiento de habitación mediante un contrato formal que haga referencia expresa al citado consentimiento.
Sí. Los rendimientos obtenidos por el arrendamiento de habitaciones en la vivienda habitual del arrendador tributan como rendimientos del capital inmobiliario conforme al artículo 22 de la Ley 35/2006 del IRPF. El arrendador puede deducir los gastos necesarios para la obtención de los ingresos en la proporción que corresponda a la superficie arrendada respecto del total del inmueble: intereses de hipoteca, IBI, cuota de comunidad, seguros, suministros y amortización del inmueble. Sin embargo, la reducción del 60% del rendimiento neto prevista en el artículo 23.2 LIRPF para arrendamientos de vivienda no resulta aplicable al arrendamiento de habitaciones, ya que dicha reducción exige que el arrendamiento recaiga sobre la totalidad del inmueble como vivienda habitual del arrendatario. En algunas comunidades autónomas existen deducciones autonómicas en el IRPF por arrendamiento a jóvenes o a determinados colectivos. Los ingresos deben declararse en la Declaración de la Renta anual (Modelo 100) mediante el apartado de rendimientos del capital inmobiliario. La AEAT ha precisado reiteradamente que los rendimientos derivados del arrendamiento de habitaciones deben declararse aunque sean de pequeña cuantía y no existe exención automática. Los arrendadores con dudas sobre la tributación de su situación específica deben consultar a un asesor fiscal colegiado.
Dado que el arrendamiento de habitación en España se rige principalmente por los artículos 1542 a 1581 del Código Civil y no por las disposiciones imperativas del Título II LAU, el plazo de preaviso es una cuestión de libre pacto entre las partes —no existe un mínimo legal para los contratos de arrendamiento de habitación—. La práctica más habitual en el mercado español de pisos compartidos es el preaviso de 15 días para contratos mensuales, mientras que 30 días es el estándar para acuerdos de mayor duración. En los contratos de plazo fijo, el contrato se extingue automáticamente al vencimiento del plazo pactado sin necesidad de preaviso. Si el contrato no establece plazo de preaviso, el artículo 1581 CC actúa como norma supletoria: un mes de preaviso para los arrendamientos mensuales y una semana para los semanales. El preaviso debe comunicarse por escrito —correo electrónico con acuse de recibo o, para mayor seguridad probatoria, burofax con certificación de texto y acuse de recibo—, que constituye prueba fehaciente de la fecha y el contenido de la comunicación ante el Juzgado de Primera Instancia en caso de controversia. En la práctica, el arrendador debe dar un preaviso suficiente para que el inquilino pueda buscar alojamiento alternativo, y el inquilino debe preaviso suficiente para que el arrendador pueda encontrar un sustituto.
No. La habitación privada del inquilino en un piso compartido está protegida por el derecho fundamental a la inviolabilidad del domicilio reconocido en el artículo 18.2 de la Constitución Española de 1978 y por el derecho del arrendatario al pacífico disfrute del bien arrendado conforme al artículo 1554 del Código Civil. El arrendador no puede acceder a la habitación sin el consentimiento del inquilino, salvo en situaciones de emergencia real —incendio, fuga de agua con riesgo para otros inquilinos— en las que el acceso inmediato sea necesario para evitar daños graves. El acceso no consentido por parte del arrendador vulnera el derecho constitucional a la inviolabilidad del domicilio del arrendatario y puede constituir el delito de allanamiento de morada tipificado en el artículo 202 del Código Penal, con pena de prisión de seis meses a dos años. El contrato de arrendamiento de habitación puede incluir una cláusula que permita al arrendador inspeccionar la habitación con preaviso —habitualmente 24 a 48 horas— por motivos de mantenimiento legítimos, pero no está permitida la entrada rutinaria sin notificación previa. El arrendador puede acceder libremente a las zonas comunes (cocina, cuarto de baño, salón) y a las partes del inmueble que no forman parte del uso exclusivo del arrendatario.
El arrendador que arrienda habitaciones en un piso compartido tiene las obligaciones establecidas en el artículo 1554 del Código Civil: (1) entregar el espacio arrendado en condiciones adecuadas para el uso pactado; (2) mantener el inmueble en condiciones de uso durante toda la vigencia del contrato; y (3) garantizar el pacífico disfrute del espacio arrendado al arrendatario. En lo que respecta a las zonas comunes, estas obligaciones se extienden al mantenimiento en buen estado de los electrodomésticos de la cocina, la fontanería, la calefacción y las instalaciones eléctricas —reparaciones que van más allá de la obligación del inquilino de realizar las pequeñas reparaciones derivadas del uso ordinario (artículo 21 LAU, aplicado por analogía)—. El contrato de habitación debe delimitar claramente las responsabilidades de mantenimiento: las reparaciones estructurales y la sustitución de grandes electrodomésticos corresponden al arrendador; el mantenimiento menor de desgaste ordinario (cambio de bombillas, limpieza básica) corresponde al arrendatario. El inmueble debe cumplir los requisitos de habitabilidad establecidos por la normativa autonómica de vivienda aplicable —por ejemplo, Decreto 55/2009 de Cataluña o Decreto 158/1997 de la Comunidad de Madrid sobre estándares mínimos de habitabilidad—, incluyendo superficie mínima de habitación, ventilación natural e instalaciones sanitarias. El sobreocupamiento —arrendar más habitaciones de las permitidas por la cédula de habitabilidad del inmueble— puede dar lugar a sanciones administrativas por parte de los servicios de inspección municipal de vivienda.
This template is provided for informational purposes only and does not constitute legal advice. Laws vary by jurisdiction and change over time. Consult a qualified attorney for advice specific to your situation.Full disclaimer
Found an error? Let us knowRelated Documents
You may also find these documents useful:
Contrato de Arrendamiento de Vivienda España
Contrato de Arrendamiento de Vivienda para España — conforme a la Ley de Arrendamientos Urbanos (Ley 29/1994, modificada por Ley 12/2023), estableciendo los derechos y obligaciones del arrendador e inquilino para inmuebles residenciales en España.
Contrato de Arrendamiento de Garaje España
Contrato de Arrendamiento de Garaje o Plaza de Aparcamiento para España — regulado por el artículo 2 de la LAU como normativa supletoria, y principalmente por los artículos 1542-1581 del Código Civil como arrendamiento de cosa mueble, con condiciones libremente pactadas entre arrendador y arrendatario.
Contrato de Alquiler de Temporada de Verano España
Contrato de Arrendamiento de Temporada de Verano conforme a la LAU 29/1994 artículo 3.2. Uso distinto de vivienda habitual, plazo fijo sin prórroga tácita, fianza de hasta dos mensualidades y certificado de eficiencia energética obligatorio.