Hargelsberg is a municipality in the district Linz-Land in the Austrian state of Upper Austria.
Hargelsberg lies 324 meters above sea level. The municipality is about 4.5 kilometers from north to south, and about 6.3 km east to west. The total area is 17.8 km². Some 7.9% of the area is wooded, with 84.3% of the area devoted to agriculture.
Hargelsberg municipality contains the following named villages: Hargelsberg, Penking, Sieding, and Thann. Other localities are Angersberg, Firsching, Franzberg, Hart, Hausmanning, and Pirchhorn.
The area surrounding Hargelsberg came under the dominion of the Bavarian Duchy in the seventh century, and the place is heard of in the twelfth century as part of the Austrian Duchy. From 1490 it was incorporated into the Archduchy 'Austria Above the Enns'. During Napoleonic Wars, the location saw French incursions. Since 1918, Hargelsberg has been part of Bundesland Upper Austria. Following the Anschluss with Germany on 13 March 1938, the locality was part of Gau Oberdonau" but in 1945 was restored to Bundesland Upper Austria.