ObjectivesTo identify factors independently associated with respiratory syncytial virus (RSV) detection in infants admitted for viral bronchiolitis during 3 consecutive years, before and during the COVID‐19 pandemic, in Bogota, Colombia, a middle‐income country with a subtropical highland climate.MethodsAn analytical cross‐sectional study was conducted before and during the COVID‐19 pandemic, including patients with a diagnosis of viral bronchiolitis admitted to all the hospitals of the city between January 2019 and November 2021. We evaluated a set of a priori‐selected predictor variables that included individual, healthcare system, meteorological, air pollutant, and COVID‐19 variables. Since the variables analyzed are hierarchical in nature, multilevel modeling was used to identify factors independently associated with detection of RSV as the causative agent of viral bronchiolitis.ResultsA total of 13,177 patients were included in the study. After controlling for potential confounders, it was found that age (odds ratio [OR] 0.86; 95% confidence interval [CI] 0.76–0.97), a third level of medical care institution (OR 3.05; 95% CI 1.61–5.76), temperature (OR 1.60; 95% CI 1.24–2.07), rainfall (OR 1.003, 95% CI 1.001, 1.005), NO2 (OR 0.97; 95% CI 0.95–0.99), CO (OR 0.99; 95% CI 0.99–0.99), and COVID‐19 pandemic period (OR 0.84, 95% CI 0.71–0.99) were independently associated with RSV detection in our sample of patients.ConclusionsThe identified factors associated with RSV detection provide additional scientific evidence that may be useful in the development of specific interventions aimed at ameliorating or preventing the impact of RSV in Bogota and probably other similar low‐ to middle‐income countries in high‐risk infants.