The invention belongs to the technical field of nanometer material preparation technology and special materials, and particularly relates to preparation of a mesoporous silica nanocomposite with the photo-thermal function and photo-thermal performance research thereof. According to the mesoporous silica nanocomposite, cetyl trimethyl ammonium chloride is adopted as a template, tetraethoxy-silicane is adopted as a silicon source, trithione propyl trimethoxy silane is adopted as a sulfydryl modifier, and the mixture is stirred under the temperature of 60 DEG C to perform a reaction to form meso-porous silicon balls; then, the obtained sample is dispersed into water, a copper ion saline solution is added into the alkaline condition, stirring continues to be performed, then, cupric ions are adsorbed, then, sodium sulfide or sodium thiosulfate water solution is added on the acid condition, and stirring is performed to obtain the mesoporous silica nanocomposite modified by copper sulfide. The meso-porous silicon balls with the photo-thermal treatment function have the advantages of being small in particle size, high in specific surface, large in capacity, good in biocompatibility and the like, and the preparation method has the technical advantages of being simple in technology, low in cost, high in photo-thermal conversion efficiency, wide in application range and the like.