At the dawn of the twenty-first century, one of the major problems of mankind is to combine the energy, the respect for environment. A problem of sustainable development has been clearly demonstrated in the Earth Summit in RIO (2012). Among the major battles to be fought in this century for the survival of the planet is to include energy efficiency as an international political priority, reduce emissions of greenhouse gases. Renewable energy, inexhaustible, clean, are needed in these conditions as a priority.As part of its energy strategy, Morocco gives priority to the development of renewable energy and to the sustainable development.The Moroccan Law on Renewable Energy aims to promote energy production from renewable sources, its marketing and its export by public or private entities.The Law of Energy Efficiency aims to integrate energy efficiency techniques in a sustainable manner.It is created under Law No. 57-09 “a Moroccan Agency for Solar Energy” aimed to achieve a developmentprogram of integrated projects for generating electricity from solar energy, with a minimum total capacity of 2000 MW.