Anaya is a municipality in Spain, located in the province of Segovia within the autonomous community of Castile and León. It lies in the central part of the country, in the region north of Madrid.
The municipality is small and rural in character. According to the 2004 census carried out by Spain's National Statistics Institute (INE), Anaya had a population of 136 inhabitants.