An electronic cigarette, including an atomizing assembly and a battery assembly. The atomizing assembly is disposed on the battery assembly. The atomizing assembly includes a mouthpiece, a filter cotton, a guide tube, an e-liquid container, a first sealer adapted to seal the e-liquid container, a heating wire comprising a pin, a barrier, a base, a second sealer adapted to seal the base, an insulation ring, and electrodes. The battery assembly includes a battery frame, a light guide, a silica gel, a fixed seat, a printed circuit board assembly, and a battery cell. The guide tube is disposed in the e-liquid container. The heating wire is disposed on the barrier. The barrier is disposed in the base. The insulation ring passes through the pin of the heating wire and is fixed in the base. The electrodes are disposed in the insulation ring.