The aim of the study was to synthesise novel photo-exchangeable photochromic fluorescent compounds. 3,4-Bis(3,5-dimethyl-4-pyrazolyl)-N-butyl-1,8-naphthalimide 6 and 3,4-bis (1,3,5trimethyl-4-pyrazolyl)-N-butyl-1,8-naphthalimide 7 naphthalimide derivative new compounds were prepared via two-step Suzuki coupling reaction of pyrazolylboronic acid esters from N-butyl-4-bromo-3-iodo-1,8-naphthalimide and characterized by 1 H-NMR, 13 C-NMR, MS and FTIR. Their photochromic fluorescence properties were investigated. Additionally, a solvent effect on the fluorescent properties of 6 and 7 was investigated. Increase of organic solvent polarity results in a red shift (to longer wavelengths) of the fluorescence emissions.