The influence of polyanilines (PANIs) as hole conductors on the photovoltaic behaviors of dye-sensitized solar cells is studied. The current-voltage (I-V) characteristics and the incident photon to current conversion efficiency (IPCE) curves of the devices are determined as the function of different conductivities and morphologies of PANIs. The results show that the conductivity of PANIs affects the performance of the devices greatly, and PANI with the intermediate conductivity value (3.5 S/cm) is optimum. In addition, the effects of both the film formation property and the cluster size of polyanilines on the photovoltaic behaviors of the devices are also discussed.