The invention discloses a solar panel junction box shaping welding head assembly. The solar panel junction box shaping welding head assembly comprises a main mounting plate, two horizontal adjusting plates, adjusting assemblies, guided cylinders, a lifting plate, a linear sliding rail, a welding head assembly, a limiting block and a pressing plate assembly, wherein the two horizontal adjusting plates are installed on the main mounting plate, the adjusting assemblies are installed at the two side ends of the main mounting plate, the guided cylinders are installed on the horizontal adjusting plates, piston rods of the guided cylinders are fixedly connected with the lifting plate through connecting blocks, the lifting plate is slidably connected with the horizontal adjusting plates through the vertically-arranged linear sliding rail, the welding head assembly is installed at the lower end of the lifting plate, the pressing plate assembly is arranged below the welding head assembly, and the pressing plate assembly is movably connected with the main mounting plate. By means of the mode, the solar panel junction box shaping welding head assembly is flexible and convenient to operate, fast in temperature rise, high in temperature resistance, capable of guaranteeing that welding spots are firm, wide in the application range, and capable of rapidly cooling the welding head and a weldedproduct, avoiding the damage to the product, and preventing the welding head from being adhered.