A key challenge in the production of high-grade automotive aluminum components through the High-Pressure Die Casting (HPDC) process is the imperative to minimize imperfection. In addressing this concern, this study utilizes friction stir processing (FSP), a widely recognized intense plastic deformation technique. FSP is applied to systematically alter the microstructure of HPDC Al-4Mg-2Fe, a prominent alloy extensively used in the die-casting sector. By using the pass strategy to incorporate both one-pass and two-pass approaches, the microstructure is selectively altered to establish a defect-free processed zone. The utilization of FSP demonstrates its efficacy in breaking aluminum dendrites and acicular silicon particles, leading to a uniformly dispersed arrangement of equiaxed silicon particles within the aluminum-based matrix. In addition, FSP eradicates porosity and disintegrates needle-like Fe particles, resulting in a more refined and homogeneously distributed structure. Subsequently, the material's mechanical properties processed by FSP were assessed in the longitudinal direction concerning the processing axis and then compared with those of the original base material.The microstructural refinement and reduction in porosity induced by FSP result in a notable enhancement in hardness, with an increase of 23 % after one pass and 37 % after two passes. The substantial improvement in mechanical properties during the FSP process is predominantly attributed to modifications in the morphology, refinement, and dispersion of intermetallic particles within the matrix. This improvement is further complemented by the ultrafine dispersion of casting defects.This study underscores the efficacy of FSP as a valuable tool for modifying microstructures and improving mechanical properties in HPDC Al-4Mg-2Fe alloys. Such advancements align with the lightweighting objectives pursued by the automotive industry.