This study measures the environmental regulation effect and pattern of carbon emission and energy efficiency through data envelopment analysis and econometric estimation. One of the most important ways to achieve a green transition is promoting technical progress through environmental regulation. Though China has witnessed rapid economic growth over the last two decades, the country can improve it further through adopting sustainable green energy and establishing more energy-efficient industries to strike a good balance between economic and social developments. The oil and carbon dioxide emission perfor-mances form the most important metrics. This study uses panel data from 30 Chinese provinces from 2008 to 2017 to assess the effect of environmental regulation on energy production. The nonradial directional distance function (NDDF) is used to measure the total factor energy efficiency index (TFEEI). The panel system GMM model, which can effectively address endogenous problems and regional variability, is utilized to research the nonlinear relationship between environmental regulations and EEI under various environmental regulations to study it. The findings reveal a considerably modest total average EEI amount for energy-intensive industries, averaging between 0.55 and 0.58, which is way below the ideal value (i.e., 1). Furthermore, the results of the dynamic panel data model revealed a significant U-shaped relationship between China'sEEI andenvironmental regulation. The results show that as the values of market-based environmental regulations (MERs) and command and control environmental regulations (CCERs) exceed the corresponding levels, the impact of environmental regulation on the TFEEI increases gradually. This study will aid policymakers in better understanding the efficacy of different levels of environmental regulations to make more educated decisions.