The present research analyses how Corporate Social Responsibility (CSR) practices affect Green Innovation Performance (GIP) in the Spanish wine industry. To this end, a conceptual model is proposed and contrasted through a quantitative approach based on structural equation modeling with data collected from 202 Spanish wineries between September 2021 and January 2022. The results of the research indicate that there is a positive and significant relationship between CSR and GIP. In addition, Green Intellectual Capital (GIC) and Knowledge Management (KM) partially mediate the relationship between these two variables, playing a key role in the environmental management of wineries. The present research therefore contributes to the literature in several ways. First, the study advances the understanding of CSR in the Spanish wine industry, as well as its relationship with GIP. Second, the research aims to fill a gap in the literature by studying GIC and KM as mediating variables in this link, given that, to our knowledge, there are no previous studies that have analyzed mediating variables in the CSR–GIP relationship. Third, to the best of our knowledge, the proposed model has not been previously addressed in the academic literature, which represents an advance in scientific knowledge. [EconLit citations: L66, 03, M1].