Ventilator-associated pneumonia (VAP) remains one of the major causes of infection in the intensive care unit (ICU) and is associated with the length of hospital stay, duration of mechanical ventilation, and use of broad-spectrum antibiotics. We compared the frequency of VAP 10 months prior to (pre-intervention group) and 13 months after (post-intervention group) initiation of the use of a heat and moisture exchanger (HME) filter. This is a study with prospective before-and-after design performed in the ICU in a tertiary university hospital. Three hundred and fourteen patients were admitted to the ICU under mechanical ventilation, 168 of whom were included in group HH (heated humidifier) and 146 in group HME. The frequency of VAP per 1000 ventilator-days was similar for both the HH and HME groups (18.7 vs 17.4, respectively; P = 0.97). Duration of mechanical ventilation (11 vs 12 days, respectively; P = 0.48) and length of ICU stay (11 vs 12 days, respectively; P = 0.39) did not differ between the HH and HME groups. The chance of developing VAP was higher in patients with a longer ICU stay and longer duration of mechanical ventilation. This finding was similar when adjusted for the use of HME. The use of HME in intensive care did not reduce the incidence of VAP, the duration of mechanical ventilation, or the length of stay in the ICU in the study population.