Harpefoss is a village in Sør-Fron Municipality in Innlandet county, Norway. The village is located in the Gudbrandsdal valley on the north shore of the Gudbrandsdalslågen river, about 5 kilometres (3.1 mi) northwest of the village of Hundorp. The 0.52-square-kilometre (130-acre) village has a population (2021) of 333 and a population density of 640 inhabitants per square kilometre (1,700/sq mi). The Dovrebanen railway line runs through the village.