A criminal code or penal code is a document that compiles all, or a significant amount of, a particular jurisdiction's criminal law. Typically a criminal code will contain offences that are recognised in the jurisdiction, penalties that might be imposed for these offences, and some general provisions.