The high toxicity of nerve agents makes the development of fluorescence sensors with suitable limit of detection challenging. Here, the authors propose a sensor design based on a conjugated microporous polymer film for the detection of diethyl chlorophosphate, a substitute of Sarin, with low detection limit of 2.5 ppt.