The role of cation and anion dopant incorporated into a ZnO layer was systematically investigated. We found that the work function was changed to favor electronic extraction only with Cl anion, while the conductivity change depended on the cation.