The Humboldt squid (Dosidicus gigas), is a significant economic species off Peru. The abundance and distribution of the species are highly susceptible to fluctuations in marine environmental conditions. The evolution of mesoscale eddies represents one of the dynamic processes in the ocean, exerting varying degrees of influence on regional biogeochemical processes from generation to dissipation. However, the mechanisms governing the regulation of abundance and spatial distribution of D. gigas off Peru during this evolution remain unclear. Therefore, this study employed normalization techniques and the habitat suitability index (HSI) model, utilizing data from the D. gigas fishery, mesoscale eddies, and marine environmental factors (including sea surface temperature, temperature at 50 m depth, and chlorophyll-a concentration) to analyze the environmental changes and the abundance, spatial distribution, and habitat changes of D. gigas during the evolution of mesoscale eddies. The results indicate that eddies undergo four stages: formation, intensification, maturity, and decay. During eddy evolution, the abundance of D. gigas exhibited an initial increase and a subsequent decrease within cyclonic eddies (CEs), whereas, within anticyclonic eddies (AEs), abundance showed a gradual decline. The outcome of the HSI model revealed that, the habitat suitability and the proportion of suitable habitat areas within eddies were highly consistent with the abundance of D. gigas during all stages of the eddies other than the intensification stage of AEs. The study speculated that both CEs and AEs can create favorable environmental conditions during the maturity stage, thereby leading to an increase in suitable habitat and abundance of D. gigas. These findings emphasize the significant impact of mesoscale eddy evolution on the abundance and habitat distribution of D. gigas.