Pharmaceutical productions use a huge amount of dissolved chemicals, which can trigger negative consequences. Pharmaceutical wastewater includes a high concentration of antibiotics, which can be handled in a variety of ways, including chemical and physical methods. In this study, corn husk was used for the synthesis of an effective adsorbent. In batch experimentation, simply crushed corn husk samples and activated carbon solution have been distinctively analyzed by treating them at different temperatures (150°C, 200°C, 250°C, 300°C, 350°C, and 400°C). The impact on varied temperatures revealed that temperature rise produced an increase in adsorption from 150°C to 400°C, although it is an exothermic process. Varied PH (2, 4, 6, 8, 10, 12, 14) absorbance capacity increases when the solution is more acidic. The absorbent is dependent on the contact time allowed (35, 50, 70, 90, 120, 140, 180 minutes), which increases the adsorption percentage. Amount dosage (0.6 g, 1 g, 1.5 g, 1.7 g, 2 g) to check the adsorption capacity and efficiency at four different sieves The adsorbent's size parameters (200 mm, 50 mm, 30 mm, 10 mm) dose increases of corn husk absorbent resulted in no substantial improvement; it did slightly enhance adsorption%. Given the SEM images, the nanocrystalline surface of the bioadsorbent contains pores and is also layered. These features showed that corn husk acts as a biosorbent; white nanoparticles indicate antibiotics have adsorbed on the structure of the biosorbent. The FTIR spectrum levofloxacin adsorption, interaction among cornhusks, and levofloxacin by adsorption process