Samples of soil, ground, electrolyte, corrosion products, and protective coating were taken after excavating pipelines. The depth of stress corrosion cracks of the pipe steel was mostly related to the numbers of sulfate-reducing and denitrifying bacteria. In certain types of soil, damage correlated with the number of acid-producing microorganisms and aerobic chemoorganotrophs (saprophytes). A correlation was found between the extent of stress-corrosion damage to pipelines and the contents of reduced iron, sulfides, and organic carbon in surrounding ground.