This article describes the synthesis, characterization and photo‐physical studies of ZnO nanoparticles capped with monomer and polymer dyes D1 and D2, respectively; these dyes were synthesized by an easy and inexpensive condensation method by reacting Indole‐3‐carboxaldehyde with N,N‐dimethylethylenediamine and polyamine. The optoelectronic properties of these dyes were investigated by UV‐Vis spectroscopy. Further, these dyes D1 and D2 were decorated with ZnO nanoparticles and labelled as samples S1 and S2. The structural properties of dyes capped ZnO nanoparticles were characterized by X‐ray diffractogram, scanning electron microscopy, and dynamic light scattering studies. Further, S1 and S2 were deployed to fabricate photo‐anodes for ZnO solar cells, labelled as SC1and SC2, respectively. The results of investigations revealed that polymer dye molecules enhanced the photo‐harvesting capability of ZnO nanoparticles within the ZnO solar cell SC1. Maximum photo‐energy conversion efficiencyη =5.42 % was attained with solar cell SC2 under AM 1.5 solar irradiations. Comparatively, it has been observed that the recorded photovoltaic efficiency of solar cell SC2 was enhanced by 1.49 % comparative to the solar cell SC1. The IPCE spectra studies revealed a significant improvement of (15–19)% in the photo efficiency of solar cell SC2 than SC1.