The residual magnetic field in a magnetic shielding device with a multilayer high permeability material (permalloy) structure can be obtained at the nanotesla (nT) level or even lower. At present, in the process of designing a magnetic shielding device, most of the external environmental magnetic field settings are set at the size of the Earth’s environmental magnetic field, but the instruments inside the magnetic shielding device need to be powered, the active compensation coil needs to be powered, and the degaussing coil of passive shielding layer needs to be powered, so substations need to be used around magnetic shielding devices. The magnetic field generated by the substation will affect the magnetic shielding device, so this paper analyzes and measures the magnetic field generated by the substation. Firstly, the finite element model of a substation is established, and the influence of different substations on the environmental magnetic field is analyzed by changing the power. Secondly, the test method of a substation environment magnetic field is determined. Finally, the site test was carried out to measure the influence of different power substations and different distances on the magnetic field, and its influence on the magnetic shielding device was analyzed, which provided an important basis for the construction of the magnetic shielding device.