The invention discloses a welding process for a stainless steel pipe fitting. The welding process comprises the following steps of S1, manufacturing a threaded part; S2, extruding a molded part, specifically, processing a thin-wall pipe by virtue of an extrusion molding machine to form the molded part with one closed end; S3, preheating, specifically, heating the threaded part and the molded partto 500 DEG C through a heater; S4, performing vacuum sealing, specifically, clamping the threaded part at a rotating end of a welding machine, clamping the molded part at a moving end of the welding machine, forming a sealed space by means of a housing, and vacummizing the sealed space; S5, performing friction welding, specifically, driving the threaded part by a motor to rotate at a high speed, meanwhile, enabling the molded part to gradually get close to the threaded part under the action of axial force of an oil cylinder piston, and after the threaded part makes contact with the molded partand is pressed tightly, maintaining the state for 6s; and S6, upsetting, specifically, performing braking, enabling the axial force to rapidly increase to the set upsetting pressure of 3.0-4.0MPa/mm2for upsetting, and the upsetting pressure maintaining time is 1-5 seconds. By means of cooperation of friction welding, preheating and vacuum welding, high-quality welding of the stainless steel pipefitting is achieved.