Mycoplasma pneumoniae infections occur both endemically and epidemically, and macrolide resistance has been spreading for 10 years worldwide. A substantial increased incidence of M. pneumoniae infections has been reported in several countries since 2010. Whether this increased incidence is attributed to different or to the same M. pneumoniae genotype is unknown. We have developed a multilocus variable-number tandem-repeat (VNTR) analysis (MLVA) for the molecular typing of M. pneumoniae isolates. In this study, the MLVA typing method was modified and validated to be applicable directly to respiratory tract specimens without culture. This method was applied to 34 M. pneumoniae-positive specimens received at the Bordeaux Hospital, France, between 2007 and 2010 in an endemic setting, and to 63 M. pneumoniae-positive specimens collected during an epidemic surge of M. pneumoniae infections in 2010 in Jerusalem, Israel. The M. pneumoniae endemic spread was shown to be polyclonal in France, with 15 MLVA types identified. Strikingly, the Israeli epidemic surge was also a multi-clonal phenomenon, with 18 circulating MLVA types. The macrolide resistance-associated substitution, A2058G, was found in 22% of the Israeli patients. Macrolide-resistant M. pneumoniae belonged to four MLVA types, the MLVA type Z being the most frequent one. An association between the MLVA type Z and macrolide resistance might exist since macrolide resistance was present or generated during the course of illness in all patients infected with this MLVA type. In conclusion, the discriminatory power of the MLVA showed that the spread of M. pneumoniae strains in France in an endemic setting was polyclonal as well as the surge of M. pneumoniae infections in Israel in 2010.