The paper delves into the interplay between environmental regulations, technological advancement, and enterprise productivity in China's evolving economic landscape. Against the backdrop of escalating environmental pollution and its adverse economic consequences, this study highlights the urgent need to balance economic growth and ecological well-being. The paper critically evaluates the multifaceted challenges posed by environmental degradation, acknowledging its toll on GDP and societal welfare. In a comprehensive exploration, the study leverages A-share listed industrial enterprises' data from 2012 to 2017 to investigate the ramifications of China's new Environmental Protection Law. Utilizing the Difference-in-Differences methodology, the research uncovers a nuanced relationship between the law's implementation and enterprise total factor productivity (TFP). Initial findings indicate a short-term inhibitory effect on TFP, which gradually attenuates over time, reflecting a nonlinear impact of environmental regulations on enterprise performance. The paper unravels three mechanisms through which the law influences TFP: constraining technology Research and Development (R&D) input, impacting enterprise fixed investment and government subsidies, and mediating through government subsidies to shape enterprise R&D input and TFP. By dissecting these mechanisms, the study advances our understanding of how environmental governance, enterprise behavior, and technological innovation influence productivity outcomes. Theoretical implications underscore the need for a sophisticated and context-sensitive approach to policy evaluation, enriching the discourse on the intricate relationships between environmental regulations, technological innovation, and economic outcomes. Moreover, the paper offers valuable managerial insights, emphasizing the importance of strategic management of R&D investment, fixed asset allocation, and reliance on government subsidies in the face of evolving regulatory frameworks.