The Ulm Railway Society (Ulmer Eisenbahnfreunde or UEF) is a German society for encouraging the preservation of historically valuable railway stock. It is based in the vicinity of Ulm, a city in the state of Baden-Württemberg in southern Germany. The society was founded in 1969, has about 600 members and around 12 steam locomotives as well as numerous historical wagons.