In 1875, Schwarzach received access to the Salzburg-Tyrol Railway line (Giselabahn), running from the city of Salzburg through the Salzach valley to Wörgl in Tyrol, which decisively promoted the local economy. With the opening of the Tauern Railway across the Central Eastern Alps to Spittal an der Drau in Carinthia, the station became an important railway junction. Schwarzach was split off the Sankt Veit municipality in 1906 and received market rights two years later.