Background: Breastfeeding is a well-established and recommended intervention for better development of infants. In China, less than one third of infants under 6 months of age are being exclusively breastfed. Maternal rural-to-urban migration contributes to these low rates of breastfeeding practices. Therefore, the aim of this study was to assess the prevalence of breastfeeding practices and associated factors among rural-to-urban migrant children and local children with infants aged 0-12 months in China, 2018.Methods: Data were collected from a population-based cross-sectional survey in 2018 that included 6995 infants from 8 urban areas (4 metropolis and 4 medium sized/small cities) in China with available measures of breastfeeding. The prevalence of breastfeeding practices was calculated by maternal migrant status and logistic regression was conducted to examine the association between the prevalence of breastfeeding practices and maternal migrant status, after adjusting for social-demographic characteristics, mother-infant health information and supportive information. For exclusive breastfeeding, we calculated the prevalence and its association with maternal rural-to-urban migration, stratified by maternal education level, maternal resident place and maternal ethnicity, respectively. Results: The overall prevalence of ever breastfeeding, predominant breastfeeding, exclusive breastfeeding and age-appropriate breastfeeding (exclusive breastfeeding of infants under 6 months of age and complementary feeding from 6 to 12 months of age) was 97.51%, 29.84%, 59.89% and 45.07%, respectively. Rural-to-urban migrant children were less likely to be exclusively breastfed compared to local children (AOR=0.81, 95% CI 0.68, 0.95). Stratified by different social-demographic variables, a negative association between exclusive breastfeeding and rural-to-urban migration was only found in the group with high education level, in the group living in metropolis and in the group of minorities, respectively. Conclusion: The overall prevalence of breastfeeding practices was low in both rural-to-urban migrant children and local children. Besides common strategies, special approaches should be provided for migrants with high education, living in metropolis and being minorities.