Purpose The high specific strength makes magnesium alloys have a wide range of applications in aerospace, military, automotive, marine and construction industries. However, its poor corrosion resistance and weldability have limited its development and application. Friction stir welding (FSW) can effectively avoid the defects of fusion welding. However, the microstructure, mechanical properties and corrosion behavior of FSW joints in magnesium alloys vary among different regions. The purpose of this paper is to review the corrosion of magnesium alloy FSW joints, and to summarize the protection technology of welded joints. Design/methodology/approach The corrosion of magnesium alloy FSW joints includes electrochemical corrosion and stress corrosion. This paper summarizes corrosion protection techniques for magnesium alloys FSW joints, focusing on composition, microstructure changes and surface treatment methods. Findings Currently, this research is mainly focused on enhancing the corrosion resistance of magnesium alloy FSW joints by changing compositions, structural modifications and surface coating technologies. Refinement of the grains can be achieved by adjusting welding process parameters, which in turn minimizes the effects of the second phase on the alloy’s corrosion resistance. Originality/value This paper presents a comprehensive review on the corrosion and protection of magnesium alloys FSW joints, covering the latest research advancements and practical applications. It aims to equip researchers with a better insight into the field and inspire new studies on this topic.