Silver and polyaniline (Ag/PANI) composite counter electrodes (CEs) have been prepared by electrochemical polymerization on stainless steel substrate using different silver (Ag) concentrations for dye-sensitized solar cells (DSSC). The effect of Ag concentration on the properties of fabricated Ag/PANI composite CEs, such as morphology, electrical conductivity, oxidation and reduction potential, and electrochemical activity of I 3 -reduction, is investigated. Highest cathodic current density (3.4 mA), low charge transfer resistance (2.15 X), and good electrocatalytic activity of I À 3 =I À redox couple for CE are obtained at 0.07 M concentration of silver in Ag/PANI composite. DSSC based on this CE shows best photovoltaic performance with conversion efficiency up to 7.31 %. This study indicates that the Ag/PANI composite prepared electrochemically is possible substitute of the expensive Platinum as CEs for DSSCs.