Morocco's commitment to the Marrakech and Paris Agreements' sustainability goals necessitates the implementation of Net Zero Energy Building (NZEB) initiatives to mitigate climate change and promote sustainable development for the built environment industry. Utilizing Morocco's abundant solar resources, NZEBs aim to minimize energy use and carbon emissions in buildings, aligning with global climate objectives and enhancing economic stability through reduced energy costs. This approach aids Morocco in adapting to climate change and achieving international financial and environmental targets. This paper explores Morocco's energy strategy and the regulatory framework for Nearly Zero Energy Buildings, providing a NZEB definition, assessment metrics, and performance indicators, while addressing the challenges posed by existing laws on energy-efficient buildings.