The criminal procedural institution of detention as a measure of restraint has been studied. The theoretical and legal bases of the institution of detention at the stage of pre-trial investigation are revealed. Features of the use of detention in th…