The highly pathogenic avian influenza (HPAI) H5N8 virus was first detected in Egypt in late 2016. Since then, the virus has spread rapidly among different poultry sectors, becoming the dominant HPAI H5 subtype reported in Egypt. Different genotypes of the HPAI H5N8 virus were reported in Egypt; however, the geographic patterns and molecular evolution of the Egyptian HPAI H5N8 viruses are still unclear. Here, extensive epidemiological surveillance was conducted, including more than half a million samples collected from different poultry sectors (farms/backyards/live bird markets) from all governorates in Egypt during 2019-2021. In addition, genetic characterization and evolutionary analyses were performed using 47 selected positive H5N8 isolates obtained during the same period. The result of the conducted surveillance showed that HPAI H5N8 viruses of clade 2.3.4.4b continue to circulate in different locations in Egypt, with an obvious seasonal pattern, and no further detection of the HPAI H5N1 virus of clade 2.2.1.2 was observed in the poultry population during 2019-2021. In addition, phylogenetic and Bayesian analyses revealed that two major genotypes (G5 and G6) of HPAI H5N8 viruses were continually expanding among the poultry sectors in Egypt. Notably, molecular dating analysis suggested that the Egyptian HPAI H5N8 virus is the potential ancestral viruses of the European H5N8 viruses of 2020-2021. In summary, the data of this study highlight the current epidemiology, diversity, and evolution of HPAI H5N8 viruses in Egypt and call for continuous monitoring of the genetic features of the avian influenza viruses in Egypt.