The common argument to explain codification of criminal sanctions is departing from arbitrary sentencing. By limiting judicial discretion, sentencing codification should reduce disparity. By a simple theoretical model, we show that strategic judicial behavior can actually undermine statutory sentencing, thus producing more rather than less variance in severity of punishment.