Slovenian Railways (, SŽ) is the state railway company of Slovenia, created in 1991.
Slovenia is a member of the International Union of Railways (UIC). The UIC Country Code for Slovenia is 79.
History
What is now Slovenia received its first railway connection in the 1840s, when the Austrian Empire built a railway connection – Südliche Staatsbahn or Austrian Southern Railway – between its capital, Vienna, and its major commercial port, Trieste. Thus, Maribor was connected by railway to Graz in 1844. The stretch was extended via Pragersko to Celje in 1846, and further via Zidani Most to Ljubljana in 1849. A double-track line was continued via Postojna, Pivka, and Divača, finally reaching Trieste in 1857.
Before World War I, numerous other railways were built. In 1860, Pragersko was connected to Ormož and further to Čakovec, Croatia, thus connecting the Austrian and the Hungarian parts of the empire. In 1862, a single-track railway (expanded into double-track in 1944) along the Sava river was built, connecting Zidani Most with Zagreb.