Plans to link Allersberg to the railway network at the end of the 19th century variously envisaged routes from Nuremberg, Ochenbruck or Roth, but in the end the Royal Bavarian State Railways built a branch from the Nuremberg–Regensburg railway at Burgthann.
The Deutsche Bundesbahn decided to close the route as early as the 1970s.
After the line was dismantled, large sections of the trackbed were converted into a footpath and cycle way.
The former station buildings at Pyrbaum and Allersberg are now homes.
At another location, 33 years later, on 6 December 2006, the new Allersberg (Rothsee) station on the Nuremberg–Ingolstadt high-speed railway was opened.