 Construction of the line started in 1924, with the line opening in 1940. It allowed the district of Sogn access to Bergen and Oslo via the Bergen Line. Electric traction was taken into use in 1944; at first El 9 locomotives were used, and from 1982 El 11. Until 1991, the train connected with a ferry service from Flåm to Gudvangen. In 1992, freight services were terminated, and due to low ticket prices and high operating costs, the line was nearly closed. In 1998, Flåm Utvikling took over marketing and ticket sale for the line, prices were heavily increased and El 17 locomotives were introduced. The trains remain operated by the Norwegian State Railways (NSB), while the line itself is owned and operated by the Norwegian National Rail Administration.
