The invention relates to the detection of specified, flagellated bacteria, particularly Salmonella, in food and stool. A single culturing period of about 12 to 24 hours in a liquid nutrient medium without agitation is combined with a position-selective sampling of the flagellated microbes from the liquid of the culture, after which a mass spectrometric detection method is used which recognizes the target bacteria in mixtures. A second culture step is only necessary in exceptional cases. A species-selective or genus-selective culture medium is advantageous. Positional selection becomes possible because these bacteria use their flagella to counteract sedimentation by chemotaxis, and they collect near the surface. This provides a low-cost detection method that is several days faster than conventional methods