Ayllón (Spanish pronunciation: [ajˈʎon]) is a municipality located in the province of Segovia, Castile and León, Spain. According to the 2019 census (INE), the municipality had a population of 1,196 inhabitants.