Effect of baking treatment on the pitting resistance of dehydrogenated and hydrogenated chromium electrodeposits was studied by potentiodynamic polarization measurements and X-ray photoelectron spectra. Pitting resistance of chromium electrodeposits can be improved by baking treatment. Dehydrogenated chromium electrodeposits can be produced having very high resistance to pitting corrosion over a wide range of baking temperatures and times than their hydrogenated counterparts. Results suggest that hydrogen in chromium electrodeposits should reduce their passive film, and then, deteriorate pitting resistance of electrodeposits during a baking treatment.