
By the time the German Empire was founded in 1871, Berlin’s railroad infrastructure was no longer able to meet the transportation needs of the new imperial capital. The eight main rail lines leading to Berlin each terminated at terminal stations located on the outskirts of the city, meaning that changing trains cost travelers a great deal of time and convenience. Since 1851, traffic between the Stettin, Hamburg, Potsdam, Anhalter, and Frankfurt stations had been connected by a line popularly known as “Der Verbinder” (The Connector). This connecting line was used primarily to transport freight between Berlin’s stations. As road traffic increased, disruptive rail operations were shifted to nighttime hours, resulting in noise disturbances for local residents. As early as 1867, construction began on a new connecting railway, which was routed—as far as possible—outside built-up areas in a wide arc from the northwest in an easterly direction to the south of Berlin.
As a result, starting in 1869, the Hamburg, Lehrte, Stettin, North, East, Frankfurt, Görlitz, Dresden, Anhalter, and Potsdam stations were connected to the Ringbahn, which had been built by the state itself due to its importance. Due to a shortage of rolling stock, service was limited to freight trains until the Royal Railway Directorate in Berlin finally put twelve two-story third-class passenger cars, each with 90 seats, into service; these initially allowed for two train pairs to operate starting April 1, 1872, then three, with additional cars following in 1874. The influx of people into the imperial capital following the war of 1870–71 necessitated the completion of the still-missing section of the Ringbahn from the south near Schöneberg to the northwest via Wilmersdorf to Charlottenburg. This section of the Berlin Ringbahn was completed on November 15, 1877. In addition to powerful three-axle tank locomotives, two steam railcars were also put into service on the Ringbahn starting in 1879. To speed up boarding and alighting—and thus reduce the time trains spent at stations—standard compartment cars were increasingly used alongside the double-decker passenger cars starting around 1880.

With the opening of the Ringbahn, all eight main lines converging on Berlin had indeed been connected to one another. Nevertheless, these lines each terminated—in some cases far from the city center—at terminal stations that could only be reached by horse-drawn carriage. This inconvenient and time-consuming need to transfer gave rise to the idea of connecting the individual lines with an elevated railway running straight across the entire city from east to west. The government was also interested in this solution, as it would spare them the need to build a new terminal station in the western part of the city for the “Kanonenbahn”—a line currently under construction that ran from Berlin via Wetzlar to Metz. Following the insolvency of the Berlin City Railway Company—which had been founded in December 1873 by the State of Prussia and the private Berlin-Potsdam, Magdeburg-Halberstadt, and Berlin-Hamburg railway companies—the state took over the construction and operation of the Berlin City Railway in 1878. The winding route of the approximately 12-kilometer-long line—8 kilometers of which run on masonry viaduct arches and 2 kilometers on iron bridges—is due to the location of the available land in the heart of the city. Construction, which began in 1875, called for two tracks each for local service (opened February 7, 1882) and long-distance service (opened May 15, 1882). The city railway was intended to function as a single large station, with the Schlesischer Bahnhof and its facilities serving as the operational hub.
While 14 million passengers used the light rail system as early as 1884, that number had risen to 63 million by 1890 and reached 185 million by 1900. Consequently, shortly after the long-distance tracks opened—and later, during operation by the Deutsche Reichsbahn in the German Democratic Republic—it became clear that the Schlesischer Bahnhof (GDR: Ostbahnhof) could not handle the volume of traffic. For this reason, trains to Magdeburg were once again dispatched from the Potsdamer Bahnhof, Hamburg express trains from the Lehrter Bahnhof, and long-distance trains on the Görlitz Line from the Görlitzer Bahnhof. Due to a lack of available track capacity, the city railway was not available for freight traffic as originally planned. Only on the section between Schlesischer Bahnhof and Alexanderplatz did freight trains run starting in May 1886, primarily carrying fruits and vegetables to supply the newly built “Zentralmarkthalle.”
Until 1882, private railway companies also operated suburban service in Berlin. So-called “omnibus trains”—consisting of a type of streetcar locomotive (“Aviso”) as the traction unit and a double-decker car (Görlitz Railway) or a small two-axle tender locomotive with a few cars (Berlin-Hamburg Railway)—provided suburban service, albeit poorly, with long travel times, lack of heating, and no non-smoking or ladies’ compartments, they managed to provide suburban service—albeit with great difficulty. When the newly founded Berlin Railway Directorate took over the administration and operation of the “Berlin City Railway” in February 1882, 120 of the highly powerful three-axle tender locomotives of the Prussian T4 type were used as traction locomotives for the Berlin city, Ring, and Suburban Railways between 1882 and 1894. These remained in service until 1913. In addition, T2 locomotives with 1B and B1 wheel arrangements also proved their worth in city and ring-line service from 1882 to 1908.
The increasing volume of passenger traffic in the rapidly expanding imperial capital required the use of advanced technology on the winding route, with its short distances between stations and rising train weights. The trial operation of electric trains with ten three-axle cars, conducted in 1900 between Potsdamer Bahnhof and Zehlendorf, proved so successful that “fully electric service” began on July 1, 1903, between Potsdamer Ringbahnhof and Großlichterfelde-Ost. Power was supplied via a third rail from above. With the electrification of the city and ring railways, 800-volt electric service began throughout Berlin on May 15, 1929, after electric service—delayed by World War I—had previously been introduced in northeastern Berlin between Stettiner Bahnhof and Bernau (June 5, 1925), Hermsdorf-Oranienburg (October 4, 1925), and Gesundbrunnen-Velten (March 16, 1927). The term “Stadtbahn” evolved into the designation “S-Bahn,” which is commonly used in Germany today to refer to light rail transit in major German cities and metropolitan areas; in Berlin, this designation was introduced in December 1930 with the symbol of a white “S” on a green background.