The aim of this study is to discuss the idea that the legal cost of environmental violations, along with reputational concerns, may persuade firms to generate more green patents.