Sankt Andreasberg is a town and a former municipality in the district of Goslar, in Lower Saxony, Germany. Since 1 November 2011, it is part of the town Braunlage. It is situated in the Harz, approximately 7km west of Braunlage proper, and 20km east of Osterode am Harz.