The 1920 Greek census recorded 563 people in the village.[3] Following the Greek–Turkish population exchange, Greek refugee families in Kostenetsi were from Pontus (11) in 1926.[3] The 1928 Greek census recorded 501 village inhabitants.[3] In 1928, the refugee families numbered 12 (53 people).[3]
In 1945, Greek Foreign Minister Ioannis Politis ordered the compilation of demographic data regarding the Prefecture of Kastoria.[4] The village Ieropigi had a total of 458 inhabitants, and was populated by 400 Slavophones with a Bulgarian national consciousness.[5]
By the 1950s, the Greek government assisted a group of nomadic transhumant Aromanians to settle in depopulated villages of the area like Ieropigi.[6] Aromanians are now the only inhabitants of the village.[6]
^Alvanos, Raymondos (2005). Κοινωνικές συγκρούσεις και πολιτικές συμπεριφορές στην περιοχή της Καστοριάς (1922–1949) [Social conflicts and political behaviors in the area of Kastoria (1922–1949)] (Ph.D.) (in Greek). Aristotle University of Thessaloniki. p. 516. Retrieved 16 June 2024. "Ιεροπηγή, Πληθυσμός: 458, Σλαυόφωνοι: 400, Συνείδησις Βουλγαρική: ναι"
^ abKoukoudis, Asterios (2003). The Vlachs: Metropolis and Diaspora. Zitros Publications. p. 304. ISBN9789607760869. "In the early 1950s, in an effort to repopulate the border areas, the state helped those wandering Arvanitovlachs to settle down in villages around the Prespa lakes; which is why we find Arvanitovlachs today in... Ieropiyi (Kostenetsi)... in Kastoria prefecture. In some of those villages, such as Ieropiyi... they are the only inhabitants."