Nisha Prajapati It depends on various factors. Xanthomonas bacteria can survive at room temperature in sterile tap water for 15 years or more. I have been keeping some strains of these bacteria since 1994. However, dry bacteria or bacteria in non-sterile soil or water will not survive for long, dying in days or weeks.