Imprisonment was rarely used as punishment in Britain before 1800. The criminal justice system was based on terror and deterrence, sentencing convicts to the gallows at home and transportation overseas, with prisons serving primarily as holding spaces for the accused until the case against them was resolved. A major shift began in the late eighteenth century when imprisonment became an end in itself: a means to reform as well as to discipline criminal offenders. To Detain or to Punish revisits this revolutionary moment as it played out in the metropolis of London. Kiran Mehta charts how Londoners, through their interactions with police, magistrates, and judges, became prisoners, and then follows them into the prison, revealing how these institutions were managed and experienced. Local authorities’ increased use of imprisonment, for punishment as well as for detention, sparked the wholesale reconstruction and redesign of London’s prison estate. It also spurred the consolidation of the