Incorporating metallic or nonmetallic compounds is a promising method for enhancing the oxygen vacancies (OVs), charge transport, and visible light absorption of a bismuth oxychloride (BiOCl) semiconductor. This research aims to improve the properties of BiOCl by incorporating rosemary powder (RPC). BiOCl photocatalysts with enhanced OVs were synthesized through the addition of 1–4 wt% of RPC using a one-pot solvothermal process. The addition of 3 % RPC resulted in the formation of very small particles on the BiOCl lamellar structures, which were aligned with the (002) plane of carbon quantum dots (CQDs). The uniformly distributed CQDs transformed the BiOCl microstructure from a two-dimensional lamellar structure to a three-dimensional floral structure, leading to an increased surface area and pore volume. The incorporation of RPC enhanced the visible light absorption capacity of BiOCl. The carbon atoms in RPC readily attach to oxygen atoms in the Bi-O bond, disrupting the Bi-O lattice bond and forming OVs. The addition of RPC contributed to a higher number of OVs, which impacted both the energy difference between the valence and conduction bands and their locations. This resulted in better charge transfer and enhanced active species formation. The 3 %-RPC-BOC photocatalyst had the highest efficiency, achieving a 98 % degradation of rhodamine B (RhB) and a 45 % removal of organic carbon within 48 min under visible light. This composite also had excellent stability and reusability, as its crystal structure remained unaltered even after conducting 7 cycles. The primary active species of 3 %-RPC-BOC system is the superoxide radical (·O2-), while the hydroxyl radical (·OH) and hole (h+) operate as minor active species. Additionally, the 3 %-RPC-BOC achieved a high tetracycline (TC) removal rate of 82.1 %, which is 2.21 times higher than that of pure BiOCl.