|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: 横浜線, romanized: 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.
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.
Station numbering was introduced on 20 August 2016 with stations being assigned station numbers between JH13 and JH32. Numbers increase towards in the westbound direction towards Hachioji.
The through service operation onto the Sagami Line ended on 11 March 2022.
Despite the line's name, only approximately half of all trains run as far as Yokohama Station. Rapid (快速, Kaisoku) trains operate every 20 minutes during the daytime.
|Higashi-Kanagawa||東神奈川||-||0.0||●||Keihin-Tohoku Line (through to Yokohama and Ōfuna via the Negishi Line)
Keikyu Main Line (Keikyū Higashi-kanagawa)
|Kikuna||菊名||2.6||4.8||●||Tōkyū Tōyoko Line||Kōhoku-ku, Yokohama|
|Shin-Yokohama||新横浜||1.3||6.1||●|| Tokaido Shinkansen
Tōkyū Shin-Yokohama Line (SH01)
Yokohama Municipal Subway Blue Line (B25)
|Nakayama||中山||2.6||13.5||●||Yokohama Municipal Subway Green Line (G01)|
|Nagatsuta||長津田||2.0||17.9||●||Tōkyū Den-en-toshi Line |
|Machida||町田||2.7||22.9||●||Odakyu Odawara Line|
|Hashimoto||橋本||2.8||33.8||●||■ Sagami Line
Keio Sagamihara Line
|Katakura||片倉||1.4||40.0||●||Keiō Takao Line (Keiō-Katakura)|
|Hachiōji||八王子||2.6||42.6||●||■ Chūō Main Line |
Chūō Line (Rapid)
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.