Objectives Nonsuicidal self-injury (NSSI) is an issue primarily of concern in adolescents and young adults. The Ottawa self-Injury inventory (OSI) is a self-report measure that offers a comprehensive assessment of NSSI, including the measurement of its functions and addictive features. Thus, this study evaluated the psychometric properties of the Ottawa self-Injury inventory-functions (OSI-F) for assessing NSSI for gifted adolescents. Methods In this correlational study, 350 gifted adolescents who were selected using the convenience sampling method, answered the OSI-F, the short version of the self-harm screening inventory for adolescents, the depression, anxiety and stress scale, and the psychological capital questionnaire. Results The results of confirmatory factor analysis in line with the results of other studies supported the factor structure consisting of four factors. The model showed significant correlations between factors (rs=0.55-0.75, p<0.001). The results of the confirmatory factor analysis also confirmed the factor structure of the addictive characteristics of self-injurious behaviors. All the items had significant path estimates (0.42 to 0.83). Cronbach’s alpha for factors of internal emotional regulation, social influence, external emotional regulation, and sensation seeking in the scale of self-injurious behavior functions was equal to 0.86, 0.87, 0.64, and 0.72, respectively, and for the scale of addictive characteristics was 0.87. Convergent validity of scales of functions and addictive characteristics of self-injurious behavior was obtained through the relationship with scores in scales of anxiety, depression, stress, and deliberate self-injurious behaviors, as well as psychological capital factors. Conclusion Results showed preliminary psychometric support for the OSI as a valid and reliable assessment tool to be used in both research and clinical contexts.