PurposeThis paper explores different approaches to regulating corporate social responsibility (CSR) patterns of adopting codes of conduct, and discusses the approach that courts should embrace.Design/methodology/approachCase studies from various legal systems will be examined. The paper presents new typology relating to different patterns of the Corporate Social Performance (CSP) model, based on aspects of the CSR pyramid, namely, legislative CSR and ethical CSR. Legislative CSR includes adoption of thin codes which reflect compliance within current legal standards of the criminal code, while ethical CSR includes codes reflecting ethical norms and corporate social citizenship beyond mere compliance. The paper also includes the interplay of different patterns of CSR and three approaches to regulation regarding these patterns.FindingsBoth the Israeli negative CSR regulatory approach and the American legislative CSR regulatory approach present difficulties.Originality/valueThe paper introduces a theory for regulating CSR within criminal law, drawing on the pyramid of CSR. It presents an original discussion of distinct approaches to regulation of corporate liability, while further developing the institutional theory of CSR and the interplay of regulation and CSR. The paper suggests a novel solution regarding the regulation and acceptance of CSR: the granting of protection from criminal liability to corporations who adopt CSR.