The line was built as part of the Drammen Line that opened in 1872, as a narrow gauge (1067 mm) railway. It was rebuilt to standard gauge in 1922 and at the same time electrified. Later the line was rebuilt to double track. The line consisted of the last two kilometers of the Drammen Line that terminated at Oslo West Station (Oslo V). In 1980, the Oslo Tunnel between Skøyen and Oslo Central Station opened and Oslo V was closed. The last stretch of the Drammen Line was then transferred to a pure freight line.