Two years after the completion of the construction of the
Neu-Ulm–Kempten railway in 1863, the citizens of
Wangen campaigned for a cross-border line connecting the
Buchloe–Lindau railway with the new line in Memmingen. Since this proposal lacked political support, the plans came to nothing and meanwhile the
Herbertingen–Isny railway was opened through the
Württemberg Allgäu in various stages until 1880. Nevertheless, there continued to be support for a connection to
Bavarian Swabia and
Upper Bavaria. In 1876 and 1886 there were further proposals from Memmingen for building a direct connection to
Lindau through Württemberg. The second proposal resulted in negotiations between the two countries, although this was initially unsuccessful because
Bavaria insisted on responsibility for the management of the entire line to Lindau. However, starting in 1870, the German military increasingly urged the closure of the last gaps in the railway between the garrisons in southern Bavaria and Württemberg and southern
Alsace, finally leading to the signing of a treaty in 1887. After nearly three years of construction, the line from Leutkirch im Allgäu to Memmingen was opened on 2 October 1889. Leutkirch was connected to the existing Württemberg Allgäu Railway from
Aulendorf via
Kißlegg to Wangen and
Isny. A new "wedge" station (
Keilbahnhof) was built at Leutkirch. The military was involved in the implementation: the tracks in the Württemberg area were commissioned for the
Royal Württemberg State Railways (
Königlich Württembergischen Staats-Eisenbahnen) by members of the Berlin railway regiment; its exercises sometimes involved participation in civil construction projects. The closure of the second gap at a border between Wangen and Hergatz on 15 July 1890 finally created an alternative connection to the Bavarian Allgäu Railway from Munich and Augsburg to Lindau via
Buchloe, with the newer route through Württemberg shorter than the older Bavarian Allgäu Railway via
Kempten. The line has been electrified as part of the Munich–Lindau line with work completed in December 2020. During the construction for the upgrade and the electrification, several level crossings went adaptable with new safety systems, overpasses replaced some level crossings. Acoustic barriers were newly constructed around
Memmingen and
Leutkirch station. ==Route==