Today, metal doped ZnO exhibits good performances and attracts worldwide attention. In this paper, a ZIF-8@Zn 1Àx Ni x O photocatalyst was successfully prepared using MOF as precursor and AgNO 3 as catalyst. We explored the influence of Ni content on the photocatalytic activity of ZIF-8@Zn 1Àx Ni x O. The structure and properties of ZIF-8@Zn 1Àx Ni x O were characterized by XRD, SEM, FT-IR, BET, UV-vis diffuse reflectance spectroscopy and so on. The results show that Ni is well loaded in ZIF-8 and part of ZIF-8 is oxidized to form Zn 1Àx Ni x O composites. The photocatalytic performance of ZIF-8@Zn 1Àx Ni x O was evaluated by degradation of rhodamine B (RhB) solution under UV light. It was found that ZIF-8@Zn 0.95 Ni 0.05 O exhibited the highest photocatalytic degradation efficiency and can degrade 99.19% rhodamine B solution after 20 min under UV light. Furthermore, ZIF-8@Zn 0.95 Ni 0.05 O exhibits high stability. After five repeated cycles, its photocatalytic activity remains at 97.43%.Fig. 9 The schematic illustration of ZIF-8@Zn 0.95 Ni 0.05 O for degradation of RhB under UV light. 42034 | RSC Adv., 2017, 7, 42030-42035 This journal is