In this study, a numerical model is developed for the analysis of buried pipeline considering longitudinal PGD due to liquefaction induced lateral spreading. Buried pipelines and surrounding soils are modeled as a continuous pipeline using beam elements and a series of elasto-plastic springs uniformly distributed along the pipeline, respectively. Idealized various PGD patterns based on the observation are used as a loading configuration and the length of the lateral spreading zone is considered as a loading parameter. Numerical results are verified with other research results and efficient applicability of the developed procedure is shown. Analyses are performed by varying different parameters such as PGD pattern, pipe diameter and pipe thickness. Finally, the critical length of the lateral spreading zone and the critical magnitude of PGD which cause local buckling failure are proposed for the steel pipe which are normally used in Korea.