In this paper, we prepared the rattle type nanoparticles ZnO@void@SiO2 by two successive coating processes, followed by heat treatment. The carbon layer was formed over ZnO surface with the aid of the hydrothermal treatment of glucose. Then the resulting composite was used to fabricate a silica shell on the surface by sol–gel method. Finally, ZnO particles were released but still trapped inside the silica hollow after calcination, that is, ZnO@void@SiO2. The composites were characterized by scanning and transmission electron microscope, N2 adsorption experiment, X-ray diffraction, Fourier transform infrared spectroscopy and UV-Vis absorption spectra. The rattle type structure was conformed and the sphere-like structure with the average size of 70 nm and hexagonal wurtzite crystal structure were also observed. The measurement results of optical properties showed even though ZnO@C@SiO2 presented no photocatalysis, ZnO@void@SiO2 showed high activity even the ZnO core was encapsulated with the SiO2 hollow.