The new alloying concept of multi-element systems with defined entropy (HEA—high-entropy alloy; MEA—medium-entropy alloy) is gaining increasing importance in materials research. Significantly improved properties or combinations of properties are shown by some HEA/MEA systems. Thus, primarily the production and resulting microstructures of HEA, as well as its properties, have been investigated so far. Furthermore, processing is a main issue in transferring HEA systems from the laboratory to real components. Since welding is the most important joining process for metals, it is crucial to investigate the influence of welding to guarantee component integrity. Welding leads to residual stresses, which significantly affect the component integrity. Hence, the focus of this study is the residual stress formation and distribution in a CoCrFeMnNi HEA and ternary CoCrNi MEA using two different welding processes: tungsten inert gas (TIG) welding and solid-state friction stir welding (FSW). As a pathway for the application of HEA in this investigation, for the first time, residual stress analyses in realistic near-component specimens were performed. The residual stresses were determined by X-ray diffraction (XRD) on the surfaces of top and root weld side. The results were correlated with the local welding microstructures. The results show that both FSW and TIG generate significant tensile residual stresses on the weld surfaces in, and transverse to, the welding direction. In the case of FSW of the CoCrFeMnNi HEA, the longitudinal residual stresses are in the range of the yield strength of approx. 260 MPa in the weld zone. [ABSTRACT FROM AUTHOR]