|Locale||Kanagawa Prefecture, Tokyo|
|Rolling stock||E233-6000 series|
|Daily ridership||840,200 (daily 2015)|
|Line length||42.6 km (26.5 mi)|
|Track gauge||1,067 mm (3 ft 6 in)|
|Electrification||1,500 V DC overhead catenary|
|Operating speed||95 km/h (59 mph)|
The Yokohama Line (Japanese: 横浜線, Japanese pronunciation: [Yokohama-sen]) is a Japanese railway line of the East Japan Railway Company (JR East) connecting Higashi-Kanagawa Station in Yokohama, Kanagawa and Hachiōji Station in Hachiōji, Tokyo. The line forms part of what JR East refers to as the "Tokyo Mega Loop"(Japanese: 東京メガループ) around Tokyo, consisting of the Keiyo Line, Musashino Line, Nambu Line, and Yokohama Line. The line's name comes from the section between Nagatsuta and Higashi-Kanagawa that runs through the city of Yokohama. Nicknamed the Hama-sen (浜線) by locals, the line serves commuters in the southwestern suburbs of Tokyo and northeastern suburbs of Yokohama.
Despite the line's name, only approximately half of trains run as far as Yokohama Station. Rapid (快速, Kaisoku) trains operate every 20 minutes during the daytime.
|No.||Station||Japanese||Distance (km)||Rapid||Through to
|Higashi-Kanagawa||東神奈川||-||0.0||●||to Chigasaki via the Sagami Line||Keihin-Tohoku Line (through to Yokohama and Ōfuna via the Negishi Line)
Keikyu Main Line (Keikyū Higashi-kanagawa)
|Kikuna||菊名||2.6||4.8||●||Tokyu Toyoko Line||Kōhoku-ku, Yokohama|
Yokohama Municipal Subway Blue Line (B25)
|Nakayama||中山||2.6||13.5||●||Yokohama Municipal Subway Green Line (G01)|
|Nagatsuta||長津田||2.0||17.9||●||Tokyu Den-en-toshi Line, Kodomonokuni Line|
|Machida||町田||2.7||22.9||●||Odakyu Odawara Line|
Keio Sagamihara Line
|Katakura||片倉||1.4||40.0||●||●||Keiō Takao Line (Keiō-Katakura)|
|Hachiōji||八王子||2.6||42.6||●||●||Chuo Main Line, Hachiko Line|
Keio Line (Keiō-Hachiōji)
Local and Rapid services
Sagami Line through services
8-car 205 series EMU trains were introduced in 1988. In these sets, the second car from the Higashi-Kanagawa end had six pairs of doors on each side to allow rapid boarding and disembarking during peak periods. The last 205 series set on the Yokohama Line ran on 23 August 2014.
The line was opened by the private Yokohama Railway (横浜鉄道, Yokohama Tetsudō) on 23 September 1908 and leased to the government in 1910. The line was nationalized on 1 October 1917.
The Higashi-Kanagawa to Haramachida (now Machida) section was electrified on 1 October 1932, with the Haramachida to Hachiōji section electrified on 14 April 1941.
The Higashi-Kanagawa to Kozukue section was double-tracked by 1968, extended to Aihara by 1980, and completed to Hachiōji on 6 March 1988.
Through service trains from the Sagami Line began on 16 March 1991, when that line was fully electrified. The through service operation is scheduled to end after 11 March 2022.