The present paper examines the problematic issues of countering the criminal subculture in the conditions of the penitentiary system of Kazakhstan. Currently, the administration of these institutions, various state bodies, and numerous public organisations are engaged in the rehabilitation of prisoners. Through joint efforts, it was possible to stop the wide spread of criminal ideology in places of detention. At the same time, a detailed study of the current situation shows that the criminal subculture, primarily the phenomenon of “code-bound thieves”, till plays a certain role there, since it was formed over many decades of Soviet and post-Soviet history. In modern conditions, this phenomenon has been significantly transformed, but nevertheless, it seeks to strengthen its influence in the penitentiary system of Kazakhstan.