In this paper effect of joint groove geometry on the residual stresses in circumferentially butt-welded still pipes is investigated by the finite element simulation. The elements birth and death technique is used for modeling of filling metal and joint groove geometry. The electrode heat power is modeled by a moving heat source which has a Gaussian distribution on a spherical domain. By using a transient region, elements near the welding zone are refined in a good manner. For validation of the proposed model, results obtained from model are compared with experimental data. Then three different joint geometry; V-joint, U-joint and X-joint are studied by the presented model.