The aim of the present study was to investigate the prediction model students' addiction tendencies based on insecure attachment styles with the mediation coping styles. The research method was descriptive and structural equation modeling. The statistical population in this research included undergraduate students of Payam Noor Qom University in 1400, from whom 285 people were selected as a sample using non-probability sampling method. The research tools included the Revised Attachment Styles Questionnaire (Collins and Reed, 1990), Coping Styles Questionnaire (Lazarus and Folkman, 1980) and Addiction Tendency Scale (Wade and Bopper, 1992). The results of the conceptual model test showed that the fit indices of the research model are in a favorable condition. Insecure attachment style and tendency to use drugs had a direct and significant relationship (P≤0.005). Also, insecure attachment style through coping styles had significant indirect effects on students' tendency to use drugs (P≤0.005). The findings of the research indicated the appropriate fit of the conceptual model of the research. Based on this, in addiction treatment clinics, it is necessary to pay attention to attachment styles and coping styles to reduce the level of addiction tendency.