The embodiments of the present disclosure disclose humidifier. A specific implementation of the humidifier comprises: a housing and an inclined flow fan assembly fixed in the housing through a connecting plate, wherein the inclined flow fan assembly comprises a fan motor and a fan hub, the inside of the fan hub is further provided with a first annular water retaining portion, the bottom end of the first annular water retaining portion is connected with the fan hub; the inclined flow fan assembly further comprises a second annular water retaining portion arranged between the fan hub and the first annular water retaining portion and fixedly connected with the connecting plate, the bottom end of the second annular water retaining portion is lower than the top ends of the fan hub and the first annular water retaining portion. This implementation improves the safety and water-resisting property of the humidifier.