Madrid is a municipality in the Cundinamarca Department of Colombia, situated within the Western Savanna Province approximately 21 kilometers west of Bogotá. As of 2024, it has an estimated population of roughly 140,000 residents, making it one of the most populous municipalities in both the region and the country. The municipality covers an area of 120.5 square kilometers and lies at an altitude of 2,554 meters above sea level.
Madrid functions as part of Bogotá's broader metropolitan area, with close functional and spatial connections to the Colombian capital. This proximity has shaped its character as an urban municipality integrated into the greater urban system of the nation's capital region.