This invention relates to the monitoring of the integrity of casing, tubing and other strings in oil and gas wells. The technical result of this invention consists in increased accuracy and trustworthiness in detecting and locating transverse and longitudinal defects in well completion components and downhole equipment, in both the magnetic and non-magnetic first, second and other metal barriers. Electromagnetic defectoscopy in multi-string wells includes measuring EMF induced in a coil by eddy currents generated in metal barriers by the decay of the electromagnetic field produced by magnetization current pulses in the coil. A series of pulses of fixed duration in the range of 0.1-1000 ms is fed to each exciter-and-pickup coil to sequentially magnetize all metal barriers starting from the nearest one, with pulse durations increasing for each next barrier. The recorded data are saved and processed by comparing them with model data, and the processing results indicate detects in the metal barriers. The downhole