In this paper, in order to improved the photocatalytic activity of Bi2WO6, Bi2WO6 and ZIF-8 were successfully combined by in-situ growth method for the first time. The addition of ZIF-8 effectively inhibited the recombination of photogenerated electron hole pairs and further improved the electron utilization efficiency, and superoxide anion was introduced to greatly improve the photocatalytic activity. The performance of Bi2WO6/ZIF-8 in the photodegradation of tetracycline (TC) was studied under different conditions of proportions of ZIF-8, dosage of catalyst and concentration of TC. The results indicated that B/Z/5/1 (10mg) had the best photocatalytic activity, and 97.8% of TC (20mg/L) could be degraded in 80 minutes under UV light, the rate constant (k) for TC degradation was almost 3 times that of Bi2WO6. The effects of pH, HA and inorganic anions on the degradation of TC were studied in simulated real water. Further, B/Z/5/1 could be reutilized up to five cycles without reduction of efficiency and catalysis performance. Therefore, Bi2WO6/ZIF-8 heterojunction composite material can be utilized as an efficient photocatalyst for remediation of environmental pollution.