Stray currents in urban rail transit can accelerate the electrical corrosion process of equipment and facilities along the subway lines.This paper analyzes the generation mechanism and measurement methods of stray current separately,and investigates the stray current situation in the Shijiazhuang Metro Line 3.The analysis reveals issues such as poor insulation of the rails and metal structure polarization potentials exceeding allowable limits.To mitigate the occurrence of stray currents,several measures such as adjusting the action settings of the rail potential,increasing the inspection frequency of the rail potential devices,installing current diversion cabinets,and adjusting the unidirectional conductivity of the entry and exit section lines.These measures aim to reduce the interference of direct current(DC)stray current on the underground pipelines along the subway lines.