<p>This paper seeks to reflect on the legal framework which allowed the Federal District government not only incorporate the issue of climate change on the political agenda but also designing and implementing specific actions to reduce emissions of greenhouse gases and promote adaptation to the effects of climate change. For its compliance a documental review was conducted, supplemented with some interviews. The city government had a legal framework at the federal and local levels in the environment and in particular, in relation to air quality that allowed it to address the problem of climate change. Recently the government authorities of Mexico City have been given the task of creating a legal framework which establishes the attributions and competences of government organizations on climate change.</p>