Schwetzingen station was opened with the Rhine Railway on the
Mannheim–Schwetzingen–
Hockenheim–
Waghäusel–
Graben-Neudorf–
Eggenstein–
Karlsruhe route on 4 August 1870. The line and the station building formed part of the
Grand Duchy of Baden State Railway (
Großherzoglich Badische Staatseisenbahnen). In accordance with a law enacted by
Baden on 2 February 1870 and a concession issued on 3 April 1872 under the Bavarian-Baden Treaty of 23 November 1871, the Heidelberg–
Eppelheim–
Plankstadt–Schwetzingen section of the Heidelberg–Speyer railway was opened on 17 July 1873. It was extended to
Speyer on 10 December 1873 over a
pontoon bridge that had been established for road traffic in 1865. The builder and, until its nationalisation on 1 July 1894, the owner of this line was the Heidelberg Speyer Railway Company (
Heidelberg-Speyer-Eisenbahn-Gesellschaft), but it was operated, along with the Rhine Railway, by the Grand Duchy of Baden State Railway. With the opening of this line, Schwetzingen station became a small railway junction. The Mannheim-Friedrichsfeld–Schwetzingen railway, which branches from the Rhine Railway to the north of the station, was opened on 1 June 1880. The Schwetzingen–Ketsch tramway was opened by the
Rheinische Schuckert-Gesellschaft on 12 December 1910. An overland tramway was opened in 1927 to Schwetzingen of the Schwetzingen–Plankstadt–Eppelheim–Heidelberg route by the
Heidelberger Straßen- und Bergbahn AG (Heidelberg Street and Mountain Railway, HSB). Because of a sharp drop in passenger numbers, the line was closed on 31 March 1938. The Heidelberg–Schwetzingen–Speyer railway was bombed on 13 October 1941 during the Second World War, but not so badly damaged that it was untraffickable. The fixed bridge that had replaced the pontoon bridge in Speyer in 1938 was blown up by retreating German troops in 1945. As a result, the
Oftersheim–Speyer section was closed. Only a short branch line from Schwetzingen station to the industrial area of Hockenheim-Talhaus remained open for freight. The Rhine railway was electrified in the 1950s. The Heidelberg–Eppelheim–Plankstadt–Schwetzingen tramway, which was operated by HSB from 1927 to 1974, ran right through the villages, which was convenient for passengers, and provided strong competition to the Heidelberg–Schwetzingen–Speyer railway. Due to low demand the remaining part of the railway was closed for passengers and freight on 1 February 1967. A few years later, however, the Heidelberg–Schwetzingen tramway was closed because of the poor financial situation of the HSB. == Entrance building==