Drug diversion in hospital pharmacies is a serious compliance and patient safety risk. Effective prevention combines staff education, diversion monitoring software, secure medication storage, and strong reporting practices to detect misuse, reduce opioid risk, and protect patients and healthcare systems.