An atomizer and an electronic cigarette are provided. The atomizer comprises a sleeve and an atomizing core. A suction nozzle is formed on an end portion of the sleeve a tobacco-tar storage chamber and an accommodating chamber are defined in the sleeve an end portion of the sleeve far away from the suction nozzle is an opening end with a tobacco-tar filler hole. The atomizing core includes an atomizing sleeve, an electrode assembly, a heating wire assembly and a tobacco-tar latch member a tobacco-tar inlet is defined in an end portion of the atomizing sleeve far away from the suction nozzle the tobacco-tar latch member is sheathed in the atomizing sleeve the tobacco-tar inlet and the heating wire assembly are respectively arranged on two opposite end portions or two opposite side portions of the tobacco-tar latch member. The present disclosure effectively protects users from tasting the tobacco tar without atomization.