Background: Previous Swedish studies have shown a social gradient on paediatric care for viral gastroenteritis. Aim: To study the effect of a free rotavirus vaccine programme on hospital care for viral gastroenteritis. Method: A register-based national cohort study of paediatric in- and outpatient care for viral gastroenteritis in children