The Amberg–Schnaittenbach railway, also known in the local dialect as the Hirschauer Bockl or Hirschau Goat, is a 22 kilometre long branch line in the county of Amberg-Sulzbach in the state of Bavaria, southern Germany.
The line leaves Amberg and initially follows the River Vils uphill before bending eastwards and reaching its terminal station at Schnaittenbach via the village of Hirschau.
In the period after the Second World War there were unsuccessful attempts to build a line from Schnaittenbach into the Naab valley to a junction at Wernberg, which would have considerably shortened the distance by rail to the porcelain factories in Upper Franconia who were the main customers of kaolin production.
Passenger services, which were provided for many years by three to four pairs of trains per day, suffered early on from competition with the railway's own buses and then with private motor vehicles.
After 1960 they reduced to just one pair of trains for school runs and on 30 May 1976 passenger services ended entirely.