The photophysical behavior of compounds 1 and 5 in different solvents was studied.
The NLO properties of dicyanovinyl-thienylpyrroles 1–6 compounds were investigated.
DFT calculations were performed to support experimental results.
The HOMO → LUMO transition plays an important role in UV–vis spectra.
Dicyanovinyl-thienylpyrroles can be used as excellent NLO materials.