With the continuous acceleration of economic development, people's living standards continue to improve, the importance of food safety is also increasing, in this opportunity, many third-party testing small and medium-sized type of enterprises developed rapidly, and for this type of enterprise, the level of technical personnel directly determines the level of development of the enterprise, how can attract and retain excellent technical personnel become the key to the development of the management of such enterprises. Therefore, the study of third-party testing of small and medium-sized enterprises on the loss of technical personnel, through the investigation and analysis of research to find out the problems, and to address the problems put forward real-time operational measures, for the stability of the third-party small and medium-sized testing company's talent team and to achieve sustainable development of enterprises is of great significance. In this paper, we take X-Tech, a start-up company with food and Chinese herbal medicine testing as its main business, as an example, and in the process of its growing business and scale, some important problems have emerged that affect the company's development. In this context, this paper analyzes the causes of the company's personnel turnover and proposes targeted solutions for optimization.