Landslide disasters often occur along oil and gas pipelines, seriously affecting the safety of oil and gas transportation. Therefore, it is urgent to study the deformation and damage characteristics of pipelines under landslide disaster conditions. This article takes oil and gas pipelines under landslide disaster conditions as the research object, and based on numerical simulation methods, focuses on the influence of different landslide parameters on pipeline deformation and damage. The research results indicate that the length, width, height, and slope of landslides, as well as the relative position of pipeline landslides, have a significant impact on pipeline deformation and damage; When the oil and gas pipeline is laid in the middle of the landslide, the response of pipeline deformation and failure to slope sliding is most significant; The prediction results of the pipeline landslide geological hazard warning model are highly consistent with the original data and have wide applicability. The research results are of great significance for monitoring and evaluating geological hazards of pipeline landslides, and reducing the risk of geological hazards of pipeline landslides in the monitoring area.