Here we report a new rhodamine-based fluorescent probe containing a selenium−nitrogen bond for detecting thiols based on the nucleophilic substitution of sulfhydryl. The probe was successfully applied to the imaging of thiols in both HL-7702 cells and HepG2 cells with high sensitivity and selectivity.