The purpose of this research article is to interpret security as an urban social imaginary linked to the social relations of closed residential complexes in Valledupar. The methodology of the text is oriented from the parameters of the interpretive paradigm and the use of the ethnography method to understand the different texts, images, and interviews related to the research topic. The theoretical arguments are supported by the contributions proposed by Berger and Luckmann, (1986), Castoriadis (1989), Roitman (2003), Pinto (2005), Foucault (2006, 2010), Baeza, (2004), Castells, (2004)., Guerrero, (2006), Martinez (2013), Busto, (2014), Martinez (2021), among other authors, who conceptualize and theorize about urban security and social reality.