The Criminal Code was adapted for the screen by Seton I. Miller and Fred Niblo, Jr., son of director Fred Niblo.
The Criminal Code was the first of Hawks' four collaborations with Harry Cohn, the others being Twentieth Century, Only Angels Have Wings and His Girl Friday.