Renting out a room sounds simple, but legally there is no single "room contract": the applicable regime changes completely depending on who is doing the letting. It is not the same for a homeowner to rent out a room in the home they still live in, as it is for a tenant to sublet part of a flat they themselves have rented, or for there to be a disguised assignment of use. Each scenario has its own rules, its own formal requirements and its own consequences if something goes wrong. This guide explains the three regimes, the formal requirements worth meeting in each case, the role of rent-stressed market areas, and the penalty regime that applies in 2026.
What does "renting out a room" mean legally?
Renting out a room means letting, in exchange for rent, the use of part of a dwelling — typically a single bedroom — while the rest of the property remains shared common space with the owner, the main tenant, or other occupants. The key to knowing which rules apply is not the subject matter of the contract, but the legal standing of whoever signs it: whether they are the owner of the property, or in turn a tenant of it.
This distinction is not a minor technicality. It determines whether Spain's Urban Leases Act (LAU) applies, with all its mandatory tenant protections, or whether the general contract regime of the Civil Code applies instead, which is far more flexible and offers less statutory protection to the room occupant.
The three regimes, depending on who is letting
The owner rents out a room in their own home
When the person letting the room is the owner and continues to live in the property, there is no "dwelling lease" within the meaning of Article 2 of the LAU, because a single room on its own does not constitute a habitable building intended to satisfy the tenant's permanent housing needs. This scenario is governed by the general contract regime of the Civil Code, which gives the parties much more freedom to agree duration, notice periods and conditions of use — although a clear contract should still be drawn up and the occupant's basic rights must still be respected.
A tenant sublets a room in their rented flat
When the person letting the room is themselves a tenant of the whole property, this is a partial sublet subject to Article 8 of the LAU. This requires the landlord's prior written consent, and the combined rent charged for any sublet rooms cannot exceed the rent the main tenant pays for the whole dwelling. Subletting without that consent is one of the most common statutory grounds for terminating the main lease.
Disguised assignment of use
When the entire use of the dwelling is handed over under the guise of a simple room rental, without the person doing the letting retaining any genuine, effective use of the property, this is treated by case law as a disguised assignment. This is not the same as the partial subletting the law permits, and if it takes place without the owner's express consent, it is equally grounds for termination of the contract.
Before advertising or signing any room rental, it is worth establishing precisely which of these three regimes the arrangement falls under, since this determines the applicable contract, the consent requirements, and the consequences of any breach.
Article 8 of the LAU and the limits on subletting
Article 8 of Spain's Urban Leases Act allows a tenant to sublet part of the dwelling, but subjects that possibility to two mandatory limits:
- The landlord's consent must be given in advance and in writing; it is not presumed merely because the landlord informally became aware of the situation, or stayed silent about it.
- The sublet rent — adding together all sublet rooms — can never exceed the rent the tenant pays for the whole dwelling.
Unlike a partial sublet, subletting the entire dwelling is never permitted, under any circumstances. If a tenant sublets without authorisation, or exceeds these limits, the landlord may seek termination of the main lease under the LAU's breach provisions — which also unwinds the position of whoever occupies the sublet room.
Requirements for a properly formalised contract
Regardless of which regime applies, every room rental should, at a minimum, include the following:
- A written, individual contract for each occupant, identifying the room, the rent, the deposit and the agreed duration.
- A clear description of the shared common areas (kitchen, bathroom, living room) and the house rules.
- The owner's written consent, where the person letting the room is themselves a tenant of the property.
- A deposit proportionate to the agreed rent, in line with standard rental practice.
- Clear terms on subletting or assignment, if the occupant might in turn transfer use to a third party.
- Confirmation of a valid habitability certificate for the property.
In some regions, the lease must also be registered with the relevant regional body — a step whose omission can trigger administrative penalties independent of whether the contract itself is otherwise sound.
Rent-stressed market areas and their effect on room rentals
Spain's Law 12/2023 of 24 May on the right to housing allows regional authorities to designate rent-stressed residential market areas, in which additional rent limits apply. Catalonia has designated a very wide part of its territory as stressed, including Barcelona, and this designation also affects room rentals once a certain number of rooms are being let, or where the landlord qualifies as a large-scale property holder.
In practice, this means that in designated stressed areas, someone letting several rooms may be subject to reference rent limits and closer administrative scrutiny of the contracts, with the stated aim of preventing room rentals from being used to sidestep the caps that apply to whole-property leases.
How rent limits in stressed areas apply in practice depends on the municipality, the number of rooms being let, and the landlord's status, so it is worth checking the specific situation before setting the price of a room.
Room rentals versus tourist accommodation
It is important to clearly distinguish long or medium-term room rentals from letting rooms for tourism purposes. Where the letting involves short stays, frequent turnover of occupants, and advertising on tourist platforms, the activity can fall under sector-specific tourism regulations — its own licensing, registration and penalty regime — regardless of whether it is formally advertised as "renting a room". Using room rentals as a way to disguise an unlicensed tourist activity exposes the owner to the same penalty regime as an irregular tourist dwelling.
Taxation of room rental income
Income an owner receives from renting out rooms in their main home is taxed under Spanish personal income tax (IRPF) as income from real estate capital, in the same way as letting a whole property. The statutory reduction available for dwellings rented as the tenant's habitual residence can apply, provided the requirements are met, and deductible expenses proportional to the part of the property being let must also be declared. Where a tenant sublets a room with the landlord's consent, the rent they receive from the subletting must also be declared, even though it cannot exceed what they themselves pay for the whole property.
Penalty regime
Tenancy and housing infringements are typically classified as minor, serious or very serious, with amounts that vary according to the applicable regional rules and that, in the most serious cases, can reach several thousand euros. Conduct that most often gives rise to penalties includes:
- Failing to register the lease where regional rules require it.
- Subletting without the owner's written consent, or exceeding the rent limit set by Article 8 of the LAU.
- Renting out rooms without a valid habitability certificate, or in overcrowded conditions.
- Disguising an unlicensed tourist accommodation business as a room rental.
Beyond any administrative penalty, unconsented subletting is, on its own, sufficient grounds for the owner to terminate the main lease and seek eviction — which can also affect whoever occupies the sublet room, even if they acted in good faith.
What to do if a dispute arises over a room rental
Faced with an eviction notice, a landlord's refusal to authorise a sublet, or a disagreement over the rent applicable in a stressed area, it is worth distinguishing several routes depending on the stage of the dispute:
- Negotiation and formal written notice to record each party's position before turning to the courts.
- Submissions in any administrative proceedings for breach of housing or contract-registration rules.
- Civil proceedings to resolve disputes over the validity of the contract, the deposit, or termination for unconsented subletting.
- Administrative or judicial review of a penalty considered unwarranted or disproportionate.
Acting from the first notice — rather than waiting for the dispute to become a court case — is often the difference between resolving the situation in an orderly way and facing an eviction or a penalty that has already taken effect.
Frequently asked questions
Is it legal to rent out a room in my own home?
Yes. If you are the owner and continue living in the property, the general contract regime of the Civil Code applies, not the LAU, giving you more freedom to agree the terms.
Can I sublet a room in my rented flat without telling the landlord?
No. Article 8 of the LAU requires their prior written consent, and the sublet rent cannot exceed what you pay for the whole property.
What contract do I need to rent out a room?
A written, individual contract for each occupant, adapted to whichever legal regime applies depending on who is letting, clearly setting out the rent, the deposit and the shared common areas.
What penalties apply for renting out rooms irregularly?
They range from minor to very serious depending on the regional rules, and can come on top of termination of the main lease if the sublet was not consented to by the owner.
