Here, we present a protocol to use microfluidics in combination with fluorescence microscopy to expose the C.&#
xa0;elegans tail to chemosensory stimuli. We describe steps for the preparation of microfluidic chips and sample preparation through the sedation of C.&#
xa0;elegans. We detail flow calibration and imaging of C.&#
xa0;elegans through fluorescence microscopy to determine their molecular and/or cellular response to chemosensory stimuli. This protocol can also be applied to amphid neurons by inserting the worm in the chip head-first. For complete details on the use and execution of this protocol, please refer to Bruggeman et&#
xa0;al. (2022).<sup>1</sup>.