Mycoplasma pneumoniae is recognized as the leading cause of community-acquired lower respiratory tract infection in children, accounting for a significant proportion of pediatric mortality. Macrolides are the first-line treatment for M. pneumoniae infections. However, the extensive use of macrolides in clinical practice resulted in the emergence of macrolide-resistant M. pneumoniae (MRMP), which has a negative impact on treatment outcomes. Hence, in the present study, MRMP was determined in hospitalized children with community-acquired pneumonia (CAP). Real-time PCR detected M. pneumoniae in 41 of 348 clinical samples. Sanger sequencing revealed that none of the isolates were associated with the A2063G or A2064G base mutation, which confers macrolide resistance, in domain V of the 23S rRNA gene. Although MRMP was not observed in children with CAP in our study, healthcare practitioners should be vigilant about the potential risk of MRMP infections.