How Long is Gastroenteritis Contagious?

Depending on which virus caused the gastroenteritis you could be contagious from 2 days to 2 weeks after you recover. Children are typically contagious longer than adults.