In this article, the flower-like CdS have been prepared by hydrothermal method with thiourea as sulfur source and SDBS as surfactant. The effects of different experimental conditions on the morphology of CdS have been investigated. The performances of CdS have been analyzed by X-ray diffraction (XRD), field emission scanning electron microscopy (FE-SEM), room temperature photoluminescence (PL) and UV–vis. The result of XRD indicates that CdS we prepared are highly crystallized, which are of hexagonal phase. The FE-SEM results indicate that the main role of SDBS is to make the CdS crystals assemble together to form the flower-like structures, and the reaction time affects the morphology of CdS, and the suitable reaction temperature is 160°C. Its optical energy band gap is observed at 2.50eV. The fluorescence spectrum shows that the flower-like CdS have a broad absorption peak and the max emission wavelength is 508.6nm. The growth mechanism for the formation of CdS with flower-like structures is also described.