Madrid raffles homes: five years of census registration and no squatting

Published on May 13, 2026 | Translated from Spanish

The Madrid City Council has launched a public housing lottery with clear requirements: applicants must prove at least five years of registered residency in the capital and have no history of illegal occupation. The measure aims to prioritize stable residents and discourage practices like squatting, in a context of high demand for affordable rentals.

A municipal table with lottery tickets. In the background, Madrid City Hall. Families wait.

Municipal algorithm: data filtering and residency verification 🏛️

The process relies on a computer system that cross-references residency registry databases with judicial and police records. The algorithm, developed by the Madrid Digital Administration Agency, validates the length of registered residency and detects potential legal conflicts. The lottery, supervised by a notary, is expected to use a certified random number generator to ensure process transparency.

Squatters, not this time: the registry speaks louder than excuses 😏

Now it turns out that to qualify for public housing, having a blanket and a mattress at Puerta del Sol is not enough. The City Council requires five years of registered residency, something that for some squatters would be like asking for a history of paid rent. Of course, if someone has been living in an apartment without a contract for a decade, don't worry: the system already knows they are not in the registry. Ironies of bureaucracy.