Abstract. Urban areas and industrial facilities, which concentrate the majority of human activity and industrial production, are major sources of air pollutants, with serious implications for human health and global climate. For most of these pollutants, emission inventories are often highly uncertain, especially in developing countries. Spaceborne measurements from the TROPOMI instrument, on board the Sentinel-5 Precursor satellite, are used to retrieve nitrogen dioxide (NO2) column densities at high spatial resolution. Here, we use 2 years of TROPOMI retrievals to map nitrogen oxide (NOx = NO + NO2) emissions in Egypt with a top-down approach using the continuity equation in steady state. Emissions are expressed as the sum of a transport term and a sink term representing the three-body reaction comprising NO2 and hydroxyl radical (OH). This sink term requires information on the lifetime of NO2, which is calculated with the use of the CAMS near-real-time temperature and OH concentration fields. We compare this derived lifetime with the lifetime inferred from the fitting of NO2 line density profiles in large plumes with an exponentially modified Gaussian function. This comparison, which is conducted for different samples of NO2 patterns above the city of Riyadh, provides information on the reliability of the CAMS near-real-time OH concentration fields; it also provides some hint on the vertical levels that best represent typical pollution sources in industrial areas and megacities in the Middle East region. In Egypt, total emissions of NOx are dominated by the sink term, but they can be locally dominated by wind transport, especially along the Nile where human activities are concentrated. Megacities and industrial regions clearly appear as the largest sources of NOx emissions in the country. Our top-down model infers emissions with a marked annual variability. By looking at the spatial distribution of emissions at the scale of different cities with different industrial characteristics, it appears that this variability is consistent with national electricity consumption. We detect lower emissions on Fridays, which are inherent to the social norm of the country, and quantify the drop in emissions in 2020 due to the COVID-19 pandemic. Overall, our estimations of NOx emissions for Egypt are 7.0 % higher than the CAMS-GLOB-ANT_v4.2 inventory and significantly differ in terms of seasonality.