The aim of the present study was to perform the molecular epidemiology of rotaviruses and noroviruses detected in sewage samples from a large wastewater facility from the city of Valencia, Spain. A total of 46 sewage samples were collected over a one-year period (September 2016 to September 2017). Norovirus and rotavirus were detected and quantified by RT-qPCR, genotyped by semi-nested RT-PCR and further characterized by sequencing and phylogenetic analyses. Noroviruses and rotaviruses were widely distributed in sewage samples (69.6% for norovirus GI, 76.0% norovirus GII, and 71.7% rotaviruses) and viral loads varied from 4.33 to 5.75 log PCRU/L for norovirus GI, 4.69 to 6.95 log PCRU/L for norovirus GII, and 4.08 to 6.92 log PCRU/L for rotavirus. Overall, 87.5% (28/32) of GI noroviruses could not be genotyped, 6.25% (2/32) of the samples contained GI.2 genotype, and another 6.25% (2/32) were positive for GI.4 genotype. The most common genotype of GII noroviruses was GII.2 (40%, 14/35), followed by GII.6 (8.6%, 3/35) and GII.17 (5.7%, 2/35) while the remaining GII strains could not be typed (45.7%, 16/35). Rotavirus VP4 genotype P[8] was the only one found in 19 out of 33 rotavirus-positive samples (57.7%). G2 was the most prevalent rotavirus VP7 genotype (15.2%, 5/33) followed by G3, G9, and G12, with two positive samples for each genotype (6.1%, 2/33). In one sample both G1 and G2 genotypes were detected simultaneously (3%). The results presented here show that the surveillance of noroviruses and rotaviruses in sewage is useful for the study of their transmission in the population and their molecular epidemiology.