Understanding and increasing awareness on individual risk for HIV infection as well as HIV risk perception's effects on different behavioral outcomes for people who inject drugs (PWID) is important for policymaking and planning purposes. The objectives of the present study were to determine whether HIV risk perception was associated with greater injection and sexual risk-taking behaviors among PWIDs.We surveyed 460 PWID in Kermanshah regarding their demographic characteristics, sexual risk behaviors, HIV risk perception, and drug-related risk behaviors in the month prior to the study. Three classes of HIV risk perception were identified using ordinal regression to determine factors associated with HIV risk perception.Study participants were categorized as follows: "low" (n = 100, 22%), "moderate" (n = 150, 32%), and "high" (n = 210, 46%) risk perception for becoming infected with HIV. The odds of categorizing as "high" risk for HIV was significantly greater in PWID that reported unprotected sex (adjusted odds ratio (AOR) 2.4, p value 0.02), receptive syringe sharing (AOR 1.8, p value 0.01), and multiple sex partners (AOR 1.4, p value 0.03). PWID who reported unprotected sex had 2.7 times the odds of "high" risk perception when compared to PWID with "low" risk perception.Findings show that PWID could rate their HIV risk with acceptable accuracy. Additionally, perceived HIV risk was associated with many risk factors for transmission of HIV, emphasizing the importance of developing targeted prevention and harm reduction programs for all domains of risk behaviors, both sexual and drug-related use.