A dual functional BODIPY fluorescent probe was developed for simultaneous detection of H2O2 and viscosity, by collecting fluorescence from 800-1100 nm and 550-750 nm, respectively. Bioimaging based on the probe shows that H2O2 accumulates and cytoplasmic viscosity increases during the palmitic acid (PA)-induced pyroptosis process.