Through a method in the field of artificial intelligence, the personalized search system for enhancing privacy protection based on federated learning is achieved, a hardware architecture of the systemis composed of a client and a server, a personalized search framework based on federated learning is constructed, a specifically trained underlying model is a personalized sorting model, and the personalized sorting model is a personalized search framework based on federated learning. Clients and data stored in the clients jointly participate in training of a personalized sorting model in a federated learning mode, the trained model is deployed on each client, query is initiated on the clients, search history H of a user is stored, a user portrait P is constructed, non-personalized results returned from a server is rearranged, and the rearranged non-personalized results are displayed to the user. The problem of protecting the privacy of the user when the user interest is mined by utilizing the query history of the user to deduce the current query intention is solved; based on the framework, two models of FedPSFlat and FedPSProxy are designed, so that the problem of data heterogeneityis solved, and the problems of performance bottleneck, communication obstacle and privacy attack faced by single-layer FedPSFlat are solved.