
Is the deposit mandatory in a rental contract?

Find out whether the deposit is mandatory in a rental contract, how many months' rent it corresponds to, when it must be returned and in which cases it can be withheld.
When renting a property in Spain, the deposit is one of the concepts that raises the most questions among tenants. Many people wonder whether the deposit is mandatory in a rental contract, how many months' rent must be handed over, when the money is returned and in which situations the landlord can withhold it in whole or in part. In 2026, these questions remain very common, especially because the deposit is often confused with other payments or guarantees requested at the start of the tenancy.
Understanding exactly how the deposit works is essential to avoid disputes from the very beginning and, above all, when the contract comes to an end. Throughout this article we explain clearly what the law says about the rental deposit, how it should be managed and what rights and obligations both the tenant and the landlord have.
Is the deposit mandatory in a rental contract according to the law?
Yes, the deposit is mandatory in a habitual-residence rental contract in Spain. The Urban Leases Act establishes that the tenant must hand over a cash deposit at the time of signing the contract, with no room to waive this requirement.
This obligation applies to all habitual-residence rental contracts, regardless of the agreed duration, the rental amount or the relationship between the parties. The deposit is part of the legal structure of the contract and does not depend on the will of the landlord or the tenant.
Its purpose is not to penalise the tenant, but to ensure that when the contract ends the property is returned in proper condition and that there are no outstanding amounts arising from the tenancy.
How many months' deposit applies in a rental contract
For habitual-residence rentals, the law is very clear: the mandatory deposit must be equivalent to one month's rent. Two, three or more months cannot be demanded as a legal deposit, even if both parties agree.
This amount is fixed and does not vary depending on the contract duration, the rental price or the characteristics of the property. The legal deposit will always be one month's rent when dealing with a habitual residence.
Deposits in other types of rental
It is important not to confuse this situation with other tenancies. In rentals for uses other than habitual residence, such as commercial premises or seasonal rentals, the deposit amount may differ. However, when we are talking about a habitual residence, the one-month rule is mandatory and admits no exceptions.
Difference between the deposit and other payments at the start of a rental
One of the most common mistakes is thinking that all the money handed over when signing the contract is the deposit. In reality, the deposit is only one specific and clearly defined part.
Deposit and first month's rent
The first month's rent is not part of the deposit. It is the rent payment for the initial period and does not serve as a guarantee. This amount is not returned at the end of the contract, unlike the deposit.
Deposit and additional guarantees
In addition to the deposit, additional rental guarantees may be agreed. These guarantees are not required by law and do not replace the legal deposit. In many cases, they are taken out by the tenant themselves and act as additional financial backing within the lease agreement.
This type of guarantee can make it easier for the landlord to accept the tenant's application, especially in high-demand markets, but they must always be clearly distinguished from the legal deposit.
What the deposit in a rental contract is really for
The deposit is not an advance payment nor an automatic penalty for leaving the property. Its function is very specific and is linked to compliance with the contract, which explains why the deposit is mandatory in a rental contract and what role it plays in the relationship between tenant and landlord.
What the deposit can cover
The deposit can be used to cover specific and verifiable breaches by the tenant at the end of the contract, provided they are duly justified and the amount withheld is proportionate to the actual cost. For example, it can be applied to damage to the property that goes beyond normal wear and tear from use, such as damage caused by improper use or failure to respect the conditions of the contract. It can also be used for unpaid rent if there are outstanding monthly payments when the tenancy ends, or for expenses arising from the contract that were expressly agreed (for example, utilities or specific bills the tenant had assumed and left unpaid). In all cases, it is advisable for the landlord to be able to support the withholding with objective evidence, such as invoices, quotes, receipts or evidence of the condition of the property.
What the deposit cannot cover
The deposit cannot be used as a "general fund" to compensate the landlord or as a punishment simply because the contract is ending. It must not be withheld as a precaution, "just in case", or without clearly explaining the reason. Nor can it be used to cover improvements, renovations or repairs that fall under ordinary maintenance of the property or normal wear and tear from everyday use, such as deterioration caused by the passage of time. Likewise, it should not be used to cover expenses that are not linked to the contract or that are not attributable to the tenant. In general, the deposit can only be applied to real and demonstrable issues; if there are none, it must be returned within the legal timeframe.
When is the deposit returned at the end of a rental contract
Once the contract has ended and the keys have been handed over, the landlord has a maximum period of one month to return the deposit to the tenant, provided there are no attributable damages or outstanding amounts.
This period begins from the effective handover of the property. For this reason, it is advisable for both parties to keep a record of the date of key handover and the condition of the property.
What happens if the deposit is not returned within the deadline
If the deposit is not returned within the legal timeframe without justified cause, interest may accrue in favour of the tenant. This provision aims to prevent unjustified delays and protect the tenant's rights.
In which cases can the landlord withhold the deposit
The landlord may withhold the deposit in whole or in part only when there has been a breach by the tenant and always in a justified manner.
Damage to the property
When the property shows damage that does not correspond to normal use, the landlord can use the deposit to cover the actual cost of the necessary repairs.
Unpaid rent or outstanding expenses
The deposit can also be applied to unpaid rent or outstanding utilities if these items are covered in the contract. Under no circumstances can an amount greater than the actual debt be withheld.
If the cost of the damages or debts is less than the deposit handed over, the landlord is obliged to return the difference.
What to do if there is a disagreement about the return of the deposit
Disagreements over the deposit usually arise when there is not enough documentation about the condition of the property. For this reason, it is highly advisable to carry out an inventory or photographic record at the beginning and end of the contract.
In the event of a dispute, the ideal approach is to seek an amicable solution based on objective evidence. If this is not possible, the appropriate legal channels can be used to claim the return of the deposit.
The deposit in the current rental market context
In an increasingly competitive rental market, the deposit remains a basic element of the contract and one of the keys to understanding whether the deposit is mandatory in a rental contract, but it is not always enough to provide peace of mind to both parties. For this reason, some tenants choose to strengthen their profile with a rental payment guarantee, taken out by themselves, which acts as additional financial backing for the duration of the contract.
These guarantees do not replace the mandatory deposit nor alter the nature of the contract, but they can facilitate access to the property and contribute to a more stable rental relationship.
Frequently asked questions about the rental deposit
Is the deposit mandatory in a rental contract in 2026?
Yes, the deposit is mandatory in a habitual-residence rental contract in Spain, including in 2026. The law requires it to be handed over upon signing the contract.
How many months' deposit are paid in a rental?
For habitual-residence rentals, the mandatory deposit is one month's rent. More months cannot be demanded as a legal deposit.
When is the deposit returned at the end of the contract?
The deposit must be returned within a maximum period of one month from the handover of the keys, provided there are no damages or outstanding amounts attributable to the tenant.
In which cases can the landlord keep the deposit?
The landlord can withhold the deposit only to cover damage to the property that exceeds normal use, unpaid rent or justified outstanding expenses.
Can the deposit be replaced by another guarantee?
No. The legal deposit is mandatory and cannot be replaced by another guarantee, although it can be supplemented with additional rental guarantees.

Start today with Finaer
Rent with peace of mind, without delays and without complications.


