Two novel diarylfuorocyclopentenes, which underwent gated photochromism, were synthesized. It was found that the photochromic property of these diarylethenes could be switched by alternative addition of acids/alkalis, which could provide a new design strategy toward chemical threshold photoreaction.photochromism, diarylethene, gated reactivity, pyridinium betaine