The first Swedish railroad for public transport using horse-drawn carriages, the Frykstads railroad in Värmland was opened in 1849.

In 1853 the Riksdag of the Estates decided that the State would build main line railways, but that other lines would be built by private enterprises (often with cities as main owners), and in 1856 the first stretch, between Örebro and Nora (a private railroad), was opened for traffic.

The main line railways were of major importance for the development of the Swedish industry.
The first two main line railways were the Southern, stretching from Stockholm to Malmö in the south, and the Western, to Gothenburg in the west.
These line railways were finished between 1860-1864.
The Northern railway runs parallel to the Baltic coast (but not along it) up to Boden in northern Sweden, and was finished in 1894.
The Inland Railway runs from Gällivare in the north to Kristinehamn in the center of the country, through the central parts of northern Sweden, and was built between 1908-1937.
It was a part of the 1853 decision that the railways should avoid coasts, and not make detours to pass medium size cities along the route.
The reason for avoiding coasts (most evident for the railway to northern Sweden) was to protect it from military attacks, and because steam boats were already established along the coasts as a much faster transport method than before.
Railways built by private companies, e.g. Västkustbanan (1888), were however sometimes built very close to the coast.

The construction of the early main lines provided a fast and safe connection from the mines in the north to the rest of Sweden.
It also facilitated business (and private) travel, which had earlier required horse-drawn carriages.
Roslagsbanan is the oldest electrified railway line for personnel transportation in northern Europe.
Malmbanan, the railway line between Luleå, Sweden, and Narvik, Norway was inaugurated on July 14, 1903.
The stretch between Kiruna and Riksgränsen was the first major railway line in Sweden to be electrified in 1915.
The first Swedish railroad for public transport using horse-drawn carriages, the Frykstads railroad in Värmland was opened in 1849.
In 1853 the Riksdag of the Estates decided that the State would build main line railways, but that other lines would be built by private enterprises (often with cities as main owners), and in 1856 the first stretch, between Örebro and Nora (a private railroad), was opened for traffic.
The main line railways were of major importance for the development of the Swedish industry. The first two main line railways were the Southern, stretching from Stockholm to Malmö in the south, and the Western, to Gothenburg in the west. These line railways were finished between 1860-1864. The Northern railway runs parallel to the Baltic coast (but not along it) up to Boden in northern Sweden, and was finished in 1894. The Inland Railway runs from Gällivare in the north to Kristinehamn in the center of the country, through the central parts of northern Sweden, and was built between 1908-1937. It was a part of the 1853 decision that the railways should avoid coasts, and not make detours to pass medium size cities along the route. The reason for avoiding coasts (most evident for the railway to northern Sweden) was to protect it from military attacks, and because steam boats were already established along the coasts as a much faster transport method than before. Railways built by private companies, e.g. Västkustbanan (1888), were however sometimes built very close to the coast.
The construction of the early main lines provided a fast and safe connection from the mines in the north to the rest of Sweden. It also facilitated business (and private) travel, which had earlier required horse-drawn carriages. Roslagsbanan is the oldest electrified railway line for personnel transportation in northern Europe. Malmbanan, the railway line between Luleå, Sweden, and Narvik, Norway was inaugurated on July 14, 1903. The stretch between Kiruna and Riksgränsen was the first major railway line in Sweden to be electrified in 1915.
Rail transport in Sweden