As an important branch of production scheduling, the flexible job shop scheduling problem (FJSP) is a typical NP-hard problem. Researchers have adopted many intelligent algorithms to solve the FJSP problem, nonetheless, the task of dynamically adapting its essential parameters during the computational process is a significant challenge, resulting in the solution efficiency and quality failing to meet the production requirements. To this end, this paper proposes an adaptive gray wolf fast optimization algorithm (SS-GWO), which adopts the gray wolf algorithm (GWO) as the basic optimization method, and the algorithm adaptively selects the global search or local search according to the degree of agglomeration of individuals. Firstly, a non-linear convergence factor strategy is employed to control the global exploration and local exploitation capabilities of the algorithm at different stages. This enhances optimization precision and accelerates convergence speed, achieving a dynamic balance between the two. Secondly, the spiral search mechanism of Whale Optimization Algorithm is used in GWO to improve the exploration capability of Gray Wolf Optimization Algorithm. Finally, the effectiveness of SS-GWO model is verified by comparison experiments. The comparison demonstrates the superiority of SS-GWO over the other five state-of-the-art algorithms in solving the 22 classical benchmark test functions. SS-GWO is applied to solve FJSP by means of the standard test function bandimarte calculus. The optimal solution and performance of SS-GWO for solving FJSP are compared with other algorithms. The experimental results show that the SS-GWO algorithm has good optimization performance, and the maximum completion time is reduced by 19% and 37% compared with that of IGWO and GWO, respectively, and the proposed SS-GWO algorithm achieves a better solution effect on flexible job shop scheduling instances, which can satisfy the actual production scheduling needs.