''For the original line's history and other information prior to 1945, see
Gyeongui Line (1904–1945).'' Originally the line continued to
P'yŏngyang and
Sinŭiju, where it connected to the
South Manchuria Railway, linking the Korean railway system to the rest of
Asia and
Europe. The
Korean Empire intended to build the Gyeongui Line itself at the end of the 19th century, but a shortage of funding resulted in the project's suspension. The
Empire of Japan, which gained a concession to build the
Gyeongbu Line from
Busan to
Seoul, also sought to gain control of the Gyeongui Line project as its continuation further north, recognizing the trunk route as a means to keep Korea under its influence.
Inter-Korea border After the
division of Korea in 1945, trains stopped operating between the north and south halves of the country, meaning that southern trains probably terminated at
Kaesŏng, which is now in North Korea but was at the time part of the
US-administered southern zone. Northern trains would have terminated north of Kaesŏng. After the end of the
Korean War in 1953, southern trains were cut back to around
Munsan (north of Seoul), with northern trains terminating at Kaesŏng. Around the same time, North Korea renamed the P'yŏngyang-Kaesŏng section of the line as the
P'yŏngbu (''P'yŏng
yang + Bu''san) Line and the P'yŏngyang-Sinŭiju section as the
P'yŏngŭi (''P'yŏng
yang + Sinŭi''ju) Line. The DPRK sector is now 100% electrified, although the double track section spans only from
Pyongyang to
Sunan Airport. Since the summit between the two Koreas in 2000, an effort has slowly been underway to reconnect the Gyeongui Line. Southern passenger service has been extended to
Dorasan on the edge of the
Demilitarized Zone (DMZ) and tracks have been built across the DMZ itself. In October 2004, the Northern connection from the DMZ to Kaesŏng was finally completed. Simultaneous test runs along the rebuilt cross-border sections of both the Gyeongui Line and the
Donghae Bukbu Line were set for May 25, 2006, but North Korean military authorities cancelled the plans a day ahead of the scheduled event. The first test run on the
Donghae Bukbu Line took place at the same time. On 30 November 2018 an engineers' inspection train from South Korea crossed the border at Dorasan for an assessment, conducted jointly with North Korean officials, of the North's Kaesong to Sinuiju (P'yŏngŭi) line, and rail routes northwards from
Mount Kumgang.
Upgrade Meanwhile, work began to upgrade the South Korean section for high-capacity commuter services. Between Seoul and Munsan, the line is converted into an electrified, double-tracked railway in a new, straighter, 48.6 km long alignment. Work began in November 1999, with a budget originally estimated at 1,970 billion won. The section from
Digital Media City (DMC) to
Munsan was finished on July 1, 2009. and the freed area on the surface was reconstructed into a park known as the
Gyeongui Line Forest Park. The line is to be further upgraded for , as part of a government strategic plan to reduce travel times for 95% of Korea to under 2 hours by 2020, which was announced on September 1, 2010. The
Gyeongui–Jungang Line (Munsan–Imjingang) extension opened on March 28, 2020. ==Services==