Streptococcus pneumoniae is a major worldwide human pathogen. This investigation has developed a reliable and accurate DNA microarray method for inter-species differentiation of S. pneumoniae and intra-species differentiation of the 23 groups of S. pneumoniae including serotypes represented in the 23-valent pneumococcal vaccine and the other 20 closely related serotypes. In addition to 16S rDNA probes, serotype- or serogroup-specific probes targeting the capsular polysaccharide synthesis (cps) genes, wzy or capA were generated. We adopted a two-step multiplex PCR to improve the sensitivity of detection to a level of 10(5) cfu/ml in pure culture or 50 ng DNA. A total of 169 isolates (from China, Australia, Canada and New Zealand) including 147 belonging to 23-valent vaccine and closely related serotypes of S. pneumoniae, 11 belonging to other serotypes and 11 of different species commonly isolated from respiratory tract were tested to verify the method. The DNA microarray method developed provides a sensitive means to rapidly identify the members of the most common S. pneumoniae serotypes in patients and to monitor their distribution in different patient groups and geographic locations. Such information is needed for disease surveillance and to monitor vaccine efficacy.