Respiratory syncytial virus (RSV) is a leading cause of acute lower respiratory infection (ALRI) in children, causing frequent outpatient visits and hospitalizations. Our study aimed to describe the clinical and direct economic burden of ALRI hospitalizations related to RSV in children in Spain and the characteristics of patients and their episodes. In this retrospective study, ALRI hospitalizations in children aged < 5 years for 2015–2018 were reviewed using anonymized administrative public hospital discharge data from Spain. Three case definitions were considered: (a) RSV-specific; (b) RSV-specific and unspecified acute bronchiolitis (RSV-specific and bronchiolitis); and (c) RSV-specific and unspecified ALRI (RSV-specific and ALRI). The study reported a mean of 36,743 yearly admissions potentially due to RSV, resulting in a mean annual cost of €87.1 million. RSV-specific codes accounted for 39.2% of cases, unspecified acute bronchiolitis for 20.1%, and other unspecified ALRI codes for the remaining 40.6%. The mean hospitalization rate per 1,000 children was 55.5 in the first year of life, 16.0 in the second, and 5.4 between 24 and 59 months. A considerable proportion of cases occurred in children under two years old (> 80.4%) and even during the first year of life (> 61.7%). Otherwise healthy children accounted for 92.9% of hospitalizations and 83.3% of costs during the period. Children born preterm accounted for 1.3% of hospitalizations and 5.7% of costs. The findings revealed that RSV still contributes to a high burden on the Spanish health care system. Children under one year of age and otherwise healthy term infants accounted for most of the substantial clinical and economic burden of RSV. Current evidence potentially underestimates the true epidemiology and burden of severe RSV infection; thus, further studies focusing on the outpatient setting are needed.Supplementary InformationThe online version contains supplementary material available at 10.1186/s12879-023-08358-x.