This document presents a case study analyzing pathways to transition the energy system of Greater Cairo, Egypt's largest megacity, under different socioeconomic and emissions reduction scenarios through 2050. The study uses the TIMES modeling framework to assess scenarios involving increasing or decreasing the percentage of inhabitants in informal settlements over time. Modeling results show that improving quality of life increases energy consumption but renewable energy and energy efficiency can help meet rising demand while reducing emissions. Data availability remains a challenge for comprehensive energy planning in megacities.