An optical sensor for detection of herbicides was developed through the functionalization of CdTe quantum dots (CdTe-QDs) with cysteamine hydrochloride. The functionalized CdTe-QDs was characterized with various physicochemical methods such as X-ray diffraction, transmission electron microscopy, Fourier transform infrared spectroscopy, energy dispersive X-ray analysis, Ultraviolet–visible and photoluminescence spectroscopies. The optical band gap of the functionalized CdTe-QDs as calculated by using Tauc plot was 3.75 eV. It was found that the fluorescence intensity of the functionalized CdTe-QDs quenched linearly in the presence of different herbicides according to the Stern–Volmer equation. Thus, the functionalized CdTe-QDs can be used as simple, rapid, inexpensive, and optical sensitive sensor for practical detection of herbicides.