An atomizer having an antifouling structure and an electronic cigarette having the same are disclosed. The atomizer includes a device housing and an atomizing unit disposed inside the device housing. The device housing defines therein a liquid storage chamber configured for storing tobacco liquid. The atomizing unit is configured for atomizing the tobacco liquid to produce an aerosol. The device housing further includes an aerosol channel in communication with the atomizing unit and is configured for expelling the aerosol. The antifouling structure mainly includes a hydrophobic oleophobic surface or super oleophobic surface formed on an inner wall of a member forming the aerosol channel or the liquid storage chamber. The antifouling structure prevents condensed droplets from accumulating and adhering to the inner wall of the aerosol channel or the liquid storage chamber, thereby avoiding users inhaling the condensed droplets into their mouths when smoking next time.