The Hejaz railway (also spelled Hedjaz or Hijaz; Arabic: سِكَّة حَدِيد الحِجَاز sikkat ḥadīd al-ḥijāz or Arabic: الخَط الحَدِيدِي الحِجَازِي, Ottoman Turkish: حجاز دمیریولی, Turkish: Hicaz Demiryolu) was a narrow-gauge railway (1,050 mm / 3 ft 5+11⁄32 in track gauge) that ran from Damascus to Medina, through the Hejaz region of modern-day Saudi Arabia, with a branch line to Haifa on the Mediterranean Sea. The project was ordered by Sultan Abdul Hamid II in March 1900.
It was a part of the Ottoman railway network and the original goal was to extend the line from the Haydarpaşa Terminal in Kadıköy, Istanbul beyond Damascus to the Islamic holy city of Mecca. However, construction was interrupted due to the outbreak of World War I, and it reached only to Medina, 400 kilometres (250 mi) short of Mecca. The completed Damascus to Medina section was 1,300 kilometres (810 mi). It was the only railway completely built and operated by the Ottoman Empire.