An electronic cigarette, comprising: a shell with a suction end; and a battery box; an atomizer assembly connected to the battery box; a guiding component configured for guiding the atomizer assembly, wherein the atomizer assembly slides relative to the battery box via the guiding component to achieve a fixed connection with the battery box, wherein the atomizer assembly comprises a housing and an atomizer arranged in the housing, the guiding component comprises a lead rail and a sliding groove, the lead rail is arranged on a top part of a sidewall of the battery box, the sliding groove is defined in an end of the housing, and the sliding groove matches with the lead rail; wherein the guiding component comprises two lead rails, and the two lead rails are arranged on the top part of the two opposite sidewalls of the battery box; wherein the two lead rails extend downwards obliquely along a slide-in direction of the atomizer assembly; wherein the electronic cigarette further comprising a positive electrode and a negative electrode arranged between the two lead rails, wherein the positive electrode and the negative electrode are in elastic contact with the atomizer, a channel is provided in an end of the atomizer adjacent to the sliding groove, the channel extends along a sliding direction of the atomizer assembly, and the positive electrode and the negative electrode are arranged in the channel; wherein an inclined surface is provided in the channel, and extends upwards along the slide-in direction of the atomizer assembly, so that when the atomizer assembly slides to couple with the battery box, the positive electrode and the negative electrode are pressed down by the inclined surface. a shell with a suction end; and a battery box; an atomizer assembly connected to the battery box; a guiding component configured for guiding the atomizer assembly, wherein the atomizer assembly slides relative to the battery box via the guiding component to achieve a fixed connection with the battery box, wherein the atomizer assembly comprises a housing and an atomizer arranged in the housing, the guiding component comprises a lead rail and a sliding groove, the lead rail is arranged on a top part of a sidewall of the battery box, the sliding groove is defined in an end of the housing, and the sliding groove matches with the lead rail; wherein the guiding component comprises two lead rails, and the two lead rails are arranged on the top part of the two opposite sidewalls of the battery box; wherein the two lead rails extend downwards obliquely along a slide-in direction of the atomizer assembly; wherein the electronic cigarette further comprising a positive electrode and a negative electrode arranged between the two lead rails, wherein the positive electrode and the negative electrode are in elastic contact with the atomizer, a channel is provided in an end of the atomizer adjacent to the sliding groove, the channel extends along a sliding direction of the atomizer assembly, and the positive electrode and the negative electrode are arranged in the channel; wherein an inclined surface is provided in the channel, and extends upwards along the slide-in direction of the atomizer assembly, so that when the atomizer assembly slides to couple with the battery box, the positive electrode and the negative electrode are pressed down by the inclined surface.