An electronic cigarette, comprising: an atomizing assembly, the atomizing assembly comprising a mouthpiece, 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; and a battery assembly, the battery assembly comprising a battery frame, a light guide, a silica gel, a fixed seat, a printed circuit board assembly, and a battery cell; wherein: the atomizing assembly is disposed on the battery assembly; the guide tube is disposed in the e-liquid container; the heating wire is disposed on the barrier; 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; the first sealer sleeves the guide tube and is disposed on the e-liquid container; the mouthpiece covers the first sealer; the mouthpiece is connected to the e-liquid container; the second sealer is embedded in the base and is disposed at one side of the e-liquid container; and the battery cell is welded to the printed circuit board assembly; the printed circuit board assembly is disposed on the fixed seat; the silica gel is disposed on one end of the fixed seat; the fixed seat is disposed in the battery frame, and the light guide is disposed on the battery frame; characterized in that: the heating wire stretches out on the barrier; the barrier with the heating wire disposed thereon is disposed in the base, so that the heating wire is carried by the base to enter the e-liquid container and the heating wire being free of being squeezed from other parts; the atomizing assembly further comprises a filter cotton disposed on an upper surface of the first sealer. an atomizing assembly, the atomizing assembly comprising a mouthpiece, 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; and a battery assembly, the battery assembly comprising a battery frame, a light guide, a silica gel, a fixed seat, a printed circuit board assembly, and a battery cell; the atomizing assembly is disposed on the battery assembly; the guide tube is disposed in the e-liquid container; the heating wire is disposed on the barrier; 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; the first sealer sleeves the guide tube and is disposed on the e-liquid container; the mouthpiece covers the first sealer; the mouthpiece is connected to the e-liquid container; the second sealer is embedded in the base and is disposed at one side of the e-liquid container; and the battery cell is welded to the printed circuit board assembly; the printed circuit board assembly is disposed on the fixed seat; the silica gel is disposed on one end of the fixed seat; the fixed seat is disposed in the battery frame, and the light guide is disposed on the battery frame; characterized in that: the heating wire stretches out on the barrier; the barrier with the heating wire disposed thereon is disposed in the base, so that the heating wire is carried by the base to enter the e-liquid container and the heating wire being free of being squeezed from other parts; the atomizing assembly further comprises a filter cotton disposed on an upper surface of the first sealer. the heating wire stretches out on the barrier; the barrier with the heating wire disposed thereon is disposed in the base, so that the heating wire is carried by the base to enter the e-liquid container and the heating wire being free of being squeezed from other parts; the atomizing assembly further comprises a filter cotton disposed on an upper surface of the first sealer.