Emission regulations become more prevalent in developing countries, but they may be compromised by corruption. This paper documents the prevalence of corruption and the effectiveness of vehicle emission regulations in Mexico City. I develop a statistical test for identifying a specific type of cheating that involves bribing center technicians. I also estimate a structural model of car owner retesting and cheating decisions. Results suggest that 9.6 percent of car owners paid US$20 to circumvent the regulation. Eliminating cheating and increasing the cost of retests would reduce emissions by 3,708 tons at a high cost for vehicle owners.