Railway operations and the accompanying infrastructure are responsible for the emission of pollutants and toxic substances that adversely affect both the atmospheric air, soil and the groundwater environment. The main groups include such compounds as: trace metals and aromatic hydrocarbons (PAH). Contamination of the soil and water environment with harmful substances can be associated with many activities carried out on the railway. The problem is particularly relevant to liquid fuel loading and refuelling facilities as well as to increased traffic at railway junctions.