Ciprofloxacin (Cip) is a common pollutant that causes sewage problems, and its effective removal is a great contribution to the clean water environment. Direct Zener-scheme (Z-scheme) heterojunction photocatalyst is a promising design idea for the removal of residual antibiotics in water. The goal of this study is to construct a binary composite photocatalyst with Z-scheme heterojunction to effectively remove residual ciprofloxacin in wastewater. Herein, a direct Z-scheme 0D/2D SrMoO4/g-C3N4 (SMOCN) composite photocatalyst was synthesized by ultrasonic-assisted hydrothermal way and its interior information (chemical structure, micromorphology, and physic-optical property) was detected by various characterization instruments (XRD, FT-IR, EDX, XPS, UV–Vis DRS, and PL). Meanwhile, the photocatalytic activity of all-prepared catalysts were estimated by Cip photodegradation experiments under simulated sunlight (500 W Xenon lamp). Among them, 89.9 % of Cip was broken down by 30SMOCN composite within 180 min at pH 7.0, which respectively reached 2.56 times of bare SMO and 2.03 times of bare CN. Furthermore, 85.2 % of Cip targeted molecule is still removed by SMOCN (excellent stability and recyclability) after five cycle runs. Finally, the reasonableness of SMOCN conforming to the direct Z-scheme mechanism is verified by comparison of optical properties, quenching experiment results and photogenerated carrier migration paths: 1) There is optical complementarity between SMO and CN, which is represented by redshifted absorption edge, narrowed band gap and weaken PL intensity. 2) The key active site on the SMOCN composite surface is photogenerated carriers in Cip photocatalytic degradation, which given full play to the direct synergistic catalytic effect between SMO and CN heterojunction. 3) The direct Z-scheme mechanism preserves the carriers of SMOCN with effective photo-redox function, promotes their separation and prolongs their lifetime.