We investigated socio-economic and geographical determinants of hospital care for viral gastroenteritis in young children. This is a register-based study in a national birth cohort of 752078 children 0-5years of age in Sweden during 2006-2012. Hazard ratios (HR) of time to first admission and first episode of outpatient emergency department (ED) care with a diagnosis of viral gastroenteritis were estimated with Cox regression. The adjusted HRs for hospital admission with a diagnosis of viral gastroenteritis were increased when the mother was below 25years at the birth of the child, 1.30 (95% CI: 1.24-1.35), had a short (<=9years) education, 1.18 (95% CI: 1.12-1.23), a psychiatric disorder, 1.34 (95% CI: 1.30-1.39), and/or when parents were born outside Europe, 1.23 (95% CI: 1.18-1.29). In contrast, the disposable income of the family was only marginally associated with such hospital admissions. The pattern of HRs for outpatient ED hospital care was similar. Hospital care incidences for viral gastroenteritis differed considerably between Swedish counties. Parental indicators associated with a lower level of health literacy increase the risk for hospital care due to gastroenteritis in young children. Information about oral rehydration should be provided in ways that are accessible to these parents.