The developed MALDI-TOF NAMS assay exhibits high sensitivity, specificity, and reliability in detecting and distinguishing a wide spectrum of porcine viruses in complex matrix samples. This underscores its potential as an efficient diagnostic tool for porcine-derived virus surveillance and swine disease control.