Rail transport in France is marked by a clear predominance of passenger traffic, driven in particular by high-speed rail. The SNCF, the national state-owned railway company, operates most of the passenger and freight services on the national network managed by its subsidiary SNCF Réseau. With a total of 29,901 kilometres (18,580 mi) of railway, France operated the second-largest European railway network in 2007. As of 2021, it was among the ten longest railway networks in the world.
The first railway line in the country opened in 1827 from Saint-Étienne to Andrézieux. The network has undergone a major modernization since 1981 with the arrival of the TGV high-speed rail service which has been consistently expanded in subsequent years.