The invention relates to a method for identifying unknown microbes in a sample, wherein a mass spectrometric determination down to the taxonomic level of the genus or species is supplemented by a detailed determination of a lower taxonomic level or variety by means of infrared spectrometry, using restricted reference libraries of infrared spectra. These libraries can be genus-specific, containing only infrared spectra of microbes of one genus, or species- specific, containing only infrared spectra of microbes of one species. In so doing, a robust mass spectrometric identification of the species of unknown microbes is advantageously supplemented with a detailed analysis of the subspecies and varieties by means of infrared spectrometry, primarily in order to identify medically important varieties such as pathovars like EHEC and EPEC, and antibiotic-resistant microbes like MRSA.