The present invention provides an electronic cigarette. The electronic cigarette includes a sensor, an atomizing assembly and a liquid storage unit, which are disposed in a housing. The atomizing assembly is provided with a first airflow passage. A second airflow passage is provided in the housing, and the sensor is disposed in the second airflow passage. The housing is defined with a first air inlet and a second air inlet. The first air inlet is in fluid communication with the first airflow passage. The second air inlet is in fluid communication with the second airflow passage. The first airflow passage and the second airflow passage are isolated from each other by a partition member.