BackgroundThe health of migrants has received significant global attention, and it is a particularly significant concern in China, which has the largest migrant population in the world. Analyzing data on samples from the Chinese population holds practical significance. For instance, one can delve into an in-depth analysis of the factors impacting (1) the health records of residents in distinct regions and (2) the current state of family doctor contracts. This study explores the barriers to access these two health services and the variations in the effects and contribution magnitudes.MethodsThis study involved data from 138,755 individuals, extracted from the 2018 National Migration Population Health and Family Planning Dynamic Monitoring Survey database. The theoretical framework employed was the Anderson health service model. To investigate the features and determinants of basic public health service utilization among the migrant population across different regions of China, including the influence of enabling resources and demand factors, x2 tests and binary logistic regression analyses were conducted. The Shapley value method was employed to assess the extent of influence of each factor.ResultsThe utilization of various service types varied among the migrant population, with significant regional disparities. The results of the decomposition of the Shapley value method highlighted variations in the mechanism underlying the influence of propensity characteristics, enabling resources, and demand factors between the two health service types. Propensity characteristics and demand factors were found to be the primary dimensions with the highest explanatory power; among them, health education for chronic disease prevention and treatment was the most influential factor.ConclusionTo better meet the health needs of the migrant population, regional barriers need to be broken down, and the relevance and effectiveness of publicity and education need to be improved. Additionally, by considering the education level, demographic characteristics, and mobility characteristics of the migrant population, along with the relevant health policies, the migrant population needs to be guided to maintain the health records of residents. They should also be encouraged to sign a contract with a family doctor in a more effective manner to promote the equalization of basic health services for the migrant population.