AbstractCrime is the result of a rational distinctive balance between the benefits and costs of an illegal act. This idea was proposed by Becker more than forty years ago (Becker (1968) [1]). In this paper, we simulate a simple artificial society, in which agents earn fixed wages and can augment (or lose) wealth as a result of a successful (or not) act of crime. The probability of apprehension depends on the gravity of the crime, and the punishment takes the form of imprisonment and fines. We study the costs of the law enforcement system required for keeping crime within acceptable limits, and compare it with the harm produced by crime. A sharp phase transition is observed as a function of the probability of punishment, and this transition ...