Pathogens are serious threats to human health, and traditional detection techniques suffer from various limitations. The unique optical properties of photoluminescent inorganic nanomaterials, such as high photoluminescence quantum yields, good photostability, and tunable spectra, make them ideal tools for the detection of pathogens with high specificity and sensitivity. In this review, the design strategies, working mechanisms, and applications of photoluminescent inorganic nanomaterial-based probes in pathogen detection are introduced. In particular, the design and construction of stimuli-responsive nanoprobes and their potential in these fields are highlighted.