This paper concentrates on the electrodeposition of CZTS kesterite thin films on ITO coated glass. The main objective of the article is to compare the electrodeposition from an ionic liquid electrolyte, which is choline–urea, and from an aqueous electrolyte, that is the citrate buffer solution. The electrochemical behaviour of the citrate buffer shown a remarkable evolution of the hydrogen, which was less in the choline chloride–urea electrolyte. The XRD pattern of the films provided from the two electrolytes confirms the presence of the kesterite form of Cu2ZnSnS4. The surface morphology of the samples was examined using scanning electron microscopy and showed that electrodeposition from the citrate buffer electrolyte leads to have CZTS thin films with less porous morphology.