This cross-sectional study aimed to assess the prevalence of HIV infection among intravenous drug users (IDUs) in Peshawar, KP, Pakistan, shedding light on the socio-demographic factors associated with the spread of the virus. A total of 280 patients were purposively selected from Dost Welfare Foundation Hospital and its affiliated branches between April and July 2017. The research employed a comprehensive approach, gathering data on patients' detailed medical history, signs, and symptoms, incorporating age and weight parameters to ascertain HIV presence. Blood samples were meticulously collected and subjected to analysis using both Immune Chromatography Technique (ICT) and Enzyme-linked Immuno-sorbent Assay (ELISA) for HIV detection. Results revealed a substantial 23.5% prevalence of HIV infection among drug users, with a notable higher prevalence observed among IDUs. Gender-wise disparities were evident, with higher prevalence in males, along with unmarried individuals and those grappling with poor socioeconomic status. This study underscores the urgent need for community-oriented awareness and educational initiatives targeting IDUs to mitigate the further spread of HIV infection. Additionally, the implementation of stringent protocols for the safe disposal of contaminated needles and the prevention of unscreened blood transfusions is imperative. The research advocates for a multifaceted approach, combining medical interventions with social and educational strategies to address the complex socio-economic factors contributing to the prevalence of HIV in this vulnerable population.