In order to study the automatic recommendation method of library cultural service items based on machine learning,mine user characteristic preferences,calculate the similarity of user service preferences,build a library service model,and realize the automatic recommendation of library cultural service items based on machine learning.The experimental results demonstrate that the design method has a higher recall rate and can recommend more resources that users prefer.