With the deepening of market competition and the change of people's educational concept, after-school trusteeship of primary school students have been developing and expanding in recent years. However, many after-school trusteeship still adhere to the traditional marketing concept, fail to properly handle the relationship with consumers, ignore customer relationship management, reveal the dilemma of low user loyalty, and need to make timely changes. This study adopts the questionnaire survey method to investigate the customer relationship management, switching cost and customer loyalty of B primary school after-school trusteeship of primary school students in Xi'an. The analysis results show that the higher the degree of customer relationship management of after-school trusteeship, the higher the customer loyalty. The positive correlation of switching cost affects customer loyalty. Finally, this paper gives some suggestions that after-school trusteeship of primary school students should pay attention to customer relationship management, and in order to the further development.