The as-prepared MCX-MS was characterized by FTIR spectroscopy, TGA and TEM measurements. The effect of encapsulation in the mesoporous SiO2 network structure on the performance of MCX as a sunscreen was evaluated by the UV-visible absorptions of MCX-MS and the SPF values of the MCX-MS-containing sunscreen creams.