The presence of pharmaceuticals in wastewater is seen as an increasing environmental issue due to the toxicity of these substances and their ability to remain active chemically in the environment. Traditional wastewater treatment is inefficient due to the damaging and intractable activity of drugs that are accumulating in the environment. The cavitation is the phenomenon of initiation, nurture, and unstable collapse of bubbles in the suspension. This unstable collapses of bubbles in the suspension leads to the production of large amount of energy for instantaneous moment. In this study, the wastewater flowing out of the pharmaceutical industries is treated by oxidation approach. The oxidation was achieved with the help of chemically active radicals produced during the cavitation. The extent of oxidation with the single effect of cavitation was experimentally studied and reported in the manuscript. The optimization was achieved to target the maximum reduction in Biological Oxygen demand (BOD), Chemical Oxygen Demand (COD), and Total Dissolved Solids (TDS). The observed results were compared with the conventional method of the wastewater treatment. The highest TDS reduction was observed with the orifice plate arrangement, which was about 14%, as in the conventional and with the venture arrangement, it was observed at 2% and 8% respectively. The sudden pressure drop and effective vena contracta generate the zone of un-stability for the synthesized cavities. This un-stable zone of pressure increases the rate of collapses as well as the new generation of cavities. The reduction of BOD and COD was also observed at its highest during the utilization of the orifice arrangement, which is 20% and 6%, respectively. By adopting the cavitation method and observing degradation of said factors in the wastewater, this procedure may be found to be more successful than the conventional treatment method. The method may be employed before the conventional treatment method, and the water that has been treated may also be utilized for secondary purposes, while before it may have been wasted.