Utilizing non-invasive, real-time dynamic imaging and high-resolution detection tools to track polarity changes in Sjögren's syndrome (SS) contributes to a better understanding of the disease progression. Herein, a ratiometric polarity-sensitive fluorescent probe (DIM) was designed and synthesized, DIM consisted of dicyanoisophorone as the fluorophore and morpholine moiety as lysosome targeting. DIM showed a ratiometric response to polarity and high selectivity (unaffected by viscosity, pH, ROS, RNS, etc.), offering a more accurate analysis of intracellular polarity through a built-in internal reference calibration. The polarity abnormality of submandibular glands in non-obese diabetic (NOD) mice was revealed and verified by in vivo ratiometric fluorescence imaging of DIM, suggesting that fluorescent probe have great potential in the diagnosis of salivary gland abnormalities.