Both live and dead Salmonella typhimurium (S.T) are harmful to human health, but there are differences in pathological mechanism, dosage, and security. It is crucial to develop a rapid and simultaneous assay to distinguish and quantify live and dead S.T in foods. Herein, one dual-mode biosensor for simultaneous detection of live and dead S.T was fabricated based on two phage probes, using portable bioluminescence and fluorescent meter as detectors, respectively. Firstly, a magnetic phage capture probe (M-P1) and a phage signal tag (P2-S) labeled with SYTO 13 fluorescent dye were prepared, respectively. Both M-P1 and P2-S can specifically conjugate with S.T to form a magnetic sandwich complex. After magnetic separation, the isolated complex can emit a fluorescent signal under an excited 365 nm laser, which can reflect the total amount of S.T. Afterwards, the lysozyme was added to decompose the captured live S.T, which can release ATP and produce a bioluminescent signal corresponding to the live S.T amount. The dead S.T concentration can be deduced by the difference between total and live examples. The detection limit of 55 CFU/mL for total S.T and 9 CFU/mL for live ones was within 20 min. The assay was successfully employed in milk samples and prospectively for on-site screening of other dead and live bacteria, while changing the phages for the targets.