Due to the shortage of transmission corridors, the construction of overhead transmission lines in China is often parallel or cross-erected with oil and gas pipelines. Electromagnetic interference and the pipeline's safety and protection of "two lines and one place" have become research hotspot. However, few studies are on the induced overvoltage of neighboring pipelines when lightning strikes transmission lines. The electromagnetic analysis software CDEGS is used to simulate the influence factors and protective effect of overvoltage induced by lightning of the pipeline anticorrosive coating when the transmission line tower is close to the oil and gas pipeline. A simplified model of the tower and pipeline is established. The distance between the line and pipeline, geological conditions and the structure of the grounding grid of the tower are simulated and analyzed. Corresponding construction suggestions for pipeline overvoltage protection are given. The research results provide reference for the construction and reconstruction of "two lines and one place".