Collado Villalba is a town and municipal district in Spain belonging to the Region of Madrid, located 40.3 km to the northwest of the capital, on the southern side of Sierra de Guadarrama. It borders to the north with Moralzarzal, Collado-Mediano and Alpedrete; to the west with Apedrete and Guadarrama; to the south with Galapagar and to the east with Moralzarzal.