Their advice for healthcare settings is to prefer hand sanitizer, because it’s better at killing germs, it doesn’t dry your skin as much, and you’re more likely to actually use it. https://www.cdc.gov/handhygiene/science/index.html
Their advice for community settings is to prefer soap and water, as far as I can tell because you’re more likely to have stuff on your hands (grease, dirt), and because kids might drink it. https://www.cdc.gov/handwashing/show-me-the-science-hand-sanitizer.html
This coronavirus-specific page seems to treat them interchangeably. https://www.cdc.gov/coronavirus/2019-ncov/hcp/guidance-prevent-spread.html
Their advice for healthcare settings is to prefer hand sanitizer, because it’s better at killing germs, it doesn’t dry your skin as much, and you’re more likely to actually use it. https://www.cdc.gov/handhygiene/science/index.html
Their advice for community settings is to prefer soap and water, as far as I can tell because you’re more likely to have stuff on your hands (grease, dirt), and because kids might drink it. https://www.cdc.gov/handwashing/show-me-the-science-hand-sanitizer.html
This coronavirus-specific page seems to treat them interchangeably. https://www.cdc.gov/coronavirus/2019-ncov/hcp/guidance-prevent-spread.html