The total length of the railway network in North Macedonia is . Operated by Makedonski Železnici, the most important railway line is the line on the border with Serbia–Kumanovo–Skopje–Veles–Gevgelija–border with Greece. Since 2001, the railway line Beljakovci has been built—the border with Bulgaria, which will get a direct connection Skopje-Sofia. The most important railway hub in the country is Skopje, while the other two are Veles and Kumanovo.