The worm-like morphology of silver sulfide (Ag2S) was successfully prepared via hydrothermal reaction at 150°C by using silver nitrate (AgNO3) and thioacetamide(CH3CSNH2) as both the sliver sources and sulfur sources, β-cyclodextrin as the template agent, and water as the solvent. The worm-like of Ag2S are characterized by scanning electron microscopy (SEM), transmission electron microscopy (TEM), x-ray diffraction (XRD), x-ray photoelectronspectroscopy (XPS), energy dispersivex-ray (EDX), high-resolution transmission electron microscopy (HRTEM) and selected area electron diffraction (SEAD). Ultraviolet-visible spectra (UV-vis) and photoluminescencespectroscopy (PL) were used in an optical study of the products. The results showed that the existence of β-cyclodextrin is crucial to the formation of worm-like Ag2S, and the optoelectronics test results showed that the sample have a broad absorption in ultraviolet and visible light region.