Madrid Security Deposit Rules: Agencia de Vivienda Social

Also available in:

Expert guide to security deposits in Madrid, including the mandatory lodgment with the Agencia de Vivienda Social (IVIMA).

Melvin Prince
3 min read
Verified May 2026Spain flag
SpainMadridSecurity-depositsFianzaIvima

Legal Disclaimer

This content is for general informational and educational purposes only. It does not constitute legal advice and should not be relied upon as such. Laws change frequently — always verify current regulations and consult a licensed attorney in your jurisdiction for advice specific to your situation. Landager is a property management platform, not a law firm.Information last verified: May 2026.

Legal Framework for Security Deposits in Madrid

In the Community of Madrid, the management of security deposits (fianza) is governed by the national Ley de Arrendamientos Urbanos (LAU), effective 1 January 1995, and the regional Decree 181/1996 (as modified by Decree 111/2016). In Madrid, the landlord is strictly prohibited from holding the security deposit in a private bank account for the duration of the lease.

1. Mandatory Amount and Purpose

Under Article 36 of the LAU, the deposit is a mandatory requirement for all rental agreements:

  • Residential Leases: 1 month's rent.
  • Non-Residential (Commercial): 2 months' rent.
  • Purpose: It serves exclusively as a guarantee for the fulfillment of the tenant's contractual obligations and the repair of damage beyond normal wear and tear.

2. Mandatory Lodgment with the Agencia de Vivienda Social

In Madrid, the landlord must deposit the fianza with the Agencia de Vivienda Social de la Comunidad de Madrid (AVS) (formerly known as IVIMA).

  • The 30-Day Deadline: You must lodge the deposit within 30 business days (días hábiles) from the date the lease agreement is signed or takes effect (Art. 4, Decree 181/1996). Business days exclude Saturdays, Sundays, and public holidays.
  • Procedure: The process is done through the official portal of the Community of Madrid. Once deposited, the landlord receives a "Resguardo de Depósito" (Deposit Receipt).
  • Surcharges and Penalties: Under Art. 18.3 of Decree 181/1996, late voluntary lodgment results in a 2% surcharge if paid within 12 months of the deadline, or 5% if paid after 12 months. If discovered via inspection, Law 12/1997 classifies non-deposit as a serious infraction, with fines ranging from 5% to 50% of the non-deposited amount (up to a maximum of €90,151.82).

3. Return of the Deposit

At the end of the tenancy, the landlord must return the balance to the tenant within one month of the keys being handed over.

  • Interest: If the return is delayed beyond 30 days, the amount accrues interest at the legal rate (Art. 36.4 LAU).
  • Reclaiming from AVS: The landlord must request the refund from the Agencia de Vivienda Social once the contract is terminated. Note that the right to reclaim the deposit from the AVS prescribes after 5 years (Art. 11, Decree 181/1996).

Madrid Compliance Snapshot

RequirementRuleStatutory Basis
Lodgment Deadline30 Business DaysDecree 181/1996
Mandatory AgencyAgencia de Vivienda Social (AVS)Comunidad de Madrid
Mandatory Amount1 Month (Residential)Art. 36.1 LAU
Late Surcharge2% - 5% (Voluntary)Law 12/1997

Professional Advice: The Tenant's Rental Deduction

Landlords should be aware that tenants in Madrid can often claim a regional tax credit for their rent payments. However, the tax office (Hacienda) will only grant this credit if the landlord has successfully lodged the deposit with IVIMA. Failure to lodge the deposit is one of the most frequent causes of tenant-landlord disputes in Madrid courts.

Back to Madrid Overview.

Sources & Official References

Enjoyed this guide? Share it:

📬 Get notified when these laws change

We'll email you when landlord-tenant laws update in No spam — only law changes.

We are actively mapping laws for Spain. Join the waitlist, and you'll be the first to know when it drops!

Major cities governed by Madrid jurisdiction

MadridMostolesAlcala de HenaresLeganesFuenlabradaGetafeAlcorconParlaTorrejon de ArdozAlcobendasVaciamadridLas Rozas de MadridSan Sebastian de los ReyesValdemoroMajadahondaCollado-VillalbaBoadilla del MonteAranjuezColmenar ViejoPintoSan Fernando de HenaresArroyomolinosGalapagarNavalcarneroVillaviciosa de OdonParacuellos de JaramaCiempozuelosTorrelodonesMejorada del CampoVillanueva de la CanadaMadridMostolesAlcala de HenaresLeganesFuenlabradaGetafeAlcorconParlaTorrejon de ArdozAlcobendasVaciamadridLas Rozas de MadridSan Sebastian de los ReyesValdemoroMajadahondaCollado-VillalbaBoadilla del MonteAranjuezColmenar ViejoPintoSan Fernando de HenaresArroyomolinosGalapagarNavalcarneroVillaviciosa de OdonParacuellos de JaramaCiempozuelosTorrelodonesMejorada del CampoVillanueva de la CanadaMadridMostolesAlcala de HenaresLeganesFuenlabradaGetafeAlcorconParlaTorrejon de ArdozAlcobendasVaciamadridLas Rozas de MadridSan Sebastian de los ReyesValdemoroMajadahondaCollado-VillalbaBoadilla del MonteAranjuezColmenar ViejoPintoSan Fernando de HenaresArroyomolinosGalapagarNavalcarneroVillaviciosa de OdonParacuellos de JaramaCiempozuelosTorrelodonesMejorada del CampoVillanueva de la CanadaMadridMostolesAlcala de HenaresLeganesFuenlabradaGetafeAlcorconParlaTorrejon de ArdozAlcobendasVaciamadridLas Rozas de MadridSan Sebastian de los ReyesValdemoroMajadahondaCollado-VillalbaBoadilla del MonteAranjuezColmenar ViejoPintoSan Fernando de HenaresArroyomolinosGalapagarNavalcarneroVillaviciosa de OdonParacuellos de JaramaCiempozuelosTorrelodonesMejorada del CampoVillanueva de la Canada

Discussion