A base of a humidifier includes a housing, an air outlet assembly, and a first partition. The housing includes a receiving chamber, a first air inlet, and a second air inlet. The air outlet assembly is disposed in the receiving chamber and includes a fan, a temperature and humidity sensor, and an aroma component. The first partition is disposed in the receiving chamber and configured to spatially separate the temperature and humidity sensor from the fan and the aroma component. The fan is configured to introduce a first airflow from the first air inlet to pass through the temperature and humidity sensor, and reach the fan; introduce a second airflow flow from the second air inlet to pass through the aroma component without passing through the temperature and humidity sensor, and reach the fan; and discharge the first second airflow out of the receiving chamber through the air outlet.