I assert that air pollution in the form of nitrogen oxides affects the cognitive productivity of lawyers, judges, and prosecutors participating in Mexican court hearings. This is the first article to document an effect of nitrogen oxides on labor productivity, and the first to study the effect of pollution on judicial employees. I analyze the connection between both variables by merging hourly pollution measures with granular hearing data under the assumption that the length of the hearing approximates the productivity of partaking workers. The study uses panel and instrumental variable techniques to identify the causal relationship between both variables. In the preferred specification, one standard deviation increase of nitrogen oxides increases the length of judicial hearings by 3.68 percent.