The present paper attempts to report the preparation of TiO2–ZnO nanocomposite photoanode materials for dye-sensitized solar cells (DSSC) and analyse the efficiency of DSSC with natural dyes. The structural and optical characteristics of the composites were studied by transmission electron microscopy, X-ray diffraction, field effective scanning electron microscopy, energy dispersive spectrometry, photoluminescence and absorption spectroscopy. The synthesized nanocomposites formed on FTO substrates are applied as photoanode in a dye-sensitized solar cell (DSC). The natural dyes extracted from Beta vulgaris (Beetroot) and Syzygium cumini (black plum) were used in the fabrication of DSSC. The solar cells’ photovoltaic performance in terms of short-circuit current, open circuit voltage, fill factor and energy conversion efficiency was tested with photocurrent density–voltage measurements. The evolution of the solar cells parameters is explored as a function of the photoanode and type of dye used in DSSC fabrication.The obtained results show that the efficiency of DSSC significantly changes with the addition of ZnO to TiO2, while the Beta vulgaris dye has evidently shown higher photo sensitized performance compared to Syzygium cumini in the preparation of DSSC.