Serratia marcescens is an opportunistic nosocomial pathogen and causes wound and burn infections. It shows high resistance to antibiotics and its pathogenicity is mediated by an arsenal of virulence factors. Another therapeutic option to such infections is targeting quorum sensing (QS), which controls the expression of different S. marcescens virulence factors. Prevention of QS can deprive S. marcescens from its bacterial virulence without applying stress on the bacterial growth and facilitates the eradication of the bacteria by immunity. The objective of the current study is to explore the antimicrobial and antivirulence activities of xylitol against S. marcescens. Xylitol could inhibit the growth of S. marcescens. Sub-inhibitory concentrations of xylitol could inhibit biofilm formation, reduce prodigiosin production, and completely block protease activity. Moreover, xylitol decreased swimming motility, swarming motility and increased the sensitivity to hydrogen peroxide. The expression of rsmA, pigP, flhC, flhD fimA, fimC, shlA bsmB, and rssB genes that regulate virulence factor production was significantly downregulated by xylitol. In silico study showed that xylitol could bind with the SmaR receptor by hydrophobic interaction and hydrogen bonding, and interfere with the binding of the natural ligand with SmaR receptor. An in vivo mice survival test confirmed the ability of xylitol to protect mice against the virulence of S. marcescens. In conclusion, xylitol is a growth and virulence inhibitor in S. marcescens and can be employed for the treatment of S. marcescens wound and burn infections.