An electronic cigarette comprising a casing assembly; an atomizing head, a sensing passage, a control board, a battery and a first air pressure detecting member are arranged in the casing assembly; the battery, the atomizing head and the first air pressure detecting member are each electrically connected to the control board; a detection end of the first air pressure detecting member is arranged in the sensing passage for detecting the air pressure value p1 in the sensing passage; the casing assembly is provided with a mouthpiece in communication with the sensing passage, when smoking through the mouthpiece, the control board adjusts the output power of the battery to the atomizing head according to the difference between the air pressure value p1 in the sensing passage detected by the first air pressure detecting member and an atmospheric pressure value p2 of the atmospheric pressure; characterized in that a memory is provided on the control board, the atmospheric pressure value p2 of the atmospheric pressure is stored in the memory; or, a receiver is provided on the control board, the receiver receives the atmospheric pressure value p2 sent from an external device; or, the electronic cigarette further comprises a second air pressure detecting member, the second air pressure detecting member is in communication with the outside atmosphere and detects the atmospheric pressure value p2 of the atmospheric pressure; the electronic cigarette comprises a cartridge and a battery assembly; the cartridge comprises a cartridge casing, the battery assembly comprises a battery casing, the cartridge casing and the battery casing together form the casing assembly; the atomizing head is received in the cartridge casing; the battery, the control board, the first air pressure detecting member and the second air pressure detecting member are all received in the battery casing; the mouthpiece is arranged at one end of the cartridge casing; one end of the cartridge casing opposite to the mouthpiece is detachably inserted into the battery casing to cause the cartridge to be detachably connected with the battery assembly; a sensing cavity is provided in the cartridge casing along the axial direction of the cartridge casing, the battery assembly further comprises an airtight member, the airtight member is provided with a communication passage, the communication passage has an opening; when the cartridge is connected to the battery assembly, the opening of the communication passage is aligned with and in communication with the sensing cavity; the first air pressure detecting member is installed on the control board and the detection end of the first air pressure detecting member is arranged in the communication passage, the sensing passage comprises the sensing cavity and the communication passage. characterized in that a memory is provided on the control board, the atmospheric pressure value p2 of the atmospheric pressure is stored in the memory; or, a receiver is provided on the control board, the receiver receives the atmospheric pressure value p2 sent from an external device; or, the electronic cigarette further comprises a second air pressure detecting member, the second air pressure detecting member is in communication with the outside atmosphere and detects the atmospheric pressure value p2 of the atmospheric pressure; the electronic cigarette comprises a cartridge and a battery assembly; the cartridge comprises a cartridge casing, the battery assembly comprises a battery casing, the cartridge casing and the battery casing together form the casing assembly; the atomizing head is received in the cartridge casing; the battery, the control board, the first air pressure detecting member and the second air pressure detecting member are all received in the battery casing; the mouthpiece is arranged at one end of the cartridge casing; one end of the cartridge casing opposite to the mouthpiece is detachably inserted into the battery casing to cause the cartridge to be detachably connected with the battery assembly; a sensing cavity is provided in the cartridge casing along the axial direction of the cartridge casing, the battery assembly further comprises an airtight member, the airtight member is provided with a communication passage, the communication passage has an opening; when the cartridge is connected to the battery assembly, the opening of the communication passage is aligned with and in communication with the sensing cavity; the first air pressure detecting member is installed on the control board and the detection end of the first air pressure detecting member is arranged in the communication passage, the sensing passage comprises the sensing cavity and the communication passage.