Friction stir welding (FSW) is a solid-state joining technology that is recognized for its potential to form high-strength welds between different materials. The purpose of this study is to investigate the enhancement of mechanical properties in AA5083/MgAZ31B joints through the use of FSW. The microstructure, mechanical properties, and appearance of Al–Mg joints are the primary areas of focus of the inquiry about the effects of various feed rates and rotational speeds. In particular, the macrostructure, impact strength, tensile strength, and microhardness of the welds were all thoroughly analyzed to determine the welding conditions that affected the quality of the joints. The findings show that the welding parameters, especially the rotating speed, have a substantial impact on the mechanical properties of the joints. A rotational speed of 700[Formula: see text]rpm and a feed rate of 10[Formula: see text]mm/min were found to be the ideal parameters, resulting in an impact energy of 7.6[Formula: see text]J and a tensile strength of 138.33[Formula: see text]MPa at the interface. Additionally, the production of an intermetallic compound in the heat-affected zone was seen to increase microhardness. A ductile failure mechanism typified by dimple rupture was identified by the microstructural study. This is a sign of well-made welds that enable appropriate heat input and suitable mixing of the different materials. The results of this study demonstrate FSW may improve the performance and structural integrity of AA5083/MgAZ31B joints. Future research will further refine the welding parameters and investigate the effects of post-weld heat treatments on the joints’ mechanical properties and corrosion resistance. This will pave the way for more widespread applications in industries that require lightweight and high-strength material combinations.