This paper examines the problem of alternatives to the prison in order to problematize the prison as an institution, as a form of punishment and as a system for promoting respect for the law. It argues that the mechanisms that were central to the prison during the 19th century, such as the practice of penitence as a principle of rehabilitation, the family as agent of correction, or as agent of legality, and labour as a fundamental instrument for punishment, still operate today, if in altered forms, in both the conventional and alternatives types of prison. The prison has been a factory for producing criminals; this production is not a mark of its failure but of its success. Prison manages control over illegalities by means of a whole set of apparatuses that manage their reorganization, redistributing them according to an economy of illegalisms. It may well be that changes in the economy and in the mechanisms for regulating populations mean that the carceral functions of the prison are today being disseminated at the level of the social body, so that they would now operate beyond the space of the prison through multiple instances of control, surveillance, normalization and re-socialization. The question of the prison cannot be resolved or even posed in terms of a simple penal theory. Neither can it be posed in tems of a psychology or sociology of crime. The question of the role and possible disappearance of the prison can only be posed in terms of an economy and a politics, that is, a political economy of illegalisms.