Frost heave must be considered in cases where pipelines are laid in permafrost in order to protect the pipelines from overstress and to maintain the safe operation. In this paper, a finite element model for stress/strain analysis in a pipeline subjected to differential frost heave was presented, in which the amount of frost heave is calculated using a segregation potential model and considering creep effects of the frozen soil. In addition, a computational method for the temperature field around a pipeline was proposed so that the frozen depth and temperature variation gradient could be obtained. Using the procedure proposed in this paper, stress/strain can be calculated according to the temperature on the surface of soil and in a pipeline. The result shows the characteristics of deformation and loading of a pipeline subjected to differential frost heave. In general, the methods and results in this paper can provide a reference for the design, construction and operation of pipelines in permafrost areas.