The Railway Main Line (富山地方鉄道本線 Toyama Chihō Tetsudō Hon-sen?) is a Japanese railway line that connects Dentetsu-Toyama Station in Toyama, Toyama with Unazuki Onsen Station in Kurobe, Toyama. It is owned and run by Toyama Chihō Railway.
The first section of what is now this line was opened by Tateyama Light Railway Co. as a 762mm gauge line between Gohyakkoku (on the Toyama Chiho Railway Tateyama Line) and Namerikawa in 1913.
The Kurobe Railway Co. opened the Dentetsu Kurobe - Unazuki Onsen section as a 1067mm gauge line between 1922 and 1923.
In 1932 the Toyama Electric Railway Co. acquired the Tateyama Light Railway Co. and built a line from Dentetsu-Toyama to Namerikawa, regauging some of the original line to 1067mm gauge, and electrifying it at 1500 VDC.
The Namerikawa - Dentetsu Kurobe section was opened between 1935 and 1936, and the Kurobe Railway Co. was merged with the Toyama Electric Railway Co. in 1943 to create the current company, with the electrification to Unazuki Onsen commissioned the same year.
CTC signalling was commissioned on the line between 1966 and 1967, and the Dentetsu-Toyama - Inarimachi section was duplicated in 1969. Freight services ceased in 1983.