Influenza B virus (IBV) causes respiratory tract infections with mild, moderate, or life‐threatening symptoms. This study describes the epidemiology of IBV infection in Rio Grande do Sul (RS), Brazil, over 17 years. Nasopharyngeal samples were collected from outpatients presenting acute respiratory illness (ARI) between 2003 and 2019, and from inpatients with severe acute respiratory infection (SARI) from 2009 to 2019. IBV was detected by immunofluorescence assay or quantitative real‐time polymerase chain reaction; demographic and clinical data were analyzed. In total, 48,656 cases of respiratory infection were analyzed, of which 20.45% were ARI, and 79.46% were SARI. Respiratory viruses accounted for 22.59% and 37.47% of the cases of ARI and SARI, respectively. Considering respiratory viral infections, 17.10% of ARI and 3.06% of SARI were associated with IBV. IBV circulated year‐round in RS, with an increase in autumn and winter, peaking in July (p = .005). IBV infection showed an association with age, and most outpatients positive for IBV were between 10 and 49 years old, whereas IBV infection in SARI affected mainly individuals ≤ 1 year or ≥ 60 years old. No significant association was found between sex and IBV infection. Coryza, sore throat, and myalgia were associated with ARI (p < .001). Moreover, 3.18% of the deaths associated with respiratory virus infection were positive for IBV; notably, cardiopathy (p < .001), metabolic disease (p < .001), and smoking (p = .003) were associated to fatality in IBV infection. IBV is an important cause of severe respiratory infections, and the fatality risk is high in individuals with cardiopathy and metabolic diseases.