Azlor is a municipality in the province of Huesca, in the autonomous community of Aragon, Spain. It is a small rural settlement in the Somontano de Barbastro comarca of northern Aragon, in the foothills of the Pyrenees.
The municipality had a population of 153 inhabitants as of 2018, making it one of the many sparsely populated villages characteristic of the Huesca province. Like other settlements in the region, it is administered as a single municipality covering the village and its surrounding land.