Lease types, rooms and shared flatsArticle 3 of 11 · 5 min read
Renting a room (habitación): how the rules differ
Renting a single room is treated differently from renting a whole home. This page explains which rules usually govern a room, what to expect on term, deposit and notice, and why nobody can throw you out without a court. It is for anyone renting a room.
Terms used
- Fianza — The fianza is a deposit held as security for the lease, which the landlord lodges with a regional body.
- Código Civil — The Código Civil is Spain's general civil law, with basic lease rules that apply when no special housing rules do.
- Coacciones — Coacciones is the criminal offence of forcing someone to do or accept something against their will, such as locking them out.
- Allanamiento de morada — Allanamiento de morada is the criminal offence of entering or staying in someone's home against their will.
Key rules
- Regime: A room is usually an ordinary Código Civil lease, not a full main-residence lease, so the contract matters most.
- Deposit: Deposit: A main-residence lease carries a deposit of one month's rent, as set out in The main types of Spanish rental contract. For a room, the amount is usually agreed freely, so check what your contract says.
- Eviction: Nobody can expel you or change the locks without a court judgment.
- Verbal deal: A verbal room agreement is valid, and either side can demand it in writing.
Which rules apply to a room
There is no special law for renting a room. A room in a shared flat is usually not covered by the full protection that applies to a whole home used as your main residence. It is normally treated as an ordinary lease under the Código Civil, where you and the landlord agree the terms freely.
The whole-home rules apply when the contract covers the entire flat, even if several tenants sign the same contract. Some courts treat a room as a main residence if you live there as your home and the contract covers the shared home. Case law is not uniform, and some regions regulate room rentals. Use the decision below to work out which case you are in.
Also check who your landlord is. You may rent from the owner or from a main tenant who sublets to you. The rules on rights are broadly the same, but it matters for who holds your money and who can end the contract.
Term and notice
Term and notice are mainly whatever your contract says. Common practice is a monthly or fixed-term contract with 15 to 30 days' notice. Get both written into the contract.
If no term is set and you pay rent monthly, the tenancy runs month to month. The landlord must then give notice in line with that period. They cannot simply end it on the spot.
Deposit
A main-residence lease has a deposit (fianza) of one month's rent, as set out in the article on the main types of Spanish rental contract. A room let under a Código Civil lease is different: the amount is freely agreed, and two months' rent is common. Agree the figure in writing before you pay.
The landlord must lodge the fianza with the regional housing body, and the rules for this differ by region. Once you hand back the keys, you can claim the deposit within one month. Late return accrues legal interest. If your landlord is a main tenant, ask who holds the money and get a receipt.
Verbal agreements
A verbal agreement is valid. Either side can require the other to put it in writing, signed by both. The contract should name the parties, the room or property, the rent and the term.
Proving what was agreed is harder without paper. If the other side refuses to sign, they can be taken to court to formalise it. Pay by bank transfer so there is a record.
Can you be thrown out?
No. An owner or main tenant cannot remove you by force, change the locks, cut off utilities or throw out your belongings. They must go to court and get a judgment. This applies even if your agreement is verbal.
Self-help eviction can be a crime, such as coacciones, or allanamiento de morada if the room is your home. It can also lead to civil damages. The one exception is a quick, agreed hand-back by you.
The landlord can still start a court eviction claim if you do not pay or your term ends, and this is often a fast procedure. If you are locked out or threatened, contact the police and seek legal advice.
Choosing between options
Which rules govern the room you are renting?
-
Civil Code lease or free agreement: You rent one room in a shared flat.
-
Whole-home rules: One contract covers the entire flat, even with several tenants on it. The main-residence rules apply.
-
Main-residence rules for a room: The room is your home and the contract covers the home in a sharing arrangement. Some courts treat this as a main-residence lease.
Ask whether the contract covers the entire dwelling or only your room. Whole dwelling means whole-home rules; one room usually means freely agreed terms.
Timeline and deadlines
-
Agree the term and notice period in the contract: before you move in
-
Give notice to leave, following the period in your contract: typically 15 to 30 days before you go
-
If no term is set and rent is monthly, the tenancy runs month to month, and the landlord must give notice in line with that month: for the whole stay, with no fixed end date
-
Hand back the keys: on your leaving date
-
Claim your deposit (fianza) back if it is not returned: within 1 month after handing back the keys; late return earns legal interest
Notice periods for rooms depend mostly on your contract; check the terms with whoever rents you the room.
Checklist
-
Check whether the contract sets a term and a notice period for leaving.
-
Ask for the agreement in writing if it is only verbal; either side can require it, signed by both.
-
Make sure the written contract names the parties, the room or property, the rent and the term.
-
Confirm whether you rent from the owner or from a main tenant.
-
Ask for the notice you are owed in writing if the landlord wants you out; they cannot simply expel you.
Quick answers for room and shared flat renters
How much notice do I need to leave a room?
It depends mainly on your contract. Typical rooms run month to month or for a fixed term, with 15 to 30 days' notice. If the contract sets no term, the rent period decides it: monthly rent means month to month, and a landlord must give matching notice and cannot simply throw you out.
Who holds my deposit if I rent a room from the main tenant?
The main tenant normally holds it and must return it when you leave. Your claim is against the main tenant, not the owner, unless you rented the room from the owner. The official fianza registration duty is aimed at the landlord on the main lease and is generally not applied to subleases, though some regions word it unclearly.
Is a verbal room agreement valid?
Yes, a verbal rental agreement is valid in Spain. Either side can ask the other at any time to put it in writing and sign it, naming the parties, the property, the rent and the term. Terms are harder to prove without a written contract, so ask for one early.
More in Lease types, rooms and shared flats
- The main types of Spanish rental contract
- Seasonal contracts (contrato de temporada) and when they are legal
- Shared flat contracts: who is liable when a housemate leaves
- Subletting, assigning a lease and adding a housemate
- Renting without a written contract or off the books
- Student and short work-period rentals of three to eleven months
- What is changing in seasonal and room rental law
- Sharing one lease: joint liability and what happens when someone leaves
- Renting as a couple: what changes
- The Spanish rental market and contract map
← Back to Lease types, rooms and shared flats · Find your city
Need certainty before you act?
For important relocation decisions, speak with a qualified human specialist.
Always verify important information with the relevant official authority or a qualified adviser before acting. This website uses large language models together with various public data sources, official government documents and other established sources. Due to the amount of data on this website, some information might be wrong. Information may also be incomplete or outdated.