The Bavarian Railway Museum (Bayerische Eisenbahnmuseum or BEM) is a railway museum based in the old locomotive sheds at Nördlingen station in Bavaria, Germany. It is home to more than 100 original railway vehicles and has been located in the depot (Bahnbetriebswerk or Bw) at Nördlingen since 1985.
The shed, itself, has a long history. As early as 1849, with the construction of the Ludwig South-North Railway from Lindau to Hof, a workshop appeared for the maintenance of steam locomotives and wagons. Wings 2 and 3 of the roundhouse date from this time; since then they have just been extended. The workshop building, too, dates from the 1800s, as well as the floor plan of the first recorded engine shed. The facility was regularly expanded and its use adapted in the course of time up to 1937. The last expansion was carried out from 1935 to 1937, when the locomotive shed was lengthened and a 20-metre turntable installed.
A major event in its history were the air attacks during the Second World War in 1944 and 1945, when large parts of the shed were destroyed. Only wings 2 and 3 of the roundhouse were spared, as well as the workshop building and the water tower. The facility was rebuilt and in places modernised in the years up to 1949.
For a short period the locomotive shed experienced new life as it was allocated V 100 diesel locomotives, VT 98 railbuses and ETA 150 accumulator cars. By 1966 the routine stabling of steam locomotives had ended. With the electrification of the Ries Railway (Riesbahn), Donauwörth–Aalen, and the Danube Valley Railway (Donautalbahn), Neuoffingen–Ingolstadt many of the diesel engines were dispensable, so that in 1982 the locomotive shed was closed as an independent facility. The closure of the branch lines radiating from Nördlingen did one more thing to return peace to the entire station at Nördlingen. In 1985 the railway maintenance division was moved out and operations as a satellite of Augsburg locomotive shed were ceased.