Smart polymer glue with photoluminescence and water-repellent properties was developed. The luminescent adhesive continues emitting light for up to 120 min after turning the excitation source off. Nanoparticles of lanthanide strontium aluminum oxide (LSAO) (8–13 nm) were consistently immobilized into carboxymethyl cellulose-reinforced gum Arabic (CMC/GA) adhesive. Using various concentrations of LSAO, the generated adhesives showed emission intensity at 519 nm and an excitation band at 365 nm. Depending on LSAO content, both of afterglow and fluorescence emission were monitored. Photochromism was detected as the transparent adhesive film changes color to green under ultraviolet irradiation. A greenish-yellow lightening in a darkened place was also observed. The nanocomposite resistance to scratches and hydrophobicity were found to enhance as the LSAO content was increased in the carboxymethyl cellulose-reinforced gum Arabic matrix. The LSAO@CMC/GA nanocomposite showed high durability and photostability. The present strategy proved the viability of a potential mass production toward photoluminescent adhesives for various smart applications, such as smart packaging, anti-counterfeiting printing, smart windows, and safety signs.