At present, the problems in one way or another related to the risk of involving young people in illegal activities are recognized as the most pressing. In addition, the issues of well-being of various environments of an individual’s existence are recognized by the expert community and require close consideration. The educational environment is a unity of psychological and pedagogical reality, the purpose of which is to solve educational problems in the presence of specially organized conditions; tasks aimed at socializing students; as well as tasks for the formation and development of the student’s personality. The solution to the listed tasks in the educational environment, along with its psychological and pedagogical support, can act as an alternative to the aggressive social environment which results in the growth of sociogenic diseases. In this regard, this paper presents an empirical research program developed by the authors aimed at studying the psychological and pedagogical security and safety of the educational environment as a factor in providing the national security of the Russian Federation. The paper presents the results of a theoretical and methodological analysis of the main factors and risk indicators of the safety of the educational environment (school baiting (bullying), delinquent behaviour among children and youth, suicidal behaviour of children and adolescents, the problem of psychoactive substances use, the problem of Internet addictions); the research methodology has been substantiated; methodological tools (psychodiagnostics tools, sociological and pedagogical methods, methods of mathematical statistics) have been chosen. In addition, the proposed results have been identified in the framework of the research program, which are designed to contribute to the problem of ensuring the psychological and pedagogical security and safety of the educational environment in educational institutions which is being solved by the world psychological science. © Faculty of Education. University of Alicante.