Some viruses can remain on surfaces up to 7 days, although some only stay around for 24 hours. Bacteria tend to live on surfaces for a much shorter time, from a few hours to a few days.