When a narrow gap was formed under appropriate welding conditions in the steel pipe manufacturing process using highfrequency resistance welding, temperature distribution was analyzed to predict the length of the gap. Assuming the length of the gap from the apex point to the welding point at an applied voltage, and calculating the temperature distribution around the gap, the length of the gap with an appropriate fusion width at the welding point could be estimated. Along with this, the current density and magnetic flux density distributions that appeared in the narrow gap were obtained according to the change in the applied voltage, and the distribution shape and size of the electromagnetic force acting on the gap were also predicted. The current density, magnetic flux density, and electromagnetic force gradually increased along the narrow gap, showing the maximum value at the welding point. In the temperature distribution in the narrow gap, the surface of the front end began to melt at an appropriate applied voltage, and the melting width was the largest at the welding point. As the applied voltage increased, the narrow gap became longer, and the appropriate gap length appeared in proportion to the applied voltage.