The invention is related to an electronic cigarette, including an atomizing device with a tobacco-liquid cup, and a battery electrically connected with the atomizing device, herein, the tobacco-liquid cup forms a recessed cavity, the battery is received in the cavity. The battery of the present invention is set in the atomizing device, so that the whole length of the electronic cigarette is effectively reduced, and it is more convenient to take the electronic cigarette.