The efficacy of dipyridyl and diphenylamine sensitizers in dyesensitized solar cells (DSSCs) is linked to trends in DFT-based charge transfer and non-linear optical (NLO) properties. We chose DFT and Time-dependent-DFT methods. The planarity is improved by replacing the phenyl ring at the donor site with a thiophene ring. Similarly, cyanoacetic acid acceptor improves planarity over rhodamine-3-acetic acid acceptor. In all cases in HOMO, the electron density is located at the donor and some part of the spacer, and in LUMO, it is shifted to the acceptor. Bond length alternation, bond order alternation, quinoid character, effective charge transferred distance, effective charge transferred, chemical potential, electrophilicity index, and electron correlation descriptors showed direct relation, while hardness and hyperhardness showed an inverse relation with NLO properties. We observed higher β 0 and γ for thiophenebased sensitizers ranging from 248.81 × 10 À 30 to 440.92 × 10 À 30 esu and 777.82 × 10 À 36 to 1442.69 × 10 À 36 esu, respectively. Likewise, more negative values of ΔGinject (À 0.630 to À 0.752 eV), a smaller value of ΔGreg (0.662 to 0.790 eV), and higher LHE (0.959 to 0.976) are observed for thiophene-based sensitizers. Also, thiophene-based sensitizers showed shorter TiÀ O bond lengths than their phenyl-based sensitizers. Photovoltaic parameters are directly related to DSSC efficiency and NLO properties.