This paper conducts a novel empirical analysis of the effect of environmental regulation on local pollution emissions by taking 84 cases of local legislation among 31 provinces in China during 1990–2009. We combine the matching methodology and difference-in-difference method to estimate the causal effect of provincial environmental legislation. Our estimation uncovers that there is no significant pollution abatement effect, however, environmental legislation helps to decrease local pollution emission only for those provinces that have stricter enforcement. Such results remain robust while considering the time lag effect, different types of pollutants, choice of different comparison groups and using of synthetic control method. Generally, our study shows the importance of the enforcement for environmental legislation in China.