The natural ecosystem has been significantly jeopardized due to the misuse of organic dyes and antibiotics. To treat organic wastewater safely and efficiently, this study synthesized a binary composite photocatalyst TNCoPc/BiOBr, using a solvothermal method that involved loading cobalt tetranitro phthalocyanine onto BiOBr. The results of the catalytic performance tests indicated that the composites exhibited the capacity to degrade rhodamine B and tetracycline hydrochloride by 97.75 % and 78.37 %, respectively. Moreover, the composite exhibited good cyclic stability. Subsequent analytical characterization confirmed the formation of a Z-scheme heterojunction, resulting in a synergistic effect. This Z-scheme heterojunction facilitated the capacity of photocatalyst to achieve enhanced light absorption, augmented photogenerated carrier separation efficiency, and augmented redox capacity. Additionally, theoretical calculations were employed to further elucidate the catalytic mechanism and synergistic effects. The results demonstrate that the Co-N4 sites are the active center of the TNCoPc and verify the contribution of nitro substitution to the photogenerated electron transfer mechanism on TNCoPc. Furthermore, a systematic degradation pathway was predicted and deduced based on Fukui indices and liquid chromatography-mass spectrometry data. This study presents a paradigm for the application of composite photocatalysts containing substituted phthalocyanines in the degradation of organic wastewater.