As proved by excavations the area was already settled in the Neolithic times. Celts and later Romans established permanent settlements. First mentioned 885 in a Carolingian document, the peasant village named Salzburghofen was given to the archbishop of Salzburg by king Louis IV in 908. After the Napoleonic Wars in 1816, the border between Bavaria and Austria was drawn along the rivers Saalach and Salzach, and Salzburghofen became part of Bavaria. The railway line connecting Munich and Salzburg (and further on to Vienna) changed the appearance of the village significantly. First, the railway company paid good prices for the land of the farmers. Second, many jobs were created, more than 1,000 in the 1970s.